Documentation
¶
Overview ¶
Package v1beta1 provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.1 DO NOT EDIT.
Index ¶
- Variables
- type SGObjectStorage
- type SGObjectStorageList
- type SGObjectStorageSpec
- type SGObjectStorageSpecAzureBlob
- type SGObjectStorageSpecAzureBlobAzureCredentials
- type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors
- func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors) DeepCopy() *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors
- func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors) DeepCopyInto(out *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors)
- type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey
- func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey) DeepCopy() *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey
- func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey) DeepCopyInto(out *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey)
- type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount
- type SGObjectStorageSpecGcs
- type SGObjectStorageSpecGcsGcpCredentials
- type SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors
- type SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON
- func (in *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON) DeepCopy() *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON
- func (in *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON) DeepCopyInto(out *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON)
- type SGObjectStorageSpecS3
- type SGObjectStorageSpecS3AwsCredentials
- type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors
- type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId
- func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopy() *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId
- func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopyInto(out *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId)
- type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey
- func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopy() *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey
- func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopyInto(out *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey)
- type SGObjectStorageSpecS3Compatible
- type SGObjectStorageSpecS3CompatibleAwsCredentials
- type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors
- func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors) DeepCopy() *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors
- func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors) DeepCopyInto(out *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors)
- type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId
- type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate
- type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "stackgres.io", Version: "v1beta1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type SGObjectStorage ¶
type SGObjectStorage struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
// Spec defines the desired state of a SGObjectStorage.
Spec SGObjectStorageSpec `json:"spec"`
}
SGObjectStorage is the API for creating SgObjectStorage objects.
func (*SGObjectStorage) DeepCopy ¶
func (in *SGObjectStorage) DeepCopy() *SGObjectStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorage.
func (*SGObjectStorage) DeepCopyInto ¶
func (in *SGObjectStorage) DeepCopyInto(out *SGObjectStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGObjectStorage) DeepCopyObject ¶
func (in *SGObjectStorage) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGObjectStorageList ¶
type SGObjectStorageList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []SGObjectStorage `json:"items"`
}
func (*SGObjectStorageList) DeepCopy ¶
func (in *SGObjectStorageList) DeepCopy() *SGObjectStorageList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageList.
func (*SGObjectStorageList) DeepCopyInto ¶
func (in *SGObjectStorageList) DeepCopyInto(out *SGObjectStorageList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SGObjectStorageList) DeepCopyObject ¶
func (in *SGObjectStorageList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SGObjectStorageSpec ¶
type SGObjectStorageSpec struct {
// Azure Blob Storage configuration.
AzureBlob *SGObjectStorageSpecAzureBlob `json:"azureBlob,omitempty"`
// Google Cloud Storage configuration.
Gcs *SGObjectStorageSpecGcs `json:"gcs,omitempty"`
// Amazon Web Services S3 configuration.
S3 *SGObjectStorageSpecS3 `json:"s3,omitempty"`
// AWS S3-Compatible API configuration
S3Compatible *SGObjectStorageSpecS3Compatible `json:"s3Compatible,omitempty"`
// Determine the type of object storage used for storing the base backups and WAL segments.
// Possible values:
// * `s3`: Amazon Web Services S3 (Simple Storage Service).
// * `s3Compatible`: non-AWS services that implement a compatibility API with AWS S3.
// * `gcs`: Google Cloud Storage.
// * `azureBlob`: Microsoft Azure Blob Storage.
Type string `json:"type"`
}
SGObjectStorageSpec defines model for SGObjectStorageSpec.
func (*SGObjectStorageSpec) DeepCopy ¶
func (in *SGObjectStorageSpec) DeepCopy() *SGObjectStorageSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpec.
func (*SGObjectStorageSpec) DeepCopyInto ¶
func (in *SGObjectStorageSpec) DeepCopyInto(out *SGObjectStorageSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecAzureBlob ¶
type SGObjectStorageSpecAzureBlob struct {
// The credentials to access Azure Blob Storage for writing and reading.
AzureCredentials SGObjectStorageSpecAzureBlobAzureCredentials `json:"azureCredentials"`
// Azure Blob Storage bucket name.
Bucket string `json:"bucket"`
}
SGObjectStorageSpecAzureBlob defines model for SGObjectStorageSpecAzureBlob.
func (*SGObjectStorageSpecAzureBlob) DeepCopy ¶
func (in *SGObjectStorageSpecAzureBlob) DeepCopy() *SGObjectStorageSpecAzureBlob
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecAzureBlob.
func (*SGObjectStorageSpecAzureBlob) DeepCopyInto ¶
func (in *SGObjectStorageSpecAzureBlob) DeepCopyInto(out *SGObjectStorageSpecAzureBlob)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecAzureBlobAzureCredentials ¶
type SGObjectStorageSpecAzureBlobAzureCredentials struct {
// Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#secretkeyselector-v1-core)(s) to reference the Secret(s) that contain the information about the `azureCredentials`. . Note that you may use the same or different Secrets for the `storageAccount` and the `accessKey`. In the former case, the `keys` that identify each must be, obviously, different.
SecretKeySelectors *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors `json:"secretKeySelectors,omitempty"`
}
SGObjectStorageSpecAzureBlobAzureCredentials defines model for SGObjectStorageSpecAzureBlobAzureCredentials.
func (*SGObjectStorageSpecAzureBlobAzureCredentials) DeepCopy ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentials) DeepCopy() *SGObjectStorageSpecAzureBlobAzureCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecAzureBlobAzureCredentials.
func (*SGObjectStorageSpecAzureBlobAzureCredentials) DeepCopyInto ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentials) DeepCopyInto(out *SGObjectStorageSpecAzureBlobAzureCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors ¶
type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors struct {
// The [storage account access key](https://docs.microsoft.com/en-us/azure/storage/common/storage-account-keys-manage?tabs=azure-portal).
AccessKey SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey `json:"accessKey"`
// The [Storage Account](https://docs.microsoft.com/en-us/azure/storage/common/storage-account-overview?toc=/azure/storage/blobs/toc.json) that contains the Blob bucket to be used.
StorageAccount SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount `json:"storageAccount"`
}
SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors defines model for SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors) DeepCopy ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors) DeepCopy() *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors) DeepCopyInto ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors) DeepCopyInto(out *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey ¶
type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey defines model for SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey.
func (*SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey) DeepCopy ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey) DeepCopy() *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey.
func (*SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey) DeepCopyInto ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey) DeepCopyInto(out *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsAccessKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount ¶
type SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount defines model for SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount.
func (*SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount) DeepCopy ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount) DeepCopy() *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount.
func (*SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount) DeepCopyInto ¶
func (in *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount) DeepCopyInto(out *SGObjectStorageSpecAzureBlobAzureCredentialsSecretKeySelectorsStorageAccount)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecGcs ¶
type SGObjectStorageSpecGcs struct {
// GCS bucket name.
Bucket string `json:"bucket"`
// The credentials to access GCS for writing and reading.
GcpCredentials SGObjectStorageSpecGcsGcpCredentials `json:"gcpCredentials"`
}
SGObjectStorageSpecGcs defines model for SGObjectStorageSpecGcs.
func (*SGObjectStorageSpecGcs) DeepCopy ¶
func (in *SGObjectStorageSpecGcs) DeepCopy() *SGObjectStorageSpecGcs
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecGcs.
func (*SGObjectStorageSpecGcs) DeepCopyInto ¶
func (in *SGObjectStorageSpecGcs) DeepCopyInto(out *SGObjectStorageSpecGcs)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecGcsGcpCredentials ¶
type SGObjectStorageSpecGcsGcpCredentials struct {
// If true, the credentials will be fetched from the GCE/GKE metadata service and the field `secretKeySelectors` have to be set to null or omitted.
//
// This is useful when running StackGres inside a GKE cluster using [Workload Identity](https://cloud.google.com/kubernetes-engine/docs/how-to/workload-identity).
FetchCredentialsFromMetadataService *bool `json:"fetchCredentialsFromMetadataService,omitempty"`
// A Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#secretkeyselector-v1-core) to reference the Secrets that contain the information about the Service Account to access GCS.
SecretKeySelectors *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors `json:"secretKeySelectors,omitempty"`
}
SGObjectStorageSpecGcsGcpCredentials defines model for SGObjectStorageSpecGcsGcpCredentials.
func (*SGObjectStorageSpecGcsGcpCredentials) DeepCopy ¶
func (in *SGObjectStorageSpecGcsGcpCredentials) DeepCopy() *SGObjectStorageSpecGcsGcpCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecGcsGcpCredentials.
func (*SGObjectStorageSpecGcsGcpCredentials) DeepCopyInto ¶
func (in *SGObjectStorageSpecGcsGcpCredentials) DeepCopyInto(out *SGObjectStorageSpecGcsGcpCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors ¶
type SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors struct {
// A service account key from GCP. In JSON format, as downloaded from the GCP Console.
ServiceAccountJSON SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON `json:"serviceAccountJSON"`
}
SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors defines model for SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors) DeepCopy ¶
func (in *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors) DeepCopy() *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors) DeepCopyInto ¶
func (in *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors) DeepCopyInto(out *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON ¶
type SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON defines model for SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON.
func (*SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON) DeepCopy ¶
func (in *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON) DeepCopy() *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON.
func (*SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON) DeepCopyInto ¶
func (in *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON) DeepCopyInto(out *SGObjectStorageSpecGcsGcpCredentialsSecretKeySelectorsServiceAccountJSON)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3 ¶
type SGObjectStorageSpecS3 struct {
// The credentials to access AWS S3 for writing and reading.
AwsCredentials SGObjectStorageSpecS3AwsCredentials `json:"awsCredentials"`
// AWS S3 bucket name.
Bucket string `json:"bucket"`
// The AWS S3 region. The Region may be detected using s3:GetBucketLocation, but if you wish to avoid giving permissions to this API call or forbid it from the applicable IAM policy, you must then specify this property.
Region *string `json:"region,omitempty"`
// The [Amazon S3 Storage Class](https://aws.amazon.com/s3/storage-classes/) to use for the backup object storage. By default, the `STANDARD` storage class is used. Other supported values include `STANDARD_IA` for Infrequent Access and `REDUCED_REDUNDANCY`.
StorageClass *string `json:"storageClass,omitempty"`
}
SGObjectStorageSpecS3 defines model for SGObjectStorageSpecS3.
func (*SGObjectStorageSpecS3) DeepCopy ¶
func (in *SGObjectStorageSpecS3) DeepCopy() *SGObjectStorageSpecS3
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3.
func (*SGObjectStorageSpecS3) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3) DeepCopyInto(out *SGObjectStorageSpecS3)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3AwsCredentials ¶
type SGObjectStorageSpecS3AwsCredentials struct {
// Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#secretkeyselector-v1-core)(s) to reference the Secrets that contain the information about the `awsCredentials`. Note that you may use the same or different Secrets for the `accessKeyId` and the `secretAccessKey`. In the former case, the `keys` that identify each must be, obviously, different.
SecretKeySelectors SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors `json:"secretKeySelectors"`
}
SGObjectStorageSpecS3AwsCredentials defines model for SGObjectStorageSpecS3AwsCredentials.
func (*SGObjectStorageSpecS3AwsCredentials) DeepCopy ¶
func (in *SGObjectStorageSpecS3AwsCredentials) DeepCopy() *SGObjectStorageSpecS3AwsCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3AwsCredentials.
func (*SGObjectStorageSpecS3AwsCredentials) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3AwsCredentials) DeepCopyInto(out *SGObjectStorageSpecS3AwsCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors ¶
type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors struct {
// AWS [access key ID](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys). For example, `AKIAIOSFODNN7EXAMPLE`.
AccessKeyId SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId `json:"accessKeyId"`
// AWS [secret access key](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys). For example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`.
SecretAccessKey SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey `json:"secretAccessKey"`
}
SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors defines model for SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors) DeepCopy ¶
func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors) DeepCopy() *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors) DeepCopyInto(out *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId ¶
type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId defines model for SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId.
func (*SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopy ¶
func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopy() *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId.
func (*SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopyInto(out *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsAccessKeyId)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey ¶
type SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey defines model for SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey.
func (*SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopy ¶
func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopy() *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey.
func (*SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopyInto(out *SGObjectStorageSpecS3AwsCredentialsSecretKeySelectorsSecretAccessKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3Compatible ¶
type SGObjectStorageSpecS3Compatible struct {
// The credentials to access AWS S3 for writing and reading.
AwsCredentials SGObjectStorageSpecS3CompatibleAwsCredentials `json:"awsCredentials"`
// Bucket name.
Bucket string `json:"bucket"`
// Enable path-style addressing (i.e. `http://s3.amazonaws.com/BUCKET/KEY`) when connecting to an S3-compatible service that lacks support for sub-domain style bucket URLs (i.e. `http://BUCKET.s3.amazonaws.com/KEY`).
//
// Defaults to false.
EnablePathStyleAddressing *bool `json:"enablePathStyleAddressing,omitempty"`
// Overrides the default url to connect to an S3-compatible service.
// For example: `http://s3-like-service:9000`.
Endpoint *string `json:"endpoint,omitempty"`
// The AWS S3 region. The Region may be detected using s3:GetBucketLocation, but if you wish to avoid giving permissions to this API call or forbid it from the applicable IAM policy, you must then specify this property.
Region *string `json:"region,omitempty"`
// The [Amazon S3 Storage Class](https://aws.amazon.com/s3/storage-classes/) to use for the backup object storage. By default, the `STANDARD` storage class is used. Other supported values include `STANDARD_IA` for Infrequent Access and `REDUCED_REDUNDANCY`.
StorageClass *string `json:"storageClass,omitempty"`
}
SGObjectStorageSpecS3Compatible defines model for SGObjectStorageSpecS3Compatible.
func (*SGObjectStorageSpecS3Compatible) DeepCopy ¶
func (in *SGObjectStorageSpecS3Compatible) DeepCopy() *SGObjectStorageSpecS3Compatible
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3Compatible.
func (*SGObjectStorageSpecS3Compatible) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3Compatible) DeepCopyInto(out *SGObjectStorageSpecS3Compatible)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3CompatibleAwsCredentials ¶
type SGObjectStorageSpecS3CompatibleAwsCredentials struct {
// Kubernetes [SecretKeySelector](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.29/#secretkeyselector-v1-core)(s) to reference the Secret(s) that contain the information about the `awsCredentials`. Note that you may use the same or different Secrets for the `accessKeyId` and the `secretAccessKey`. In the former case, the `keys` that identify each must be, obviously, different.
SecretKeySelectors SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors `json:"secretKeySelectors"`
}
SGObjectStorageSpecS3CompatibleAwsCredentials defines model for SGObjectStorageSpecS3CompatibleAwsCredentials.
func (*SGObjectStorageSpecS3CompatibleAwsCredentials) DeepCopy ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentials) DeepCopy() *SGObjectStorageSpecS3CompatibleAwsCredentials
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3CompatibleAwsCredentials.
func (*SGObjectStorageSpecS3CompatibleAwsCredentials) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentials) DeepCopyInto(out *SGObjectStorageSpecS3CompatibleAwsCredentials)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors ¶
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors struct {
// AWS [access key ID](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys). For example, `AKIAIOSFODNN7EXAMPLE`.
AccessKeyId SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId `json:"accessKeyId"`
// CA Certificate file to be used when connecting to the S3 Compatible Service.
CaCertificate *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate `json:"caCertificate,omitempty"`
// AWS [secret access key](https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys). For example, `wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY`.
SecretAccessKey SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey `json:"secretAccessKey"`
}
SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors defines model for SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors) DeepCopy ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors) DeepCopy() *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors) DeepCopyInto(out *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectors)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId ¶
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId defines model for SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopy ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopy() *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId) DeepCopyInto(out *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsAccessKeyId)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate ¶ added in v4.124.0
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate defines model for SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate) DeepCopy ¶ added in v4.124.0
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate) DeepCopy() *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate) DeepCopyInto ¶ added in v4.124.0
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate) DeepCopyInto(out *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsCaCertificate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey ¶
type SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey struct {
// The key of the secret to select from. Must be a valid secret key.
Key string `json:"key"`
// Name of the referent. [More information](https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names).
Name string `json:"name"`
}
SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey defines model for SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopy ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopy() *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey.
func (*SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopyInto ¶
func (in *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey) DeepCopyInto(out *SGObjectStorageSpecS3CompatibleAwsCredentialsSecretKeySelectorsSecretAccessKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.