Documentation ¶
Index ¶
- Constants
- Variables
- type AzureStorageSpec
- func (*AzureStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (in *AzureStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
- 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 (*AzureStorageSpec) ProtoMessage()
- func (x *AzureStorageSpec) ProtoReflect() protoreflect.Message
- func (in *AzureStorageSpec) RedactSecrets()
- func (x *AzureStorageSpec) Reset()
- func (x *AzureStorageSpec) String() string
- func (in *AzureStorageSpec) UnredactSecrets(unredacted *AzureStorageSpec) error
- type Backend
- func (Backend) Descriptor() protoreflect.EnumDescriptor
- func (x Backend) Enum() *Backend
- func (Backend) EnumDescriptor() ([]byte, []int)deprecated
- func (b Backend) MarshalJSON() ([]byte, error)
- func (x Backend) Number() protoreflect.EnumNumber
- func (x Backend) String() string
- func (Backend) Type() protoreflect.EnumType
- func (b *Backend) UnmarshalJSON(data []byte) error
- type FilesystemStorageSpec
- func (*FilesystemStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (in *FilesystemStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *FilesystemStorageSpec) GetDirectory() string
- func (*FilesystemStorageSpec) ProtoMessage()
- func (x *FilesystemStorageSpec) ProtoReflect() protoreflect.Message
- func (x *FilesystemStorageSpec) Reset()
- func (x *FilesystemStorageSpec) String() string
- type GCSStorageSpec
- func (*GCSStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (in *GCSStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *GCSStorageSpec) GetBucketName() string
- func (x *GCSStorageSpec) GetServiceAccount() string
- func (*GCSStorageSpec) ProtoMessage()
- func (x *GCSStorageSpec) ProtoReflect() protoreflect.Message
- func (in *GCSStorageSpec) RedactSecrets()
- func (x *GCSStorageSpec) Reset()
- func (x *GCSStorageSpec) String() string
- func (in *GCSStorageSpec) UnredactSecrets(unredacted *GCSStorageSpec) error
- type HTTPConfig
- func (*HTTPConfig) Descriptor() ([]byte, []int)deprecated
- func (in *HTTPConfig) FlagSet(prefix ...string) *pflag.FlagSet
- 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 (x *HTTPConfig) Reset()
- func (x *HTTPConfig) String() string
- type S3StorageSpec
- func (*S3StorageSpec) Descriptor() ([]byte, []int)deprecated
- func (in *S3StorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
- 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 (*S3StorageSpec) ProtoMessage()
- func (x *S3StorageSpec) ProtoReflect() protoreflect.Message
- func (in *S3StorageSpec) RedactSecrets()
- func (x *S3StorageSpec) Reset()
- func (x *S3StorageSpec) String() string
- func (in *S3StorageSpec) UnredactSecrets(unredacted *S3StorageSpec) error
- type SSEConfig
- func (*SSEConfig) Descriptor() ([]byte, []int)deprecated
- func (in *SSEConfig) FlagSet(prefix ...string) *pflag.FlagSet
- 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 (in *SSEConfig) RedactSecrets()
- func (x *SSEConfig) Reset()
- func (x *SSEConfig) String() string
- func (in *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 (in *StorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
- func (x *StorageSpec) GetAzure() *AzureStorageSpec
- func (x *StorageSpec) GetBackend() Backend
- 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 (*StorageSpec) ProtoMessage()
- func (x *StorageSpec) ProtoReflect() protoreflect.Message
- func (in *StorageSpec) RedactSecrets()
- func (x *StorageSpec) Reset()
- func (x *StorageSpec) String() string
- func (in *StorageSpec) UnredactSecrets(unredacted *StorageSpec) error
- type SwiftStorageSpec
- func (*SwiftStorageSpec) Descriptor() ([]byte, []int)deprecated
- func (in *SwiftStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
- 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 (*SwiftStorageSpec) ProtoMessage()
- func (x *SwiftStorageSpec) ProtoReflect() protoreflect.Message
- func (in *SwiftStorageSpec) RedactSecrets()
- func (x *SwiftStorageSpec) Reset()
- func (x *SwiftStorageSpec) String() string
- func (in *SwiftStorageSpec) UnredactSecrets(unredacted *SwiftStorageSpec) error
Constants ¶
View Source
const ( // S3 is the value for the S3 storage backend. S3 = Backend_s3 // GCS is the value for the GCS storage backend. GCS = Backend_gcs // Azure is the value for the Azure storage backend. Azure = Backend_azure // Swift is the value for the Openstack Swift storage backend. Swift = Backend_swift // Filesystem is the value for the filesystem storage backend. Filesystem = Backend_filesystem )
cortex storage constants
View Source
const Redacted = "***"
todo: remove once alerting apis are using the new code generator
Variables ¶
View Source
var ( Backend_name = map[int32]string{ 0: "filesystem", 1: "s3", 2: "gcs", 3: "azure", 4: "swift", } Backend_value = map[string]int32{ "filesystem": 0, "s3": 1, "gcs": 2, "azure": 3, "swift": 4, } )
Enum value maps for Backend.
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) FlagSet ¶ added in v0.10.0
func (in *AzureStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
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) ProtoMessage ¶
func (*AzureStorageSpec) ProtoMessage()
func (*AzureStorageSpec) ProtoReflect ¶
func (x *AzureStorageSpec) ProtoReflect() protoreflect.Message
func (*AzureStorageSpec) RedactSecrets ¶
func (in *AzureStorageSpec) RedactSecrets()
func (*AzureStorageSpec) Reset ¶
func (x *AzureStorageSpec) Reset()
func (*AzureStorageSpec) String ¶
func (x *AzureStorageSpec) String() string
func (*AzureStorageSpec) UnredactSecrets ¶
func (in *AzureStorageSpec) UnredactSecrets(unredacted *AzureStorageSpec) error
type Backend ¶ added in v0.10.0
type Backend int32
func (Backend) Descriptor ¶ added in v0.10.0
func (Backend) Descriptor() protoreflect.EnumDescriptor
func (Backend) EnumDescriptor
deprecated
added in
v0.10.0
func (Backend) MarshalJSON ¶ added in v0.10.0
func (Backend) Number ¶ added in v0.10.0
func (x Backend) Number() protoreflect.EnumNumber
func (Backend) Type ¶ added in v0.10.0
func (Backend) Type() protoreflect.EnumType
func (*Backend) UnmarshalJSON ¶ added in v0.10.0
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) FlagSet ¶ added in v0.10.0
func (in *FilesystemStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
func (*FilesystemStorageSpec) GetDirectory ¶
func (x *FilesystemStorageSpec) GetDirectory() string
func (*FilesystemStorageSpec) ProtoMessage ¶
func (*FilesystemStorageSpec) ProtoMessage()
func (*FilesystemStorageSpec) ProtoReflect ¶
func (x *FilesystemStorageSpec) ProtoReflect() protoreflect.Message
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) FlagSet ¶ added in v0.10.0
func (in *GCSStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
func (*GCSStorageSpec) GetBucketName ¶
func (x *GCSStorageSpec) GetBucketName() string
func (*GCSStorageSpec) GetServiceAccount ¶
func (x *GCSStorageSpec) GetServiceAccount() string
func (*GCSStorageSpec) ProtoMessage ¶
func (*GCSStorageSpec) ProtoMessage()
func (*GCSStorageSpec) ProtoReflect ¶
func (x *GCSStorageSpec) ProtoReflect() protoreflect.Message
func (*GCSStorageSpec) RedactSecrets ¶
func (in *GCSStorageSpec) RedactSecrets()
func (*GCSStorageSpec) Reset ¶
func (x *GCSStorageSpec) Reset()
func (*GCSStorageSpec) String ¶
func (x *GCSStorageSpec) String() string
func (*GCSStorageSpec) UnredactSecrets ¶
func (in *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) FlagSet ¶ added in v0.10.0
func (in *HTTPConfig) FlagSet(prefix ...string) *pflag.FlagSet
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) 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) FlagSet ¶ added in v0.10.0
func (in *S3StorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
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) ProtoMessage ¶
func (*S3StorageSpec) ProtoMessage()
func (*S3StorageSpec) ProtoReflect ¶
func (x *S3StorageSpec) ProtoReflect() protoreflect.Message
func (*S3StorageSpec) RedactSecrets ¶
func (in *S3StorageSpec) RedactSecrets()
func (*S3StorageSpec) Reset ¶
func (x *S3StorageSpec) Reset()
func (*S3StorageSpec) String ¶
func (x *S3StorageSpec) String() string
func (*S3StorageSpec) UnredactSecrets ¶
func (in *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 (in *SSEConfig) RedactSecrets()
func (*SSEConfig) UnredactSecrets ¶
type StorageSpec ¶
type StorageSpec struct { // Name of the storage backend to use. // +kubebuilder:validation:Schemaless // +kubebuilder:validation:Type:=string Backend Backend `protobuf:"varint,1,opt,name=backend,proto3,enum=storage.Backend" 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"` // Retention period for persisted data. If 0, data will be retained indefinitely. 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) GetAzure ¶
func (x *StorageSpec) GetAzure() *AzureStorageSpec
func (*StorageSpec) GetBackend ¶
func (x *StorageSpec) GetBackend() Backend
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) ProtoMessage ¶
func (*StorageSpec) ProtoMessage()
func (*StorageSpec) ProtoReflect ¶
func (x *StorageSpec) ProtoReflect() protoreflect.Message
func (*StorageSpec) RedactSecrets ¶
func (in *StorageSpec) RedactSecrets()
func (*StorageSpec) Reset ¶
func (x *StorageSpec) Reset()
func (*StorageSpec) String ¶
func (x *StorageSpec) String() string
func (*StorageSpec) UnredactSecrets ¶
func (in *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) FlagSet ¶ added in v0.10.0
func (in *SwiftStorageSpec) FlagSet(prefix ...string) *pflag.FlagSet
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) ProtoMessage ¶
func (*SwiftStorageSpec) ProtoMessage()
func (*SwiftStorageSpec) ProtoReflect ¶
func (x *SwiftStorageSpec) ProtoReflect() protoreflect.Message
func (*SwiftStorageSpec) RedactSecrets ¶
func (in *SwiftStorageSpec) RedactSecrets()
func (*SwiftStorageSpec) Reset ¶
func (x *SwiftStorageSpec) Reset()
func (*SwiftStorageSpec) String ¶
func (x *SwiftStorageSpec) String() string
func (*SwiftStorageSpec) UnredactSecrets ¶
func (in *SwiftStorageSpec) UnredactSecrets(unredacted *SwiftStorageSpec) error
Click to show internal directories.
Click to hide internal directories.