Documentation ¶
Overview ¶
+groupName=snapshot.azurerm.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type Snapshot
- func (in *Snapshot) DeepCopy() *Snapshot
- func (in *Snapshot) DeepCopyInto(out *Snapshot)
- func (in *Snapshot) DeepCopyObject() runtime.Object
- func (r *Snapshot) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Snapshot) ValidateCreate() error
- func (r *Snapshot) ValidateDelete() error
- func (r *Snapshot) ValidateUpdate(old runtime.Object) error
- type SnapshotList
- type SnapshotSpec
- type SnapshotSpecEncryptionSettings
- type SnapshotSpecEncryptionSettingsCodec
- type SnapshotSpecEncryptionSettingsDiskEncryptionKey
- type SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec
- func (SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec) IsEmpty(ptr unsafe.Pointer) bool
- type SnapshotSpecEncryptionSettingsKeyEncryptionKey
- type SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec
- func (SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
- func (SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
- func (SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec) IsEmpty(ptr unsafe.Pointer) bool
- type SnapshotSpecResource
- type SnapshotStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: snapshot.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Snapshot ¶
type Snapshot struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SnapshotSpec `json:"spec,omitempty"` Status SnapshotStatus `json:"status,omitempty"` }
func (*Snapshot) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Snapshot.
func (*Snapshot) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Snapshot) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Snapshot) SetupWebhookWithManager ¶
func (*Snapshot) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Snapshot) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type SnapshotList ¶
type SnapshotList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Snapshot CRD objects Items []Snapshot `json:"items,omitempty"` }
SnapshotList is a list of Snapshots
func (*SnapshotList) DeepCopy ¶
func (in *SnapshotList) DeepCopy() *SnapshotList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotList.
func (*SnapshotList) DeepCopyInto ¶
func (in *SnapshotList) DeepCopyInto(out *SnapshotList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SnapshotList) DeepCopyObject ¶
func (in *SnapshotList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SnapshotSpec ¶
type SnapshotSpec struct { State *SnapshotSpecResource `json:"state,omitempty" tf:"-"` Resource SnapshotSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"` }
func (*SnapshotSpec) DeepCopy ¶
func (in *SnapshotSpec) DeepCopy() *SnapshotSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpec.
func (*SnapshotSpec) DeepCopyInto ¶
func (in *SnapshotSpec) DeepCopyInto(out *SnapshotSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotSpecEncryptionSettings ¶
type SnapshotSpecEncryptionSettings struct { // +optional DiskEncryptionKey *SnapshotSpecEncryptionSettingsDiskEncryptionKey `json:"diskEncryptionKey,omitempty" tf:"disk_encryption_key"` Enabled *bool `json:"enabled" tf:"enabled"` // +optional KeyEncryptionKey *SnapshotSpecEncryptionSettingsKeyEncryptionKey `json:"keyEncryptionKey,omitempty" tf:"key_encryption_key"` }
func (*SnapshotSpecEncryptionSettings) DeepCopy ¶
func (in *SnapshotSpecEncryptionSettings) DeepCopy() *SnapshotSpecEncryptionSettings
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpecEncryptionSettings.
func (*SnapshotSpecEncryptionSettings) DeepCopyInto ¶
func (in *SnapshotSpecEncryptionSettings) DeepCopyInto(out *SnapshotSpecEncryptionSettings)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotSpecEncryptionSettingsCodec ¶
type SnapshotSpecEncryptionSettingsCodec struct { }
+k8s:deepcopy-gen=false
func (SnapshotSpecEncryptionSettingsCodec) Decode ¶
func (SnapshotSpecEncryptionSettingsCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type SnapshotSpecEncryptionSettingsDiskEncryptionKey ¶
type SnapshotSpecEncryptionSettingsDiskEncryptionKey struct { SecretURL *string `json:"secretURL" tf:"secret_url"` SourceVaultID *string `json:"sourceVaultID" tf:"source_vault_id"` }
func (*SnapshotSpecEncryptionSettingsDiskEncryptionKey) DeepCopy ¶
func (in *SnapshotSpecEncryptionSettingsDiskEncryptionKey) DeepCopy() *SnapshotSpecEncryptionSettingsDiskEncryptionKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpecEncryptionSettingsDiskEncryptionKey.
func (*SnapshotSpecEncryptionSettingsDiskEncryptionKey) DeepCopyInto ¶
func (in *SnapshotSpecEncryptionSettingsDiskEncryptionKey) DeepCopyInto(out *SnapshotSpecEncryptionSettingsDiskEncryptionKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec ¶
type SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec struct { }
+k8s:deepcopy-gen=false
func (SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec) Decode ¶
func (SnapshotSpecEncryptionSettingsDiskEncryptionKeyCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type SnapshotSpecEncryptionSettingsKeyEncryptionKey ¶
type SnapshotSpecEncryptionSettingsKeyEncryptionKey struct { KeyURL *string `json:"keyURL" tf:"key_url"` SourceVaultID *string `json:"sourceVaultID" tf:"source_vault_id"` }
func (*SnapshotSpecEncryptionSettingsKeyEncryptionKey) DeepCopy ¶
func (in *SnapshotSpecEncryptionSettingsKeyEncryptionKey) DeepCopy() *SnapshotSpecEncryptionSettingsKeyEncryptionKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpecEncryptionSettingsKeyEncryptionKey.
func (*SnapshotSpecEncryptionSettingsKeyEncryptionKey) DeepCopyInto ¶
func (in *SnapshotSpecEncryptionSettingsKeyEncryptionKey) DeepCopyInto(out *SnapshotSpecEncryptionSettingsKeyEncryptionKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec ¶
type SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec struct { }
+k8s:deepcopy-gen=false
func (SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec) Decode ¶
func (SnapshotSpecEncryptionSettingsKeyEncryptionKeyCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type SnapshotSpecResource ¶
type SnapshotSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` CreateOption *string `json:"createOption" tf:"create_option"` // +optional DiskSizeGb *int64 `json:"diskSizeGb,omitempty" tf:"disk_size_gb"` // +optional EncryptionSettings *SnapshotSpecEncryptionSettings `json:"encryptionSettings,omitempty" tf:"encryption_settings"` Location *string `json:"location" tf:"location"` Name *string `json:"name" tf:"name"` ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"` // +optional SourceResourceID *string `json:"sourceResourceID,omitempty" tf:"source_resource_id"` // +optional SourceURI *string `json:"sourceURI,omitempty" tf:"source_uri"` // +optional StorageAccountID *string `json:"storageAccountID,omitempty" tf:"storage_account_id"` // +optional Tags *map[string]string `json:"tags,omitempty" tf:"tags"` }
func (*SnapshotSpecResource) DeepCopy ¶
func (in *SnapshotSpecResource) DeepCopy() *SnapshotSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotSpecResource.
func (*SnapshotSpecResource) DeepCopyInto ¶
func (in *SnapshotSpecResource) DeepCopyInto(out *SnapshotSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SnapshotStatus ¶
type SnapshotStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*SnapshotStatus) DeepCopy ¶
func (in *SnapshotStatus) DeepCopy() *SnapshotStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SnapshotStatus.
func (*SnapshotStatus) DeepCopyInto ¶
func (in *SnapshotStatus) DeepCopyInto(out *SnapshotStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.