Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=raft.vault.upbound.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type Autopilot
- func (in *Autopilot) DeepCopy() *Autopilot
- func (in *Autopilot) DeepCopyInto(out *Autopilot)
- func (in *Autopilot) DeepCopyObject() runtime.Object
- func (mg *Autopilot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Autopilot) GetConnectionDetailsMapping() map[string]string
- func (mg *Autopilot) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Autopilot) GetID() string
- func (tr *Autopilot) GetInitParameters() (map[string]any, error)
- func (mg *Autopilot) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Autopilot) GetObservation() (map[string]any, error)
- func (tr *Autopilot) GetParameters() (map[string]any, error)
- func (mg *Autopilot) GetProviderConfigReference() *xpv1.Reference
- func (mg *Autopilot) GetProviderReference() *xpv1.Reference
- func (mg *Autopilot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Autopilot) GetTerraformResourceType() string
- func (tr *Autopilot) GetTerraformSchemaVersion() int
- func (mg *Autopilot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Autopilot) LateInitialize(attrs []byte) (bool, error)
- func (mg *Autopilot) SetConditions(c ...xpv1.Condition)
- func (mg *Autopilot) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Autopilot) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Autopilot) SetObservation(obs map[string]any) error
- func (tr *Autopilot) SetParameters(params map[string]any) error
- func (mg *Autopilot) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Autopilot) SetProviderReference(r *xpv1.Reference)
- func (mg *Autopilot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Autopilot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type AutopilotInitParameters
- type AutopilotList
- type AutopilotObservation
- type AutopilotParameters
- type AutopilotSpec
- type AutopilotStatus
- type SnapshotAgentConfig
- func (in *SnapshotAgentConfig) DeepCopy() *SnapshotAgentConfig
- func (in *SnapshotAgentConfig) DeepCopyInto(out *SnapshotAgentConfig)
- func (in *SnapshotAgentConfig) DeepCopyObject() runtime.Object
- func (mg *SnapshotAgentConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *SnapshotAgentConfig) GetConnectionDetailsMapping() map[string]string
- func (mg *SnapshotAgentConfig) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *SnapshotAgentConfig) GetID() string
- func (tr *SnapshotAgentConfig) GetInitParameters() (map[string]any, error)
- func (mg *SnapshotAgentConfig) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *SnapshotAgentConfig) GetObservation() (map[string]any, error)
- func (tr *SnapshotAgentConfig) GetParameters() (map[string]any, error)
- func (mg *SnapshotAgentConfig) GetProviderConfigReference() *xpv1.Reference
- func (mg *SnapshotAgentConfig) GetProviderReference() *xpv1.Reference
- func (mg *SnapshotAgentConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *SnapshotAgentConfig) GetTerraformResourceType() string
- func (tr *SnapshotAgentConfig) GetTerraformSchemaVersion() int
- func (mg *SnapshotAgentConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *SnapshotAgentConfig) LateInitialize(attrs []byte) (bool, error)
- func (mg *SnapshotAgentConfig) SetConditions(c ...xpv1.Condition)
- func (mg *SnapshotAgentConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *SnapshotAgentConfig) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *SnapshotAgentConfig) SetObservation(obs map[string]any) error
- func (tr *SnapshotAgentConfig) SetParameters(params map[string]any) error
- func (mg *SnapshotAgentConfig) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *SnapshotAgentConfig) SetProviderReference(r *xpv1.Reference)
- func (mg *SnapshotAgentConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *SnapshotAgentConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type SnapshotAgentConfigInitParameters
- type SnapshotAgentConfigList
- type SnapshotAgentConfigObservation
- type SnapshotAgentConfigParameters
- type SnapshotAgentConfigSpec
- type SnapshotAgentConfigStatus
Constants ¶
const ( CRDGroup = "raft.vault.upbound.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( Autopilot_Kind = "Autopilot" Autopilot_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: Autopilot_Kind}.String() Autopilot_KindAPIVersion = Autopilot_Kind + "." + CRDGroupVersion.String() Autopilot_GroupVersionKind = CRDGroupVersion.WithKind(Autopilot_Kind) )
Repository type metadata.
var ( // CRDGroupVersion is the API Group Version used to register the objects CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
var ( SnapshotAgentConfig_Kind = "SnapshotAgentConfig" SnapshotAgentConfig_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: SnapshotAgentConfig_Kind}.String() SnapshotAgentConfig_KindAPIVersion = SnapshotAgentConfig_Kind + "." + CRDGroupVersion.String() SnapshotAgentConfig_GroupVersionKind = CRDGroupVersion.WithKind(SnapshotAgentConfig_Kind) )
Repository type metadata.
Functions ¶
This section is empty.
Types ¶
type Autopilot ¶
type Autopilot struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AutopilotSpec `json:"spec"` Status AutopilotStatus `json:"status,omitempty"` }
Autopilot is the Schema for the Autopilots API. Configures Raft's Autopilot capabilities. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}
func (*Autopilot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Autopilot.
func (*Autopilot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Autopilot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Autopilot) GetCondition ¶
func (mg *Autopilot) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Autopilot.
func (*Autopilot) GetConnectionDetailsMapping ¶
GetConnectionDetailsMapping for this Autopilot
func (*Autopilot) GetDeletionPolicy ¶
func (mg *Autopilot) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Autopilot.
func (*Autopilot) GetInitParameters ¶ added in v0.2.0
GetInitParameters of this Autopilot
func (*Autopilot) GetManagementPolicies ¶ added in v0.2.0
func (mg *Autopilot) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Autopilot.
func (*Autopilot) GetObservation ¶
GetObservation of this Autopilot
func (*Autopilot) GetParameters ¶
GetParameters of this Autopilot
func (*Autopilot) GetProviderConfigReference ¶
GetProviderConfigReference of this Autopilot.
func (*Autopilot) GetProviderReference ¶
GetProviderReference of this Autopilot. Deprecated: Use GetProviderConfigReference.
func (*Autopilot) GetPublishConnectionDetailsTo ¶
func (mg *Autopilot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Autopilot.
func (*Autopilot) GetTerraformResourceType ¶
GetTerraformResourceType returns Terraform resource type for this Autopilot
func (*Autopilot) GetTerraformSchemaVersion ¶
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*Autopilot) GetWriteConnectionSecretToReference ¶
func (mg *Autopilot) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Autopilot.
func (*Autopilot) LateInitialize ¶
LateInitialize this Autopilot using its observed tfState. returns True if there are any spec changes for the resource.
func (*Autopilot) SetConditions ¶
SetConditions of this Autopilot.
func (*Autopilot) SetDeletionPolicy ¶
func (mg *Autopilot) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Autopilot.
func (*Autopilot) SetManagementPolicies ¶ added in v0.2.0
func (mg *Autopilot) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this Autopilot.
func (*Autopilot) SetObservation ¶
SetObservation for this Autopilot
func (*Autopilot) SetParameters ¶
SetParameters for this Autopilot
func (*Autopilot) SetProviderConfigReference ¶
SetProviderConfigReference of this Autopilot.
func (*Autopilot) SetProviderReference ¶
SetProviderReference of this Autopilot. Deprecated: Use SetProviderConfigReference.
func (*Autopilot) SetPublishConnectionDetailsTo ¶
func (mg *Autopilot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Autopilot.
func (*Autopilot) SetWriteConnectionSecretToReference ¶
func (mg *Autopilot) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Autopilot.
type AutopilotInitParameters ¶ added in v0.2.0
type AutopilotInitParameters struct { // quorum is also set. // Specifies whether to remove dead server nodes periodically or when a new server joins. This requires that min-quorum is also set. CleanupDeadServers *bool `json:"cleanupDeadServers,omitempty" tf:"cleanup_dead_servers,omitempty"` // Limit the amount of time a // server can go without leader contact before being considered failed. This only takes // effect when cleanup_dead_servers is set. // Limit the amount of time a server can go without leader contact before being considered failed. This only takes effect when cleanup_dead_servers is set. DeadServerLastContactThreshold *string `json:"deadServerLastContactThreshold,omitempty" tf:"dead_server_last_contact_threshold,omitempty"` // only) // Disables automatically upgrading Vault using autopilot. (Enterprise-only) DisableUpgradeMigration *bool `json:"disableUpgradeMigration,omitempty" tf:"disable_upgrade_migration,omitempty"` // Limit the amount of time a server can go // without leader contact before being considered unhealthy. // Limit the amount of time a server can go without leader contact before being considered unhealthy. LastContactThreshold *string `json:"lastContactThreshold,omitempty" tf:"last_contact_threshold,omitempty"` // Maximum number of log entries in the Raft log // that a server can be behind its leader before being considered unhealthy. // Maximum number of log entries in the Raft log that a server can be behind its leader before being considered unhealthy. MaxTrailingLogs *float64 `json:"maxTrailingLogs,omitempty" tf:"max_trailing_logs,omitempty"` // Minimum number of servers allowed in a cluster before // autopilot can prune dead servers. This should at least be 3. Applicable only for // voting nodes. // Minimum number of servers allowed in a cluster before autopilot can prune dead servers. This should at least be 3. Applicable only for voting nodes. MinQuorum *float64 `json:"minQuorum,omitempty" tf:"min_quorum,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Minimum amount of time a server must be // stable in the 'healthy' state before being added to the cluster. // Minimum amount of time a server must be stable in the 'healthy' state before being added to the cluster. ServerStabilizationTime *string `json:"serverStabilizationTime,omitempty" tf:"server_stabilization_time,omitempty"` }
func (*AutopilotInitParameters) DeepCopy ¶ added in v0.2.0
func (in *AutopilotInitParameters) DeepCopy() *AutopilotInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutopilotInitParameters.
func (*AutopilotInitParameters) DeepCopyInto ¶ added in v0.2.0
func (in *AutopilotInitParameters) DeepCopyInto(out *AutopilotInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutopilotList ¶
type AutopilotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Autopilot `json:"items"` }
AutopilotList contains a list of Autopilots
func (*AutopilotList) DeepCopy ¶
func (in *AutopilotList) DeepCopy() *AutopilotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutopilotList.
func (*AutopilotList) DeepCopyInto ¶
func (in *AutopilotList) DeepCopyInto(out *AutopilotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AutopilotList) DeepCopyObject ¶
func (in *AutopilotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AutopilotList) GetItems ¶
func (l *AutopilotList) GetItems() []resource.Managed
GetItems of this AutopilotList.
type AutopilotObservation ¶
type AutopilotObservation struct { // quorum is also set. // Specifies whether to remove dead server nodes periodically or when a new server joins. This requires that min-quorum is also set. CleanupDeadServers *bool `json:"cleanupDeadServers,omitempty" tf:"cleanup_dead_servers,omitempty"` // Limit the amount of time a // server can go without leader contact before being considered failed. This only takes // effect when cleanup_dead_servers is set. // Limit the amount of time a server can go without leader contact before being considered failed. This only takes effect when cleanup_dead_servers is set. DeadServerLastContactThreshold *string `json:"deadServerLastContactThreshold,omitempty" tf:"dead_server_last_contact_threshold,omitempty"` // only) // Disables automatically upgrading Vault using autopilot. (Enterprise-only) DisableUpgradeMigration *bool `json:"disableUpgradeMigration,omitempty" tf:"disable_upgrade_migration,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Limit the amount of time a server can go // without leader contact before being considered unhealthy. // Limit the amount of time a server can go without leader contact before being considered unhealthy. LastContactThreshold *string `json:"lastContactThreshold,omitempty" tf:"last_contact_threshold,omitempty"` // Maximum number of log entries in the Raft log // that a server can be behind its leader before being considered unhealthy. // Maximum number of log entries in the Raft log that a server can be behind its leader before being considered unhealthy. MaxTrailingLogs *float64 `json:"maxTrailingLogs,omitempty" tf:"max_trailing_logs,omitempty"` // Minimum number of servers allowed in a cluster before // autopilot can prune dead servers. This should at least be 3. Applicable only for // voting nodes. // Minimum number of servers allowed in a cluster before autopilot can prune dead servers. This should at least be 3. Applicable only for voting nodes. MinQuorum *float64 `json:"minQuorum,omitempty" tf:"min_quorum,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Minimum amount of time a server must be // stable in the 'healthy' state before being added to the cluster. // Minimum amount of time a server must be stable in the 'healthy' state before being added to the cluster. ServerStabilizationTime *string `json:"serverStabilizationTime,omitempty" tf:"server_stabilization_time,omitempty"` }
func (*AutopilotObservation) DeepCopy ¶
func (in *AutopilotObservation) DeepCopy() *AutopilotObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutopilotObservation.
func (*AutopilotObservation) DeepCopyInto ¶
func (in *AutopilotObservation) DeepCopyInto(out *AutopilotObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutopilotParameters ¶
type AutopilotParameters struct { // quorum is also set. // Specifies whether to remove dead server nodes periodically or when a new server joins. This requires that min-quorum is also set. // +kubebuilder:validation:Optional CleanupDeadServers *bool `json:"cleanupDeadServers,omitempty" tf:"cleanup_dead_servers,omitempty"` // Limit the amount of time a // server can go without leader contact before being considered failed. This only takes // effect when cleanup_dead_servers is set. // Limit the amount of time a server can go without leader contact before being considered failed. This only takes effect when cleanup_dead_servers is set. // +kubebuilder:validation:Optional DeadServerLastContactThreshold *string `json:"deadServerLastContactThreshold,omitempty" tf:"dead_server_last_contact_threshold,omitempty"` // only) // Disables automatically upgrading Vault using autopilot. (Enterprise-only) // +kubebuilder:validation:Optional DisableUpgradeMigration *bool `json:"disableUpgradeMigration,omitempty" tf:"disable_upgrade_migration,omitempty"` // Limit the amount of time a server can go // without leader contact before being considered unhealthy. // Limit the amount of time a server can go without leader contact before being considered unhealthy. // +kubebuilder:validation:Optional LastContactThreshold *string `json:"lastContactThreshold,omitempty" tf:"last_contact_threshold,omitempty"` // Maximum number of log entries in the Raft log // that a server can be behind its leader before being considered unhealthy. // Maximum number of log entries in the Raft log that a server can be behind its leader before being considered unhealthy. // +kubebuilder:validation:Optional MaxTrailingLogs *float64 `json:"maxTrailingLogs,omitempty" tf:"max_trailing_logs,omitempty"` // Minimum number of servers allowed in a cluster before // autopilot can prune dead servers. This should at least be 3. Applicable only for // voting nodes. // Minimum number of servers allowed in a cluster before autopilot can prune dead servers. This should at least be 3. Applicable only for voting nodes. // +kubebuilder:validation:Optional MinQuorum *float64 `json:"minQuorum,omitempty" tf:"min_quorum,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // Minimum amount of time a server must be // stable in the 'healthy' state before being added to the cluster. // Minimum amount of time a server must be stable in the 'healthy' state before being added to the cluster. // +kubebuilder:validation:Optional ServerStabilizationTime *string `json:"serverStabilizationTime,omitempty" tf:"server_stabilization_time,omitempty"` }
func (*AutopilotParameters) DeepCopy ¶
func (in *AutopilotParameters) DeepCopy() *AutopilotParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutopilotParameters.
func (*AutopilotParameters) DeepCopyInto ¶
func (in *AutopilotParameters) DeepCopyInto(out *AutopilotParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutopilotSpec ¶
type AutopilotSpec struct { v1.ResourceSpec `json:",inline"` ForProvider AutopilotParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider AutopilotInitParameters `json:"initProvider,omitempty"` }
AutopilotSpec defines the desired state of Autopilot
func (*AutopilotSpec) DeepCopy ¶
func (in *AutopilotSpec) DeepCopy() *AutopilotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutopilotSpec.
func (*AutopilotSpec) DeepCopyInto ¶
func (in *AutopilotSpec) DeepCopyInto(out *AutopilotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AutopilotStatus ¶
type AutopilotStatus struct { v1.ResourceStatus `json:",inline"` AtProvider AutopilotObservation `json:"atProvider,omitempty"` }
AutopilotStatus defines the observed state of Autopilot.
func (*AutopilotStatus) DeepCopy ¶
func (in *AutopilotStatus) DeepCopy() *AutopilotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutopilotStatus.
func (*AutopilotStatus) DeepCopyInto ¶
func (in *AutopilotStatus) DeepCopyInto(out *AutopilotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotAgentConfig ¶
type SnapshotAgentConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.intervalSeconds) || has(self.initProvider.intervalSeconds)",message="intervalSeconds is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pathPrefix) || has(self.initProvider.pathPrefix)",message="pathPrefix is a required parameter" // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageType) || has(self.initProvider.storageType)",message="storageType is a required parameter" Spec SnapshotAgentConfigSpec `json:"spec"` Status SnapshotAgentConfigStatus `json:"status,omitempty"` }
SnapshotAgentConfig is the Schema for the SnapshotAgentConfigs API. Creates a Raft Snapshot Agent Configuration for Vault. +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,vault}
func (*SnapshotAgentConfig) DeepCopy ¶
func (in *SnapshotAgentConfig) DeepCopy() *SnapshotAgentConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotAgentConfig.
func (*SnapshotAgentConfig) DeepCopyInto ¶
func (in *SnapshotAgentConfig) DeepCopyInto(out *SnapshotAgentConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotAgentConfig) DeepCopyObject ¶
func (in *SnapshotAgentConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnapshotAgentConfig) GetCondition ¶
func (mg *SnapshotAgentConfig) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) GetConnectionDetailsMapping ¶
func (tr *SnapshotAgentConfig) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this SnapshotAgentConfig
func (*SnapshotAgentConfig) GetDeletionPolicy ¶
func (mg *SnapshotAgentConfig) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) GetID ¶
func (tr *SnapshotAgentConfig) GetID() string
GetID returns ID of underlying Terraform resource of this SnapshotAgentConfig
func (*SnapshotAgentConfig) GetInitParameters ¶ added in v0.2.0
func (tr *SnapshotAgentConfig) GetInitParameters() (map[string]any, error)
GetInitParameters of this SnapshotAgentConfig
func (*SnapshotAgentConfig) GetManagementPolicies ¶ added in v0.2.0
func (mg *SnapshotAgentConfig) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) GetObservation ¶
func (tr *SnapshotAgentConfig) GetObservation() (map[string]any, error)
GetObservation of this SnapshotAgentConfig
func (*SnapshotAgentConfig) GetParameters ¶
func (tr *SnapshotAgentConfig) GetParameters() (map[string]any, error)
GetParameters of this SnapshotAgentConfig
func (*SnapshotAgentConfig) GetProviderConfigReference ¶
func (mg *SnapshotAgentConfig) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) GetProviderReference ¶
func (mg *SnapshotAgentConfig) GetProviderReference() *xpv1.Reference
GetProviderReference of this SnapshotAgentConfig. Deprecated: Use GetProviderConfigReference.
func (*SnapshotAgentConfig) GetPublishConnectionDetailsTo ¶
func (mg *SnapshotAgentConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) GetTerraformResourceType ¶
func (mg *SnapshotAgentConfig) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this SnapshotAgentConfig
func (*SnapshotAgentConfig) GetTerraformSchemaVersion ¶
func (tr *SnapshotAgentConfig) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*SnapshotAgentConfig) GetWriteConnectionSecretToReference ¶
func (mg *SnapshotAgentConfig) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) LateInitialize ¶
func (tr *SnapshotAgentConfig) LateInitialize(attrs []byte) (bool, error)
LateInitialize this SnapshotAgentConfig using its observed tfState. returns True if there are any spec changes for the resource.
func (*SnapshotAgentConfig) SetConditions ¶
func (mg *SnapshotAgentConfig) SetConditions(c ...xpv1.Condition)
SetConditions of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) SetDeletionPolicy ¶
func (mg *SnapshotAgentConfig) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) SetManagementPolicies ¶ added in v0.2.0
func (mg *SnapshotAgentConfig) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) SetObservation ¶
func (tr *SnapshotAgentConfig) SetObservation(obs map[string]any) error
SetObservation for this SnapshotAgentConfig
func (*SnapshotAgentConfig) SetParameters ¶
func (tr *SnapshotAgentConfig) SetParameters(params map[string]any) error
SetParameters for this SnapshotAgentConfig
func (*SnapshotAgentConfig) SetProviderConfigReference ¶
func (mg *SnapshotAgentConfig) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) SetProviderReference ¶
func (mg *SnapshotAgentConfig) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this SnapshotAgentConfig. Deprecated: Use SetProviderConfigReference.
func (*SnapshotAgentConfig) SetPublishConnectionDetailsTo ¶
func (mg *SnapshotAgentConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this SnapshotAgentConfig.
func (*SnapshotAgentConfig) SetWriteConnectionSecretToReference ¶
func (mg *SnapshotAgentConfig) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this SnapshotAgentConfig.
type SnapshotAgentConfigInitParameters ¶ added in v0.2.0
type SnapshotAgentConfigInitParameters struct { // AWS access key ID. // AWS access key ID. AwsAccessKeyID *string `json:"awsAccessKeyId,omitempty" tf:"aws_access_key_id,omitempty"` // S3 bucket to write snapshots to. // S3 bucket to write snapshots to. AwsS3Bucket *string `json:"awsS3Bucket,omitempty" tf:"aws_s3_bucket,omitempty"` // Disable TLS for the S3 endpoint. This // should only be used for testing purposes, typically in conjunction with // aws_s3_endpoint. // Disable TLS for the S3 endpoint. This should only be used for testing purposes. AwsS3DisableTLS *bool `json:"awsS3DisableTls,omitempty" tf:"aws_s3_disable_tls,omitempty"` // Use KMS to encrypt bucket contents. // Use KMS to encrypt bucket contents. AwsS3EnableKMS *bool `json:"awsS3EnableKms,omitempty" tf:"aws_s3_enable_kms,omitempty"` // AWS endpoint. This is typically only set when // using a non-AWS S3 implementation like Minio. // AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio. AwsS3Endpoint *string `json:"awsS3Endpoint,omitempty" tf:"aws_s3_endpoint,omitempty"` // Use the endpoint/bucket URL style // instead of bucket.endpoint. May be needed when setting aws_s3_endpoint. // Use the endpoint/bucket URL style instead of bucket.endpoint. AwsS3ForcePathStyle *bool `json:"awsS3ForcePathStyle,omitempty" tf:"aws_s3_force_path_style,omitempty"` // Use named KMS key, when aws_s3_enable_kms = true // Use named KMS key, when aws_s3_enable_kms=true AwsS3KMSKey *string `json:"awsS3KmsKey,omitempty" tf:"aws_s3_kms_key,omitempty"` // AWS region bucket is in. // AWS region bucket is in. AwsS3Region *string `json:"awsS3Region,omitempty" tf:"aws_s3_region,omitempty"` // Use AES256 to encrypt bucket contents. // Use AES256 to encrypt bucket contents. AwsS3ServerSideEncryption *bool `json:"awsS3ServerSideEncryption,omitempty" tf:"aws_s3_server_side_encryption,omitempty"` // AWS secret access key. // AWS secret access key. AwsSecretAccessKey *string `json:"awsSecretAccessKey,omitempty" tf:"aws_secret_access_key,omitempty"` // AWS session token. // AWS session token. AwsSessionToken *string `json:"awsSessionToken,omitempty" tf:"aws_session_token,omitempty"` // Azure account key. // Azure account key. AzureAccountKey *string `json:"azureAccountKey,omitempty" tf:"azure_account_key,omitempty"` // Azure account name. // Azure account name. AzureAccountName *string `json:"azureAccountName,omitempty" tf:"azure_account_name,omitempty"` // Azure blob environment. // Azure blob environment. AzureBlobEnvironment *string `json:"azureBlobEnvironment,omitempty" tf:"azure_blob_environment,omitempty"` // Azure container name to write // snapshots to. // Azure container name to write snapshots to. AzureContainerName *string `json:"azureContainerName,omitempty" tf:"azure_container_name,omitempty"` // Azure blob storage endpoint. This is typically // only set when using a non-Azure implementation like Azurite. // Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite. AzureEndpoint *string `json:"azureEndpoint,omitempty" tf:"azure_endpoint,omitempty"` // Within the directory or bucket // prefix given by path_prefix, the file or object name of snapshot files // will start with this string. // The file or object name of snapshot files will start with this string. FilePrefix *string `json:"filePrefix,omitempty" tf:"file_prefix,omitempty"` // Disable TLS for the GCS endpoint. This // should only be used for testing purposes, typically in conjunction with // google_endpoint. // Disable TLS for the GCS endpoint. GoogleDisableTLS *bool `json:"googleDisableTls,omitempty" tf:"google_disable_tls,omitempty"` // GCS endpoint. This is typically only set when // using a non-Google GCS implementation like fake-gcs-server. // GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server. GoogleEndpoint *string `json:"googleEndpoint,omitempty" tf:"google_endpoint,omitempty"` // GCS bucket to write snapshots to. // GCS bucket to write snapshots to. GoogleGcsBucket *string `json:"googleGcsBucket,omitempty" tf:"google_gcs_bucket,omitempty"` // Google service account key in JSON format. // The raw value looks like this: // Google service account key in JSON format. GoogleServiceAccountKey *string `json:"googleServiceAccountKey,omitempty" tf:"google_service_account_key,omitempty"` // Time (in seconds) between snapshots. // Number of seconds between snapshots. IntervalSeconds *float64 `json:"intervalSeconds,omitempty" tf:"interval_seconds,omitempty"` // For storage_type = local, the maximum // space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough // space left in this allowance. // The maximum space, in bytes, to use for snapshots. LocalMaxSpace *float64 `json:"localMaxSpace,omitempty" tf:"local_max_space,omitempty"` // <required> – Name of the configuration to modify. // Name of the snapshot agent configuration. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // For storage_type = "local", the directory to // write the snapshots in. For cloud storage types, the bucket prefix to use. // Types azure-s3 and google-gcs require a trailing / (slash). // Types local and aws-s3 the trailing / is optional. // The directory or bucket prefix to to use. PathPrefix *string `json:"pathPrefix,omitempty" tf:"path_prefix,omitempty"` // How many snapshots are to be kept; when writing a // snapshot, if there are more snapshots already stored than this number, the // oldest ones will be deleted. // How many snapshots are to be kept. Retain *float64 `json:"retain,omitempty" tf:"retain,omitempty"` // One of "local", "azure-blob", "aws-s3", // or "google-gcs". The remaining parameters described below are all specific to // the selected storage_type and prefixed accordingly. // What storage service to send snapshots to. One of "local", "azure-blob", "aws-s3", or "google-gcs". StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*SnapshotAgentConfigInitParameters) DeepCopy ¶ added in v0.2.0
func (in *SnapshotAgentConfigInitParameters) DeepCopy() *SnapshotAgentConfigInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotAgentConfigInitParameters.
func (*SnapshotAgentConfigInitParameters) DeepCopyInto ¶ added in v0.2.0
func (in *SnapshotAgentConfigInitParameters) DeepCopyInto(out *SnapshotAgentConfigInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotAgentConfigList ¶
type SnapshotAgentConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []SnapshotAgentConfig `json:"items"` }
SnapshotAgentConfigList contains a list of SnapshotAgentConfigs
func (*SnapshotAgentConfigList) DeepCopy ¶
func (in *SnapshotAgentConfigList) DeepCopy() *SnapshotAgentConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotAgentConfigList.
func (*SnapshotAgentConfigList) DeepCopyInto ¶
func (in *SnapshotAgentConfigList) DeepCopyInto(out *SnapshotAgentConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotAgentConfigList) DeepCopyObject ¶
func (in *SnapshotAgentConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*SnapshotAgentConfigList) GetItems ¶
func (l *SnapshotAgentConfigList) GetItems() []resource.Managed
GetItems of this SnapshotAgentConfigList.
type SnapshotAgentConfigObservation ¶
type SnapshotAgentConfigObservation struct { // AWS access key ID. // AWS access key ID. AwsAccessKeyID *string `json:"awsAccessKeyId,omitempty" tf:"aws_access_key_id,omitempty"` // S3 bucket to write snapshots to. // S3 bucket to write snapshots to. AwsS3Bucket *string `json:"awsS3Bucket,omitempty" tf:"aws_s3_bucket,omitempty"` // Disable TLS for the S3 endpoint. This // should only be used for testing purposes, typically in conjunction with // aws_s3_endpoint. // Disable TLS for the S3 endpoint. This should only be used for testing purposes. AwsS3DisableTLS *bool `json:"awsS3DisableTls,omitempty" tf:"aws_s3_disable_tls,omitempty"` // Use KMS to encrypt bucket contents. // Use KMS to encrypt bucket contents. AwsS3EnableKMS *bool `json:"awsS3EnableKms,omitempty" tf:"aws_s3_enable_kms,omitempty"` // AWS endpoint. This is typically only set when // using a non-AWS S3 implementation like Minio. // AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio. AwsS3Endpoint *string `json:"awsS3Endpoint,omitempty" tf:"aws_s3_endpoint,omitempty"` // Use the endpoint/bucket URL style // instead of bucket.endpoint. May be needed when setting aws_s3_endpoint. // Use the endpoint/bucket URL style instead of bucket.endpoint. AwsS3ForcePathStyle *bool `json:"awsS3ForcePathStyle,omitempty" tf:"aws_s3_force_path_style,omitempty"` // Use named KMS key, when aws_s3_enable_kms = true // Use named KMS key, when aws_s3_enable_kms=true AwsS3KMSKey *string `json:"awsS3KmsKey,omitempty" tf:"aws_s3_kms_key,omitempty"` // AWS region bucket is in. // AWS region bucket is in. AwsS3Region *string `json:"awsS3Region,omitempty" tf:"aws_s3_region,omitempty"` // Use AES256 to encrypt bucket contents. // Use AES256 to encrypt bucket contents. AwsS3ServerSideEncryption *bool `json:"awsS3ServerSideEncryption,omitempty" tf:"aws_s3_server_side_encryption,omitempty"` // AWS secret access key. // AWS secret access key. AwsSecretAccessKey *string `json:"awsSecretAccessKey,omitempty" tf:"aws_secret_access_key,omitempty"` // AWS session token. // AWS session token. AwsSessionToken *string `json:"awsSessionToken,omitempty" tf:"aws_session_token,omitempty"` // Azure account key. // Azure account key. AzureAccountKey *string `json:"azureAccountKey,omitempty" tf:"azure_account_key,omitempty"` // Azure account name. // Azure account name. AzureAccountName *string `json:"azureAccountName,omitempty" tf:"azure_account_name,omitempty"` // Azure blob environment. // Azure blob environment. AzureBlobEnvironment *string `json:"azureBlobEnvironment,omitempty" tf:"azure_blob_environment,omitempty"` // Azure container name to write // snapshots to. // Azure container name to write snapshots to. AzureContainerName *string `json:"azureContainerName,omitempty" tf:"azure_container_name,omitempty"` // Azure blob storage endpoint. This is typically // only set when using a non-Azure implementation like Azurite. // Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite. AzureEndpoint *string `json:"azureEndpoint,omitempty" tf:"azure_endpoint,omitempty"` // Within the directory or bucket // prefix given by path_prefix, the file or object name of snapshot files // will start with this string. // The file or object name of snapshot files will start with this string. FilePrefix *string `json:"filePrefix,omitempty" tf:"file_prefix,omitempty"` // Disable TLS for the GCS endpoint. This // should only be used for testing purposes, typically in conjunction with // google_endpoint. // Disable TLS for the GCS endpoint. GoogleDisableTLS *bool `json:"googleDisableTls,omitempty" tf:"google_disable_tls,omitempty"` // GCS endpoint. This is typically only set when // using a non-Google GCS implementation like fake-gcs-server. // GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server. GoogleEndpoint *string `json:"googleEndpoint,omitempty" tf:"google_endpoint,omitempty"` // GCS bucket to write snapshots to. // GCS bucket to write snapshots to. GoogleGcsBucket *string `json:"googleGcsBucket,omitempty" tf:"google_gcs_bucket,omitempty"` // Google service account key in JSON format. // The raw value looks like this: // Google service account key in JSON format. GoogleServiceAccountKey *string `json:"googleServiceAccountKey,omitempty" tf:"google_service_account_key,omitempty"` ID *string `json:"id,omitempty" tf:"id,omitempty"` // Time (in seconds) between snapshots. // Number of seconds between snapshots. IntervalSeconds *float64 `json:"intervalSeconds,omitempty" tf:"interval_seconds,omitempty"` // For storage_type = local, the maximum // space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough // space left in this allowance. // The maximum space, in bytes, to use for snapshots. LocalMaxSpace *float64 `json:"localMaxSpace,omitempty" tf:"local_max_space,omitempty"` // <required> – Name of the configuration to modify. // Name of the snapshot agent configuration. Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // For storage_type = "local", the directory to // write the snapshots in. For cloud storage types, the bucket prefix to use. // Types azure-s3 and google-gcs require a trailing / (slash). // Types local and aws-s3 the trailing / is optional. // The directory or bucket prefix to to use. PathPrefix *string `json:"pathPrefix,omitempty" tf:"path_prefix,omitempty"` // How many snapshots are to be kept; when writing a // snapshot, if there are more snapshots already stored than this number, the // oldest ones will be deleted. // How many snapshots are to be kept. Retain *float64 `json:"retain,omitempty" tf:"retain,omitempty"` // One of "local", "azure-blob", "aws-s3", // or "google-gcs". The remaining parameters described below are all specific to // the selected storage_type and prefixed accordingly. // What storage service to send snapshots to. One of "local", "azure-blob", "aws-s3", or "google-gcs". StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*SnapshotAgentConfigObservation) DeepCopy ¶
func (in *SnapshotAgentConfigObservation) DeepCopy() *SnapshotAgentConfigObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotAgentConfigObservation.
func (*SnapshotAgentConfigObservation) DeepCopyInto ¶
func (in *SnapshotAgentConfigObservation) DeepCopyInto(out *SnapshotAgentConfigObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotAgentConfigParameters ¶
type SnapshotAgentConfigParameters struct { // AWS access key ID. // AWS access key ID. // +kubebuilder:validation:Optional AwsAccessKeyID *string `json:"awsAccessKeyId,omitempty" tf:"aws_access_key_id,omitempty"` // S3 bucket to write snapshots to. // S3 bucket to write snapshots to. // +kubebuilder:validation:Optional AwsS3Bucket *string `json:"awsS3Bucket,omitempty" tf:"aws_s3_bucket,omitempty"` // Disable TLS for the S3 endpoint. This // should only be used for testing purposes, typically in conjunction with // aws_s3_endpoint. // Disable TLS for the S3 endpoint. This should only be used for testing purposes. // +kubebuilder:validation:Optional AwsS3DisableTLS *bool `json:"awsS3DisableTls,omitempty" tf:"aws_s3_disable_tls,omitempty"` // Use KMS to encrypt bucket contents. // Use KMS to encrypt bucket contents. // +kubebuilder:validation:Optional AwsS3EnableKMS *bool `json:"awsS3EnableKms,omitempty" tf:"aws_s3_enable_kms,omitempty"` // AWS endpoint. This is typically only set when // using a non-AWS S3 implementation like Minio. // AWS endpoint. This is typically only set when using a non-AWS S3 implementation like Minio. // +kubebuilder:validation:Optional AwsS3Endpoint *string `json:"awsS3Endpoint,omitempty" tf:"aws_s3_endpoint,omitempty"` // Use the endpoint/bucket URL style // instead of bucket.endpoint. May be needed when setting aws_s3_endpoint. // Use the endpoint/bucket URL style instead of bucket.endpoint. // +kubebuilder:validation:Optional AwsS3ForcePathStyle *bool `json:"awsS3ForcePathStyle,omitempty" tf:"aws_s3_force_path_style,omitempty"` // Use named KMS key, when aws_s3_enable_kms = true // Use named KMS key, when aws_s3_enable_kms=true // +kubebuilder:validation:Optional AwsS3KMSKey *string `json:"awsS3KmsKey,omitempty" tf:"aws_s3_kms_key,omitempty"` // AWS region bucket is in. // AWS region bucket is in. // +kubebuilder:validation:Optional AwsS3Region *string `json:"awsS3Region,omitempty" tf:"aws_s3_region,omitempty"` // Use AES256 to encrypt bucket contents. // Use AES256 to encrypt bucket contents. // +kubebuilder:validation:Optional AwsS3ServerSideEncryption *bool `json:"awsS3ServerSideEncryption,omitempty" tf:"aws_s3_server_side_encryption,omitempty"` // AWS secret access key. // AWS secret access key. // +kubebuilder:validation:Optional AwsSecretAccessKey *string `json:"awsSecretAccessKey,omitempty" tf:"aws_secret_access_key,omitempty"` // AWS session token. // AWS session token. // +kubebuilder:validation:Optional AwsSessionToken *string `json:"awsSessionToken,omitempty" tf:"aws_session_token,omitempty"` // Azure account key. // Azure account key. // +kubebuilder:validation:Optional AzureAccountKey *string `json:"azureAccountKey,omitempty" tf:"azure_account_key,omitempty"` // Azure account name. // Azure account name. // +kubebuilder:validation:Optional AzureAccountName *string `json:"azureAccountName,omitempty" tf:"azure_account_name,omitempty"` // Azure blob environment. // Azure blob environment. // +kubebuilder:validation:Optional AzureBlobEnvironment *string `json:"azureBlobEnvironment,omitempty" tf:"azure_blob_environment,omitempty"` // Azure container name to write // snapshots to. // Azure container name to write snapshots to. // +kubebuilder:validation:Optional AzureContainerName *string `json:"azureContainerName,omitempty" tf:"azure_container_name,omitempty"` // Azure blob storage endpoint. This is typically // only set when using a non-Azure implementation like Azurite. // Azure blob storage endpoint. This is typically only set when using a non-Azure implementation like Azurite. // +kubebuilder:validation:Optional AzureEndpoint *string `json:"azureEndpoint,omitempty" tf:"azure_endpoint,omitempty"` // Within the directory or bucket // prefix given by path_prefix, the file or object name of snapshot files // will start with this string. // The file or object name of snapshot files will start with this string. // +kubebuilder:validation:Optional FilePrefix *string `json:"filePrefix,omitempty" tf:"file_prefix,omitempty"` // Disable TLS for the GCS endpoint. This // should only be used for testing purposes, typically in conjunction with // google_endpoint. // Disable TLS for the GCS endpoint. // +kubebuilder:validation:Optional GoogleDisableTLS *bool `json:"googleDisableTls,omitempty" tf:"google_disable_tls,omitempty"` // GCS endpoint. This is typically only set when // using a non-Google GCS implementation like fake-gcs-server. // GCS endpoint. This is typically only set when using a non-Google GCS implementation like fake-gcs-server. // +kubebuilder:validation:Optional GoogleEndpoint *string `json:"googleEndpoint,omitempty" tf:"google_endpoint,omitempty"` // GCS bucket to write snapshots to. // GCS bucket to write snapshots to. // +kubebuilder:validation:Optional GoogleGcsBucket *string `json:"googleGcsBucket,omitempty" tf:"google_gcs_bucket,omitempty"` // Google service account key in JSON format. // The raw value looks like this: // Google service account key in JSON format. // +kubebuilder:validation:Optional GoogleServiceAccountKey *string `json:"googleServiceAccountKey,omitempty" tf:"google_service_account_key,omitempty"` // Time (in seconds) between snapshots. // Number of seconds between snapshots. // +kubebuilder:validation:Optional IntervalSeconds *float64 `json:"intervalSeconds,omitempty" tf:"interval_seconds,omitempty"` // For storage_type = local, the maximum // space, in bytes, to use for snapshots. Snapshot attempts will fail if there is not enough // space left in this allowance. // The maximum space, in bytes, to use for snapshots. // +kubebuilder:validation:Optional LocalMaxSpace *float64 `json:"localMaxSpace,omitempty" tf:"local_max_space,omitempty"` // <required> – Name of the configuration to modify. // Name of the snapshot agent configuration. // +kubebuilder:validation:Optional Name *string `json:"name,omitempty" tf:"name,omitempty"` // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The namespace is always relative to the provider's configured namespace. // Available only for Vault Enterprise. // Target namespace. (requires Enterprise) // +kubebuilder:validation:Optional Namespace *string `json:"namespace,omitempty" tf:"namespace,omitempty"` // For storage_type = "local", the directory to // write the snapshots in. For cloud storage types, the bucket prefix to use. // Types azure-s3 and google-gcs require a trailing / (slash). // Types local and aws-s3 the trailing / is optional. // The directory or bucket prefix to to use. // +kubebuilder:validation:Optional PathPrefix *string `json:"pathPrefix,omitempty" tf:"path_prefix,omitempty"` // How many snapshots are to be kept; when writing a // snapshot, if there are more snapshots already stored than this number, the // oldest ones will be deleted. // How many snapshots are to be kept. // +kubebuilder:validation:Optional Retain *float64 `json:"retain,omitempty" tf:"retain,omitempty"` // One of "local", "azure-blob", "aws-s3", // or "google-gcs". The remaining parameters described below are all specific to // the selected storage_type and prefixed accordingly. // What storage service to send snapshots to. One of "local", "azure-blob", "aws-s3", or "google-gcs". // +kubebuilder:validation:Optional StorageType *string `json:"storageType,omitempty" tf:"storage_type,omitempty"` }
func (*SnapshotAgentConfigParameters) DeepCopy ¶
func (in *SnapshotAgentConfigParameters) DeepCopy() *SnapshotAgentConfigParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotAgentConfigParameters.
func (*SnapshotAgentConfigParameters) DeepCopyInto ¶
func (in *SnapshotAgentConfigParameters) DeepCopyInto(out *SnapshotAgentConfigParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotAgentConfigSpec ¶
type SnapshotAgentConfigSpec struct { v1.ResourceSpec `json:",inline"` ForProvider SnapshotAgentConfigParameters `json:"forProvider"` // THIS IS AN ALPHA FIELD. Do not use it in production. It is not honored // unless the relevant Crossplane feature flag is enabled, and may be // changed or removed without notice. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider SnapshotAgentConfigInitParameters `json:"initProvider,omitempty"` }
SnapshotAgentConfigSpec defines the desired state of SnapshotAgentConfig
func (*SnapshotAgentConfigSpec) DeepCopy ¶
func (in *SnapshotAgentConfigSpec) DeepCopy() *SnapshotAgentConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotAgentConfigSpec.
func (*SnapshotAgentConfigSpec) DeepCopyInto ¶
func (in *SnapshotAgentConfigSpec) DeepCopyInto(out *SnapshotAgentConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotAgentConfigStatus ¶
type SnapshotAgentConfigStatus struct { v1.ResourceStatus `json:",inline"` AtProvider SnapshotAgentConfigObservation `json:"atProvider,omitempty"` }
SnapshotAgentConfigStatus defines the observed state of SnapshotAgentConfig.
func (*SnapshotAgentConfigStatus) DeepCopy ¶
func (in *SnapshotAgentConfigStatus) DeepCopy() *SnapshotAgentConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotAgentConfigStatus.
func (*SnapshotAgentConfigStatus) DeepCopyInto ¶
func (in *SnapshotAgentConfigStatus) DeepCopyInto(out *SnapshotAgentConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.