Documentation ¶
Overview ¶
+groupName=image.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 Image
- func (in *Image) DeepCopy() *Image
- func (in *Image) DeepCopyInto(out *Image)
- func (in *Image) DeepCopyObject() runtime.Object
- func (r *Image) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Image) ValidateCreate() error
- func (r *Image) ValidateDelete() error
- func (r *Image) ValidateUpdate(old runtime.Object) error
- type ImageList
- type ImageSpec
- type ImageSpecDataDisk
- type ImageSpecOsDisk
- type ImageSpecOsDiskCodec
- type ImageSpecResource
- type ImageStatus
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: image.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Kind ¶
Kind takes an unqualified kind and returns a Group qualified GroupKind
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type Image ¶
type Image struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ImageSpec `json:"spec,omitempty"` Status ImageStatus `json:"status,omitempty"` }
func (*Image) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Image.
func (*Image) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Image) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Image) SetupWebhookWithManager ¶
func (*Image) ValidateCreate ¶
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Image) ValidateDelete ¶
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
type ImageList ¶
type ImageList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Image CRD objects Items []Image `json:"items,omitempty"` }
ImageList is a list of Images
func (*ImageList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageList.
func (*ImageList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpec ¶
type ImageSpec struct { State *ImageSpecResource `json:"state,omitempty" tf:"-"` Resource ImageSpecResource `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 (*ImageSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpec.
type ImageSpecDataDisk ¶
type ImageSpecDataDisk struct { // +optional BlobURI *string `json:"blobURI,omitempty" tf:"blob_uri"` // +optional Caching *string `json:"caching,omitempty" tf:"caching"` // +optional Lun *int64 `json:"lun,omitempty" tf:"lun"` // +optional ManagedDiskID *string `json:"managedDiskID,omitempty" tf:"managed_disk_id"` // +optional SizeGb *int64 `json:"sizeGb,omitempty" tf:"size_gb"` }
func (*ImageSpecDataDisk) DeepCopy ¶
func (in *ImageSpecDataDisk) DeepCopy() *ImageSpecDataDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpecDataDisk.
func (*ImageSpecDataDisk) DeepCopyInto ¶
func (in *ImageSpecDataDisk) DeepCopyInto(out *ImageSpecDataDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpecOsDisk ¶
type ImageSpecOsDisk struct { // +optional BlobURI *string `json:"blobURI,omitempty" tf:"blob_uri"` // +optional Caching *string `json:"caching,omitempty" tf:"caching"` // +optional ManagedDiskID *string `json:"managedDiskID,omitempty" tf:"managed_disk_id"` // +optional OsState *string `json:"osState,omitempty" tf:"os_state"` // +optional OsType *string `json:"osType,omitempty" tf:"os_type"` // +optional SizeGb *int64 `json:"sizeGb,omitempty" tf:"size_gb"` }
func (*ImageSpecOsDisk) DeepCopy ¶
func (in *ImageSpecOsDisk) DeepCopy() *ImageSpecOsDisk
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpecOsDisk.
func (*ImageSpecOsDisk) DeepCopyInto ¶
func (in *ImageSpecOsDisk) DeepCopyInto(out *ImageSpecOsDisk)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageSpecOsDiskCodec ¶
type ImageSpecOsDiskCodec struct { }
+k8s:deepcopy-gen=false
func (ImageSpecOsDiskCodec) Decode ¶
func (ImageSpecOsDiskCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
func (ImageSpecOsDiskCodec) Encode ¶
func (ImageSpecOsDiskCodec) Encode(ptr unsafe.Pointer, stream *jsoniter.Stream)
func (ImageSpecOsDiskCodec) IsEmpty ¶
func (ImageSpecOsDiskCodec) IsEmpty(ptr unsafe.Pointer) bool
type ImageSpecResource ¶
type ImageSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // +optional DataDisk []ImageSpecDataDisk `json:"dataDisk,omitempty" tf:"data_disk"` // +optional HyperVGeneration *string `json:"hyperVGeneration,omitempty" tf:"hyper_v_generation"` Location *string `json:"location" tf:"location"` Name *string `json:"name" tf:"name"` // +optional OsDisk *ImageSpecOsDisk `json:"osDisk,omitempty" tf:"os_disk"` ResourceGroupName *string `json:"resourceGroupName" tf:"resource_group_name"` // +optional SourceVirtualMachineID *string `json:"sourceVirtualMachineID,omitempty" tf:"source_virtual_machine_id"` // +optional Tags *map[string]string `json:"tags,omitempty" tf:"tags"` // +optional ZoneResilient *bool `json:"zoneResilient,omitempty" tf:"zone_resilient"` }
func (*ImageSpecResource) DeepCopy ¶
func (in *ImageSpecResource) DeepCopy() *ImageSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSpecResource.
func (*ImageSpecResource) DeepCopyInto ¶
func (in *ImageSpecResource) DeepCopyInto(out *ImageSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ImageStatus ¶
type ImageStatus 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 (*ImageStatus) DeepCopy ¶
func (in *ImageStatus) DeepCopy() *ImageStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStatus.
func (*ImageStatus) DeepCopyInto ¶
func (in *ImageStatus) DeepCopyInto(out *ImageStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.