Documentation ¶
Overview ¶
+groupName=image.linode.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 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 ImageSpecResource ¶
type ImageSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // When this Image was created. // +optional Created *string `json:"created,omitempty" tf:"created"` // The name of the User who created this Image. // +optional CreatedBy *string `json:"createdBy,omitempty" tf:"created_by"` // Whether or not this Image is deprecated. Will only be True for deprecated public Images. // +optional Deprecated *bool `json:"deprecated,omitempty" tf:"deprecated"` // A detailed description of this Image. // +optional Description *string `json:"description,omitempty" tf:"description"` // The ID of the Linode Disk that this Image will be created from. // +optional DiskID *int64 `json:"diskID,omitempty" tf:"disk_id"` // Only Images created automatically (from a deleted Linode; type=automatic) will expire. // +optional Expiry *string `json:"expiry,omitempty" tf:"expiry"` // The MD5 hash of the image file. // +optional FileHash *string `json:"fileHash,omitempty" tf:"file_hash"` // The name of the file to upload to this image. // +optional FilePath *string `json:"filePath,omitempty" tf:"file_path"` // True if the Image is public. // +optional IsPublic *bool `json:"isPublic,omitempty" tf:"is_public"` // A short description of the Image. Labels cannot contain special characters. Label *string `json:"label" tf:"label"` // The ID of the Linode that this Image will be created from. // +optional LinodeID *int64 `json:"linodeID,omitempty" tf:"linode_id"` // The region to upload to. // +optional Region *string `json:"region,omitempty" tf:"region"` // The minimum size this Image needs to deploy. Size is in MB. // +optional Size *int64 `json:"size,omitempty" tf:"size"` // The current status of this Image. // +optional Status *string `json:"status,omitempty" tf:"status"` // How the Image was created. 'Manual' Images can be created at any time. 'Automatic' images are created automatically from a deleted Linode. // +optional Type *string `json:"type,omitempty" tf:"type"` // The upstream distribution vendor. Nil for private Images. // +optional Vendor *string `json:"vendor,omitempty" tf:"vendor"` }
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.