Documentation ¶
Index ¶
- Constants
- Variables
- type AzureStorageSpec
- func (*AzureStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *AzureStorageSpec) GetContainerName() string
- func (x *AzureStorageSpec) GetEndpoint() string
- func (x *AzureStorageSpec) GetHttp() *HTTPConfig
- func (x *AzureStorageSpec) GetMaxRetries() int32
- func (x *AzureStorageSpec) GetMsiResource() string
- func (x *AzureStorageSpec) GetStorageAccountKey() string
- func (x *AzureStorageSpec) GetStorageAccountName() string
- func (x *AzureStorageSpec) GetUserAssignedID() string
- func (cfg *AzureStorageSpec) InitEmptyFields()
- func (*AzureStorageSpec) ProtoMessage()
- func (x *AzureStorageSpec) ProtoReflect() protoreflect.Message
- func (cfg *AzureStorageSpec) RedactSecrets()
- func (cfg *AzureStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *AzureStorageSpec) Reset()
- func (x *AzureStorageSpec) String() string
- func (cfg *AzureStorageSpec) UnredactSecrets(unredacted *AzureStorageSpec) error
- type FilesystemStorageSpec
- func (*FilesystemStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *FilesystemStorageSpec) GetDirectory() string
- func (cfg *FilesystemStorageSpec) InitEmptyFields()
- func (*FilesystemStorageSpec) ProtoMessage()
- func (x *FilesystemStorageSpec) ProtoReflect() protoreflect.Message
- func (cfg *FilesystemStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *FilesystemStorageSpec) Reset()
- func (x *FilesystemStorageSpec) String() string
- type GCSStorageSpec
- func (*GCSStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *GCSStorageSpec) GetBucketName() string
- func (x *GCSStorageSpec) GetServiceAccount() string
- func (cfg *GCSStorageSpec) InitEmptyFields()
- func (*GCSStorageSpec) ProtoMessage()
- func (x *GCSStorageSpec) ProtoReflect() protoreflect.Message
- func (cfg *GCSStorageSpec) RedactSecrets()
- func (cfg *GCSStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *GCSStorageSpec) Reset()
- func (x *GCSStorageSpec) String() string
- func (cfg *GCSStorageSpec) UnredactSecrets(unredacted *GCSStorageSpec) error
- type HTTPConfig
- func (*HTTPConfig) Descriptor() ([]byte, []int)deprecated
- func (x *HTTPConfig) GetExpectContinueTimeout() *durationpb.Duration
- func (x *HTTPConfig) GetIdleConnTimeout() *durationpb.Duration
- func (x *HTTPConfig) GetInsecureSkipVerify() bool
- func (x *HTTPConfig) GetMaxConnsPerHost() int32
- func (x *HTTPConfig) GetMaxIdleConns() int32
- func (x *HTTPConfig) GetMaxIdleConnsPerHost() int32
- func (x *HTTPConfig) GetResponseHeaderTimeout() *durationpb.Duration
- func (x *HTTPConfig) GetTlsHandshakeTimeout() *durationpb.Duration
- func (*HTTPConfig) ProtoMessage()
- func (x *HTTPConfig) ProtoReflect() protoreflect.Message
- func (cfg *HTTPConfig) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *HTTPConfig) Reset()
- func (x *HTTPConfig) String() string
- type S3StorageSpec
- func (*S3StorageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *S3StorageSpec) GetAccessKeyID() string
- func (x *S3StorageSpec) GetBucketName() string
- func (x *S3StorageSpec) GetEndpoint() string
- func (x *S3StorageSpec) GetHttp() *HTTPConfig
- func (x *S3StorageSpec) GetInsecure() bool
- func (x *S3StorageSpec) GetRegion() string
- func (x *S3StorageSpec) GetSecretAccessKey() string
- func (x *S3StorageSpec) GetSignatureVersion() string
- func (x *S3StorageSpec) GetSse() *SSEConfig
- func (cfg *S3StorageSpec) InitEmptyFields()
- func (*S3StorageSpec) ProtoMessage()
- func (x *S3StorageSpec) ProtoReflect() protoreflect.Message
- func (cfg *S3StorageSpec) RedactSecrets()
- func (cfg *S3StorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *S3StorageSpec) Reset()
- func (x *S3StorageSpec) String() string
- func (cfg *S3StorageSpec) UnredactSecrets(unredacted *S3StorageSpec) error
- type SSEConfig
- func (*SSEConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SSEConfig) GetKmsEncryptionContext() string
- func (x *SSEConfig) GetKmsKeyID() string
- func (x *SSEConfig) GetType() string
- func (*SSEConfig) ProtoMessage()
- func (x *SSEConfig) ProtoReflect() protoreflect.Message
- func (cfg *SSEConfig) RedactSecrets()
- func (cfg *SSEConfig) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *SSEConfig) Reset()
- func (x *SSEConfig) String() string
- func (cfg *SSEConfig) UnredactSecrets(unredacted *SSEConfig) error
- type StorageSpec
- func (in *StorageSpec) DeepCopy() *StorageSpec
- func (in *StorageSpec) DeepCopyInto(out *StorageSpec)
- func (*StorageSpec) Descriptor() ([]byte, []int)deprecated
- func (cfg *StorageSpec) FlagSet() *flag.FlagSet
- func (x *StorageSpec) GetAzure() *AzureStorageSpec
- func (x *StorageSpec) GetBackend() string
- func (x *StorageSpec) GetFilesystem() *FilesystemStorageSpec
- func (x *StorageSpec) GetGcs() *GCSStorageSpec
- func (x *StorageSpec) GetRetentionPeriod() *durationpb.Duration
- func (x *StorageSpec) GetS3() *S3StorageSpec
- func (x *StorageSpec) GetSwift() *SwiftStorageSpec
- func (cfg *StorageSpec) InitEmptyFields()
- func (*StorageSpec) ProtoMessage()
- func (x *StorageSpec) ProtoReflect() protoreflect.Message
- func (cfg *StorageSpec) RedactSecrets()
- func (cfg *StorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *StorageSpec) Reset()
- func (x *StorageSpec) String() string
- func (cfg *StorageSpec) UnredactSecrets(unredacted *StorageSpec) error
- type SwiftStorageSpec
- func (*SwiftStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (x *SwiftStorageSpec) GetAuthURL() string
- func (x *SwiftStorageSpec) GetAuthVersion() int32
- func (x *SwiftStorageSpec) GetConnectTimeout() *durationpb.Duration
- func (x *SwiftStorageSpec) GetContainerName() string
- func (x *SwiftStorageSpec) GetDomainID() string
- func (x *SwiftStorageSpec) GetDomainName() string
- func (x *SwiftStorageSpec) GetMaxRetries() int32
- func (x *SwiftStorageSpec) GetPassword() string
- func (x *SwiftStorageSpec) GetProjectDomainID() string
- func (x *SwiftStorageSpec) GetProjectDomainName() string
- func (x *SwiftStorageSpec) GetProjectID() string
- func (x *SwiftStorageSpec) GetProjectName() string
- func (x *SwiftStorageSpec) GetRegionName() string
- func (x *SwiftStorageSpec) GetRequestTimeout() *durationpb.Duration
- func (x *SwiftStorageSpec) GetUserDomainID() string
- func (x *SwiftStorageSpec) GetUserDomainName() string
- func (x *SwiftStorageSpec) GetUserID() string
- func (x *SwiftStorageSpec) GetUsername() string
- func (cfg *SwiftStorageSpec) InitEmptyFields()
- func (cfg *SwiftStorageSpec) LoadFromEnv()
- func (*SwiftStorageSpec) ProtoMessage()
- func (x *SwiftStorageSpec) ProtoReflect() protoreflect.Message
- func (cfg *SwiftStorageSpec) RedactSecrets()
- func (cfg *SwiftStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
- func (x *SwiftStorageSpec) Reset()
- func (x *SwiftStorageSpec) String() string
- func (cfg *SwiftStorageSpec) UnredactSecrets(unredacted *SwiftStorageSpec) error
Constants ¶
View Source
const ( // S3 is the value for the S3 storage backend. S3 = "s3" // GCS is the value for the GCS storage backend. GCS = "gcs" // Azure is the value for the Azure storage backend. Azure = "azure" // Swift is the value for the Openstack Swift storage backend. Swift = "swift" // Filesystem is the value for the filesystem storage backend. Filesystem = "filesystem" SignatureVersionV4 = "v4" SignatureVersionV2 = "v2" // SSEKMS config type constant to configure S3 server side encryption using KMS // https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html SSEKMS = "SSE-KMS" // SSES3 config type constant to configure S3 server side encryption with AES-256 // https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html SSES3 = "SSE-S3" )
cortex storage constants
View Source
const Redacted = "***"
Variables ¶
View Source
var File_github_com_rancher_opni_pkg_apis_storage_v1_storage_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type AzureStorageSpec ¶
type AzureStorageSpec struct { // Azure storage account name StorageAccountName string `protobuf:"bytes,1,opt,name=storageAccountName,proto3" json:"storageAccountName,omitempty"` // Azure storage account key StorageAccountKey string `protobuf:"bytes,2,opt,name=storageAccountKey,proto3" json:"storageAccountKey,omitempty"` // Azure storage container name ContainerName string `protobuf:"bytes,3,opt,name=containerName,proto3" json:"containerName,omitempty"` // Azure storage endpoint suffix without schema. The account name will be // prefixed to this value to create the FQDN Endpoint string `protobuf:"bytes,4,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // Number of retries for recoverable errors MaxRetries int32 `protobuf:"varint,5,opt,name=maxRetries,proto3" json:"maxRetries,omitempty"` // Azure storage MSI resource. Either this or account key must be set. MsiResource string `protobuf:"bytes,6,opt,name=msiResource,proto3" json:"msiResource,omitempty"` // Azure storage MSI resource managed identity client Id. If not supplied system assigned identity is used UserAssignedID string `protobuf:"bytes,7,opt,name=userAssignedID,proto3" json:"userAssignedID,omitempty"` Http *HTTPConfig `protobuf:"bytes,8,opt,name=http,proto3" json:"http,omitempty"` // contains filtered or unexported fields }
func (*AzureStorageSpec) Descriptor
deprecated
func (*AzureStorageSpec) Descriptor() ([]byte, []int)
Deprecated: Use AzureStorageSpec.ProtoReflect.Descriptor instead.
func (*AzureStorageSpec) GetContainerName ¶
func (x *AzureStorageSpec) GetContainerName() string
func (*AzureStorageSpec) GetEndpoint ¶
func (x *AzureStorageSpec) GetEndpoint() string
func (*AzureStorageSpec) GetHttp ¶
func (x *AzureStorageSpec) GetHttp() *HTTPConfig
func (*AzureStorageSpec) GetMaxRetries ¶
func (x *AzureStorageSpec) GetMaxRetries() int32
func (*AzureStorageSpec) GetMsiResource ¶
func (x *AzureStorageSpec) GetMsiResource() string
func (*AzureStorageSpec) GetStorageAccountKey ¶
func (x *AzureStorageSpec) GetStorageAccountKey() string
func (*AzureStorageSpec) GetStorageAccountName ¶
func (x *AzureStorageSpec) GetStorageAccountName() string
func (*AzureStorageSpec) GetUserAssignedID ¶
func (x *AzureStorageSpec) GetUserAssignedID() string
func (*AzureStorageSpec) InitEmptyFields ¶
func (cfg *AzureStorageSpec) InitEmptyFields()
func (*AzureStorageSpec) ProtoMessage ¶
func (*AzureStorageSpec) ProtoMessage()
func (*AzureStorageSpec) ProtoReflect ¶
func (x *AzureStorageSpec) ProtoReflect() protoreflect.Message
func (*AzureStorageSpec) RedactSecrets ¶
func (cfg *AzureStorageSpec) RedactSecrets()
func (*AzureStorageSpec) RegisterFlagsWithPrefix ¶
func (cfg *AzureStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
func (*AzureStorageSpec) Reset ¶
func (x *AzureStorageSpec) Reset()
func (*AzureStorageSpec) String ¶
func (x *AzureStorageSpec) String() string
func (*AzureStorageSpec) UnredactSecrets ¶
func (cfg *AzureStorageSpec) UnredactSecrets(unredacted *AzureStorageSpec) error
type FilesystemStorageSpec ¶
type FilesystemStorageSpec struct { // Local filesystem storage directory. Directory string `protobuf:"bytes,1,opt,name=directory,proto3" json:"directory,omitempty"` // contains filtered or unexported fields }
func (*FilesystemStorageSpec) Descriptor
deprecated
func (*FilesystemStorageSpec) Descriptor() ([]byte, []int)
Deprecated: Use FilesystemStorageSpec.ProtoReflect.Descriptor instead.
func (*FilesystemStorageSpec) GetDirectory ¶
func (x *FilesystemStorageSpec) GetDirectory() string
func (*FilesystemStorageSpec) InitEmptyFields ¶
func (cfg *FilesystemStorageSpec) InitEmptyFields()
func (*FilesystemStorageSpec) ProtoMessage ¶
func (*FilesystemStorageSpec) ProtoMessage()
func (*FilesystemStorageSpec) ProtoReflect ¶
func (x *FilesystemStorageSpec) ProtoReflect() protoreflect.Message
func (*FilesystemStorageSpec) RegisterFlagsWithPrefix ¶
func (cfg *FilesystemStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
func (*FilesystemStorageSpec) Reset ¶
func (x *FilesystemStorageSpec) Reset()
func (*FilesystemStorageSpec) String ¶
func (x *FilesystemStorageSpec) String() string
type GCSStorageSpec ¶
type GCSStorageSpec struct { // GCS bucket name BucketName string `protobuf:"bytes,1,opt,name=bucketName,proto3" json:"bucketName,omitempty"` // JSON representing either a Google Developers Console client_credentials.json file // or a Google Developers service account key file. If empty, fallback to Google default logic. ServiceAccount string `protobuf:"bytes,2,opt,name=serviceAccount,proto3" json:"serviceAccount,omitempty"` // contains filtered or unexported fields }
func (*GCSStorageSpec) Descriptor
deprecated
func (*GCSStorageSpec) Descriptor() ([]byte, []int)
Deprecated: Use GCSStorageSpec.ProtoReflect.Descriptor instead.
func (*GCSStorageSpec) GetBucketName ¶
func (x *GCSStorageSpec) GetBucketName() string
func (*GCSStorageSpec) GetServiceAccount ¶
func (x *GCSStorageSpec) GetServiceAccount() string
func (*GCSStorageSpec) InitEmptyFields ¶
func (cfg *GCSStorageSpec) InitEmptyFields()
func (*GCSStorageSpec) ProtoMessage ¶
func (*GCSStorageSpec) ProtoMessage()
func (*GCSStorageSpec) ProtoReflect ¶
func (x *GCSStorageSpec) ProtoReflect() protoreflect.Message
func (*GCSStorageSpec) RedactSecrets ¶
func (cfg *GCSStorageSpec) RedactSecrets()
func (*GCSStorageSpec) RegisterFlagsWithPrefix ¶
func (cfg *GCSStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
func (*GCSStorageSpec) Reset ¶
func (x *GCSStorageSpec) Reset()
func (*GCSStorageSpec) String ¶
func (x *GCSStorageSpec) String() string
func (*GCSStorageSpec) UnredactSecrets ¶
func (cfg *GCSStorageSpec) UnredactSecrets(unredacted *GCSStorageSpec) error
type HTTPConfig ¶
type HTTPConfig struct { // The time an idle connection will remain idle before closing. IdleConnTimeout *durationpb.Duration `protobuf:"bytes,1,opt,name=idleConnTimeout,proto3" json:"idleConnTimeout,omitempty"` // The amount of time the client will wait for a servers response headers. ResponseHeaderTimeout *durationpb.Duration `protobuf:"bytes,2,opt,name=responseHeaderTimeout,proto3" json:"responseHeaderTimeout,omitempty"` // If the client connects via HTTPS and this option is enabled, the client will accept any certificate and hostname. InsecureSkipVerify bool `protobuf:"varint,3,opt,name=insecureSkipVerify,proto3" json:"insecureSkipVerify,omitempty"` // Maximum time to wait for a TLS handshake. 0 means no limit. TlsHandshakeTimeout *durationpb.Duration `protobuf:"bytes,4,opt,name=tlsHandshakeTimeout,proto3" json:"tlsHandshakeTimeout,omitempty"` // The time to wait for a server's first response headers after fully writing the request headers if the request has an Expect header. 0 to send the request body immediately. ExpectContinueTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=expectContinueTimeout,proto3" json:"expectContinueTimeout,omitempty"` // Maximum number of idle (keep-alive) connections across all hosts. 0 means no limit. MaxIdleConns int32 `protobuf:"varint,6,opt,name=maxIdleConns,proto3" json:"maxIdleConns,omitempty"` // Maximum number of idle (keep-alive) connections to keep per-host. If 0, a built-in default value is used. MaxIdleConnsPerHost int32 `protobuf:"varint,7,opt,name=maxIdleConnsPerHost,proto3" json:"maxIdleConnsPerHost,omitempty"` // Maximum number of connections per host. 0 means no limit. MaxConnsPerHost int32 `protobuf:"varint,8,opt,name=maxConnsPerHost,proto3" json:"maxConnsPerHost,omitempty"` // contains filtered or unexported fields }
func (*HTTPConfig) Descriptor
deprecated
func (*HTTPConfig) Descriptor() ([]byte, []int)
Deprecated: Use HTTPConfig.ProtoReflect.Descriptor instead.
func (*HTTPConfig) GetExpectContinueTimeout ¶
func (x *HTTPConfig) GetExpectContinueTimeout() *durationpb.Duration
func (*HTTPConfig) GetIdleConnTimeout ¶
func (x *HTTPConfig) GetIdleConnTimeout() *durationpb.Duration
func (*HTTPConfig) GetInsecureSkipVerify ¶
func (x *HTTPConfig) GetInsecureSkipVerify() bool
func (*HTTPConfig) GetMaxConnsPerHost ¶
func (x *HTTPConfig) GetMaxConnsPerHost() int32
func (*HTTPConfig) GetMaxIdleConns ¶
func (x *HTTPConfig) GetMaxIdleConns() int32
func (*HTTPConfig) GetMaxIdleConnsPerHost ¶
func (x *HTTPConfig) GetMaxIdleConnsPerHost() int32
func (*HTTPConfig) GetResponseHeaderTimeout ¶
func (x *HTTPConfig) GetResponseHeaderTimeout() *durationpb.Duration
func (*HTTPConfig) GetTlsHandshakeTimeout ¶
func (x *HTTPConfig) GetTlsHandshakeTimeout() *durationpb.Duration
func (*HTTPConfig) ProtoMessage ¶
func (*HTTPConfig) ProtoMessage()
func (*HTTPConfig) ProtoReflect ¶
func (x *HTTPConfig) ProtoReflect() protoreflect.Message
func (*HTTPConfig) RegisterFlagsWithPrefix ¶
func (cfg *HTTPConfig) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
func (*HTTPConfig) Reset ¶
func (x *HTTPConfig) Reset()
func (*HTTPConfig) String ¶
func (x *HTTPConfig) String() string
type S3StorageSpec ¶
type S3StorageSpec struct { // The S3 bucket endpoint. It could be an AWS S3 endpoint listed at // https://docs.aws.amazon.com/general/latest/gr/s3.html or the address of an // S3-compatible service in hostname:port format. Endpoint string `protobuf:"bytes,1,opt,name=endpoint,proto3" json:"endpoint,omitempty"` // S3 region. If unset, the client will issue a S3 GetBucketLocation API call // to autodetect it. Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` // S3 bucket name BucketName string `protobuf:"bytes,3,opt,name=bucketName,proto3" json:"bucketName,omitempty"` // S3 secret access key SecretAccessKey string `protobuf:"bytes,4,opt,name=secretAccessKey,proto3" json:"secretAccessKey,omitempty"` // S3 access key ID AccessKeyID string `protobuf:"bytes,5,opt,name=accessKeyID,proto3" json:"accessKeyID,omitempty"` // If enabled, use http:// for the S3 endpoint instead of https://. This could // be useful in local dev/test environments while using an S3-compatible // backend storage, like Minio. Insecure bool `protobuf:"varint,6,opt,name=insecure,proto3" json:"insecure,omitempty"` // The signature version to use for authenticating against S3. // Supported values are: v4, v2 SignatureVersion string `protobuf:"bytes,7,opt,name=signatureVersion,proto3" json:"signatureVersion,omitempty"` Sse *SSEConfig `protobuf:"bytes,8,opt,name=sse,proto3" json:"sse,omitempty"` Http *HTTPConfig `protobuf:"bytes,9,opt,name=http,proto3" json:"http,omitempty"` // contains filtered or unexported fields }
func (*S3StorageSpec) Descriptor
deprecated
func (*S3StorageSpec) Descriptor() ([]byte, []int)
Deprecated: Use S3StorageSpec.ProtoReflect.Descriptor instead.
func (*S3StorageSpec) GetAccessKeyID ¶
func (x *S3StorageSpec) GetAccessKeyID() string
func (*S3StorageSpec) GetBucketName ¶
func (x *S3StorageSpec) GetBucketName() string
func (*S3StorageSpec) GetEndpoint ¶
func (x *S3StorageSpec) GetEndpoint() string
func (*S3StorageSpec) GetHttp ¶
func (x *S3StorageSpec) GetHttp() *HTTPConfig
func (*S3StorageSpec) GetInsecure ¶
func (x *S3StorageSpec) GetInsecure() bool
func (*S3StorageSpec) GetRegion ¶
func (x *S3StorageSpec) GetRegion() string
func (*S3StorageSpec) GetSecretAccessKey ¶
func (x *S3StorageSpec) GetSecretAccessKey() string
func (*S3StorageSpec) GetSignatureVersion ¶
func (x *S3StorageSpec) GetSignatureVersion() string
func (*S3StorageSpec) GetSse ¶
func (x *S3StorageSpec) GetSse() *SSEConfig
func (*S3StorageSpec) InitEmptyFields ¶
func (cfg *S3StorageSpec) InitEmptyFields()
func (*S3StorageSpec) ProtoMessage ¶
func (*S3StorageSpec) ProtoMessage()
func (*S3StorageSpec) ProtoReflect ¶
func (x *S3StorageSpec) ProtoReflect() protoreflect.Message
func (*S3StorageSpec) RedactSecrets ¶
func (cfg *S3StorageSpec) RedactSecrets()
func (*S3StorageSpec) RegisterFlagsWithPrefix ¶
func (cfg *S3StorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
func (*S3StorageSpec) Reset ¶
func (x *S3StorageSpec) Reset()
func (*S3StorageSpec) String ¶
func (x *S3StorageSpec) String() string
func (*S3StorageSpec) UnredactSecrets ¶
func (cfg *S3StorageSpec) UnredactSecrets(unredacted *S3StorageSpec) error
type SSEConfig ¶
type SSEConfig struct { // Enable AWS Server Side Encryption. Supported values: SSE-KMS, SSE-S3 Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // KMS Key ID used to encrypt objects in S3 KmsKeyID string `protobuf:"bytes,2,opt,name=kmsKeyID,proto3" json:"kmsKeyID,omitempty"` // KMS Encryption Context used for object encryption. It expects a JSON formatted string. KmsEncryptionContext string `protobuf:"bytes,3,opt,name=kmsEncryptionContext,proto3" json:"kmsEncryptionContext,omitempty"` // contains filtered or unexported fields }
func (*SSEConfig) Descriptor
deprecated
func (*SSEConfig) GetKmsEncryptionContext ¶
func (*SSEConfig) GetKmsKeyID ¶
func (*SSEConfig) ProtoMessage ¶
func (*SSEConfig) ProtoMessage()
func (*SSEConfig) ProtoReflect ¶
func (x *SSEConfig) ProtoReflect() protoreflect.Message
func (*SSEConfig) RedactSecrets ¶
func (cfg *SSEConfig) RedactSecrets()
func (*SSEConfig) RegisterFlagsWithPrefix ¶
func (*SSEConfig) UnredactSecrets ¶
type StorageSpec ¶
type StorageSpec struct { Backend string `protobuf:"bytes,1,opt,name=backend,proto3" json:"backend,omitempty"` S3 *S3StorageSpec `protobuf:"bytes,2,opt,name=s3,proto3" json:"s3,omitempty"` Gcs *GCSStorageSpec `protobuf:"bytes,3,opt,name=gcs,proto3" json:"gcs,omitempty"` Azure *AzureStorageSpec `protobuf:"bytes,4,opt,name=azure,proto3" json:"azure,omitempty"` Swift *SwiftStorageSpec `protobuf:"bytes,5,opt,name=swift,proto3" json:"swift,omitempty"` Filesystem *FilesystemStorageSpec `protobuf:"bytes,6,opt,name=filesystem,proto3" json:"filesystem,omitempty"` RetentionPeriod *durationpb.Duration `protobuf:"bytes,7,opt,name=retentionPeriod,proto3" json:"retentionPeriod,omitempty"` // contains filtered or unexported fields }
func (*StorageSpec) DeepCopy ¶
func (in *StorageSpec) DeepCopy() *StorageSpec
func (*StorageSpec) DeepCopyInto ¶
func (in *StorageSpec) DeepCopyInto(out *StorageSpec)
func (*StorageSpec) Descriptor
deprecated
func (*StorageSpec) Descriptor() ([]byte, []int)
Deprecated: Use StorageSpec.ProtoReflect.Descriptor instead.
func (*StorageSpec) FlagSet ¶
func (cfg *StorageSpec) FlagSet() *flag.FlagSet
func (*StorageSpec) GetAzure ¶
func (x *StorageSpec) GetAzure() *AzureStorageSpec
func (*StorageSpec) GetBackend ¶
func (x *StorageSpec) GetBackend() string
func (*StorageSpec) GetFilesystem ¶
func (x *StorageSpec) GetFilesystem() *FilesystemStorageSpec
func (*StorageSpec) GetGcs ¶
func (x *StorageSpec) GetGcs() *GCSStorageSpec
func (*StorageSpec) GetRetentionPeriod ¶
func (x *StorageSpec) GetRetentionPeriod() *durationpb.Duration
func (*StorageSpec) GetS3 ¶
func (x *StorageSpec) GetS3() *S3StorageSpec
func (*StorageSpec) GetSwift ¶
func (x *StorageSpec) GetSwift() *SwiftStorageSpec
func (*StorageSpec) InitEmptyFields ¶
func (cfg *StorageSpec) InitEmptyFields()
func (*StorageSpec) ProtoMessage ¶
func (*StorageSpec) ProtoMessage()
func (*StorageSpec) ProtoReflect ¶
func (x *StorageSpec) ProtoReflect() protoreflect.Message
func (*StorageSpec) RedactSecrets ¶
func (cfg *StorageSpec) RedactSecrets()
func (*StorageSpec) RegisterFlagsWithPrefix ¶
func (cfg *StorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
func (*StorageSpec) Reset ¶
func (x *StorageSpec) Reset()
func (*StorageSpec) String ¶
func (x *StorageSpec) String() string
func (*StorageSpec) UnredactSecrets ¶
func (cfg *StorageSpec) UnredactSecrets(unredacted *StorageSpec) error
type SwiftStorageSpec ¶
type SwiftStorageSpec struct { // OpenStack Swift authentication API version. 0 to autodetect. AuthVersion int32 `protobuf:"varint,1,opt,name=authVersion,proto3" json:"authVersion,omitempty"` // OpenStack Swift authentication URL. AuthURL string `protobuf:"bytes,2,opt,name=authURL,proto3" json:"authURL,omitempty"` // OpenStack Swift username. Username string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"` // OpenStack Swift user's domain name. UserDomainName string `protobuf:"bytes,4,opt,name=userDomainName,proto3" json:"userDomainName,omitempty"` // OpenStack Swift user's domain ID. UserDomainID string `protobuf:"bytes,5,opt,name=userDomainID,proto3" json:"userDomainID,omitempty"` // OpenStack Swift user ID. UserID string `protobuf:"bytes,6,opt,name=userID,proto3" json:"userID,omitempty"` // OpenStack Swift API key. Password string `protobuf:"bytes,7,opt,name=password,proto3" json:"password,omitempty"` // OpenStack Swift user's domain ID. DomainID string `protobuf:"bytes,8,opt,name=domainID,proto3" json:"domainID,omitempty"` // OpenStack Swift user's domain name. DomainName string `protobuf:"bytes,9,opt,name=domainName,proto3" json:"domainName,omitempty"` // OpenStack Swift project ID (v2,v3 auth only). ProjectID string `protobuf:"bytes,10,opt,name=projectID,proto3" json:"projectID,omitempty"` // OpenStack Swift project name (v2,v3 auth only). ProjectName string `protobuf:"bytes,11,opt,name=projectName,proto3" json:"projectName,omitempty"` // ID of the OpenStack Swift project's domain (v3 auth only), only needed // if it differs the from user domain. ProjectDomainID string `protobuf:"bytes,12,opt,name=projectDomainID,proto3" json:"projectDomainID,omitempty"` // Name of the OpenStack Swift project's domain (v3 auth only), only needed // if it differs from the user domain. ProjectDomainName string `protobuf:"bytes,13,opt,name=projectDomainName,proto3" json:"projectDomainName,omitempty"` // OpenStack Swift Region to use (v2,v3 auth only). RegionName string `protobuf:"bytes,14,opt,name=regionName,proto3" json:"regionName,omitempty"` // Name of the OpenStack Swift container to use. The container must already // exist. ContainerName string `protobuf:"bytes,15,opt,name=containerName,proto3" json:"containerName,omitempty"` // Max number of times to retry failed requests. MaxRetries int32 `protobuf:"varint,16,opt,name=maxRetries,proto3" json:"maxRetries,omitempty"` // Time after which a connection attempt is aborted. ConnectTimeout *durationpb.Duration `protobuf:"bytes,17,opt,name=connectTimeout,proto3" json:"connectTimeout,omitempty"` // Time after which an idle request is aborted. The timeout watchdog is reset // each time some data is received, so the timeout triggers after X time no // data is received on a request. RequestTimeout *durationpb.Duration `protobuf:"bytes,18,opt,name=requestTimeout,proto3" json:"requestTimeout,omitempty"` // contains filtered or unexported fields }
func (*SwiftStorageSpec) Descriptor
deprecated
func (*SwiftStorageSpec) Descriptor() ([]byte, []int)
Deprecated: Use SwiftStorageSpec.ProtoReflect.Descriptor instead.
func (*SwiftStorageSpec) GetAuthURL ¶
func (x *SwiftStorageSpec) GetAuthURL() string
func (*SwiftStorageSpec) GetAuthVersion ¶
func (x *SwiftStorageSpec) GetAuthVersion() int32
func (*SwiftStorageSpec) GetConnectTimeout ¶
func (x *SwiftStorageSpec) GetConnectTimeout() *durationpb.Duration
func (*SwiftStorageSpec) GetContainerName ¶
func (x *SwiftStorageSpec) GetContainerName() string
func (*SwiftStorageSpec) GetDomainID ¶
func (x *SwiftStorageSpec) GetDomainID() string
func (*SwiftStorageSpec) GetDomainName ¶
func (x *SwiftStorageSpec) GetDomainName() string
func (*SwiftStorageSpec) GetMaxRetries ¶
func (x *SwiftStorageSpec) GetMaxRetries() int32
func (*SwiftStorageSpec) GetPassword ¶
func (x *SwiftStorageSpec) GetPassword() string
func (*SwiftStorageSpec) GetProjectDomainID ¶
func (x *SwiftStorageSpec) GetProjectDomainID() string
func (*SwiftStorageSpec) GetProjectDomainName ¶
func (x *SwiftStorageSpec) GetProjectDomainName() string
func (*SwiftStorageSpec) GetProjectID ¶
func (x *SwiftStorageSpec) GetProjectID() string
func (*SwiftStorageSpec) GetProjectName ¶
func (x *SwiftStorageSpec) GetProjectName() string
func (*SwiftStorageSpec) GetRegionName ¶
func (x *SwiftStorageSpec) GetRegionName() string
func (*SwiftStorageSpec) GetRequestTimeout ¶
func (x *SwiftStorageSpec) GetRequestTimeout() *durationpb.Duration
func (*SwiftStorageSpec) GetUserDomainID ¶
func (x *SwiftStorageSpec) GetUserDomainID() string
func (*SwiftStorageSpec) GetUserDomainName ¶
func (x *SwiftStorageSpec) GetUserDomainName() string
func (*SwiftStorageSpec) GetUserID ¶
func (x *SwiftStorageSpec) GetUserID() string
func (*SwiftStorageSpec) GetUsername ¶
func (x *SwiftStorageSpec) GetUsername() string
func (*SwiftStorageSpec) InitEmptyFields ¶
func (cfg *SwiftStorageSpec) InitEmptyFields()
func (*SwiftStorageSpec) LoadFromEnv ¶
func (cfg *SwiftStorageSpec) LoadFromEnv()
func (*SwiftStorageSpec) ProtoMessage ¶
func (*SwiftStorageSpec) ProtoMessage()
func (*SwiftStorageSpec) ProtoReflect ¶
func (x *SwiftStorageSpec) ProtoReflect() protoreflect.Message
func (*SwiftStorageSpec) RedactSecrets ¶
func (cfg *SwiftStorageSpec) RedactSecrets()
func (*SwiftStorageSpec) RegisterFlagsWithPrefix ¶
func (cfg *SwiftStorageSpec) RegisterFlagsWithPrefix(prefix string, f *flag.FlagSet)
func (*SwiftStorageSpec) Reset ¶
func (x *SwiftStorageSpec) Reset()
func (*SwiftStorageSpec) String ¶
func (x *SwiftStorageSpec) String() string
func (*SwiftStorageSpec) UnredactSecrets ¶
func (cfg *SwiftStorageSpec) UnredactSecrets(unredacted *SwiftStorageSpec) error
Click to show internal directories.
Click to hide internal directories.