mirror of
https://github.com/kopia/kopia.git
synced 2026-05-24 06:34:46 -04:00
chore(general): correct spelling
This commit is contained in:
@@ -49,8 +49,8 @@ func (c *storageS3Flags) Setup(svc StorageProviderServices, cmd *kingpin.CmdClau
|
||||
|
||||
cmd.Flag("point-in-time", "Use a point-in-time view of the storage repository when supported").PlaceHolder(time.RFC3339).PreAction(pitPreAction).StringVar(&pointInTimeStr)
|
||||
|
||||
cmd.Flag("root-ca-pem-base64", "Certficate authority in-line (base64 enc.)").Envar(svc.EnvName("ROOT_CA_PEM_BASE64")).PreAction(c.preActionLoadPEMBase64).StringVar(&c.rootCaPemBase64)
|
||||
cmd.Flag("root-ca-pem-path", "Certficate authority file path").PreAction(c.preActionLoadPEMPath).StringVar(&c.rootCaPemPath)
|
||||
cmd.Flag("root-ca-pem-base64", "Certificate authority in-line (base64 enc.)").Envar(svc.EnvName("ROOT_CA_PEM_BASE64")).PreAction(c.preActionLoadPEMBase64).StringVar(&c.rootCaPemBase64)
|
||||
cmd.Flag("root-ca-pem-path", "Certificate authority file path").PreAction(c.preActionLoadPEMPath).StringVar(&c.rootCaPemPath)
|
||||
}
|
||||
|
||||
func (c *storageS3Flags) preActionLoadPEMPath(_ *kingpin.ParseContext) error {
|
||||
|
||||
@@ -71,7 +71,7 @@ type Capacity struct {
|
||||
|
||||
// Volume defines disk/volume access API to blob storage.
|
||||
type Volume interface {
|
||||
// Capacity returns the capacity of a given volume.
|
||||
// GetCapacity returns the capacity of a given volume.
|
||||
GetCapacity(ctx context.Context) (Capacity, error)
|
||||
}
|
||||
|
||||
@@ -94,7 +94,7 @@ type Reader interface {
|
||||
// connect to storage.
|
||||
ConnectionInfo() ConnectionInfo
|
||||
|
||||
// Name of the storage used for quick identification by humans.
|
||||
// DisplayName Name of the storage used for quick identification by humans.
|
||||
DisplayName() string
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user