Documentation ¶
Overview ¶
+groupName=stackscript.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 Stackscript
- func (in *Stackscript) DeepCopy() *Stackscript
- func (in *Stackscript) DeepCopyInto(out *Stackscript)
- func (in *Stackscript) DeepCopyObject() runtime.Object
- func (r *Stackscript) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Stackscript) ValidateCreate() error
- func (r *Stackscript) ValidateDelete() error
- func (r *Stackscript) ValidateUpdate(old runtime.Object) error
- type StackscriptList
- type StackscriptSpec
- type StackscriptSpecResource
- type StackscriptSpecUserDefinedFields
- type StackscriptStatus
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: stackscript.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 Stackscript ¶
type Stackscript struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec StackscriptSpec `json:"spec,omitempty"` Status StackscriptStatus `json:"status,omitempty"` }
func (*Stackscript) DeepCopy ¶
func (in *Stackscript) DeepCopy() *Stackscript
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Stackscript.
func (*Stackscript) DeepCopyInto ¶
func (in *Stackscript) DeepCopyInto(out *Stackscript)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Stackscript) DeepCopyObject ¶
func (in *Stackscript) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Stackscript) SetupWebhookWithManager ¶
func (r *Stackscript) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*Stackscript) ValidateCreate ¶
func (r *Stackscript) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Stackscript) ValidateDelete ¶
func (r *Stackscript) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*Stackscript) ValidateUpdate ¶
func (r *Stackscript) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type StackscriptList ¶
type StackscriptList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of Stackscript CRD objects Items []Stackscript `json:"items,omitempty"` }
StackscriptList is a list of Stackscripts
func (*StackscriptList) DeepCopy ¶
func (in *StackscriptList) DeepCopy() *StackscriptList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackscriptList.
func (*StackscriptList) DeepCopyInto ¶
func (in *StackscriptList) DeepCopyInto(out *StackscriptList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*StackscriptList) DeepCopyObject ¶
func (in *StackscriptList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type StackscriptSpec ¶
type StackscriptSpec struct { State *StackscriptSpecResource `json:"state,omitempty" tf:"-"` Resource StackscriptSpecResource `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 (*StackscriptSpec) DeepCopy ¶
func (in *StackscriptSpec) DeepCopy() *StackscriptSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackscriptSpec.
func (*StackscriptSpec) DeepCopyInto ¶
func (in *StackscriptSpec) DeepCopyInto(out *StackscriptSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackscriptSpecResource ¶
type StackscriptSpecResource struct { ID string `json:"id,omitempty" tf:"id,omitempty"` // The date this StackScript was created. // +optional Created *string `json:"created,omitempty" tf:"created"` // Count of currently active, deployed Linodes created from this StackScript. // +optional DeploymentsActive *int64 `json:"deploymentsActive,omitempty" tf:"deployments_active"` // The total number of times this StackScript has been deployed. // +optional DeploymentsTotal *int64 `json:"deploymentsTotal,omitempty" tf:"deployments_total"` // A description for the StackScript. Description *string `json:"description" tf:"description"` // An array of Image IDs representing the Images that this StackScript is compatible for deploying with. Images []string `json:"images" tf:"images"` // This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private. // +optional IsPublic *bool `json:"isPublic,omitempty" tf:"is_public"` // The StackScript's label is for display purposes only. Label *string `json:"label" tf:"label"` // This field allows you to add notes for the set of revisions made to this StackScript. // +optional RevNote *string `json:"revNote,omitempty" tf:"rev_note"` // The script to execute when provisioning a new Linode with this StackScript. Script *string `json:"script" tf:"script"` // The date this StackScript was updated. // +optional Updated *string `json:"updated,omitempty" tf:"updated"` // This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment. // +optional UserDefinedFields []StackscriptSpecUserDefinedFields `json:"userDefinedFields,omitempty" tf:"user_defined_fields"` // The Gravatar ID for the User who created the StackScript. // +optional UserGravatarID *string `json:"userGravatarID,omitempty" tf:"user_gravatar_id"` // The User who created the StackScript. // +optional Username *string `json:"username,omitempty" tf:"username"` }
func (*StackscriptSpecResource) DeepCopy ¶
func (in *StackscriptSpecResource) DeepCopy() *StackscriptSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackscriptSpecResource.
func (*StackscriptSpecResource) DeepCopyInto ¶
func (in *StackscriptSpecResource) DeepCopyInto(out *StackscriptSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackscriptSpecUserDefinedFields ¶
type StackscriptSpecUserDefinedFields struct { // The default value. If not specified, this value will be used. // +optional Default *string `json:"default,omitempty" tf:"default"` // An example value for the field. // +optional Example *string `json:"example,omitempty" tf:"example"` // A human-readable label for the field that will serve as the input prompt for entering the value during deployment. // +optional Label *string `json:"label,omitempty" tf:"label"` // A list of acceptable values for the field in any quantity, combination or order. // +optional ManyOf *string `json:"manyOf,omitempty" tf:"many_of"` // The name of the field. // +optional Name *string `json:"name,omitempty" tf:"name"` // A list of acceptable single values for the field. // +optional OneOf *string `json:"oneOf,omitempty" tf:"one_of"` }
func (*StackscriptSpecUserDefinedFields) DeepCopy ¶
func (in *StackscriptSpecUserDefinedFields) DeepCopy() *StackscriptSpecUserDefinedFields
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackscriptSpecUserDefinedFields.
func (*StackscriptSpecUserDefinedFields) DeepCopyInto ¶
func (in *StackscriptSpecUserDefinedFields) DeepCopyInto(out *StackscriptSpecUserDefinedFields)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type StackscriptStatus ¶
type StackscriptStatus 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 (*StackscriptStatus) DeepCopy ¶
func (in *StackscriptStatus) DeepCopy() *StackscriptStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackscriptStatus.
func (*StackscriptStatus) DeepCopyInto ¶
func (in *StackscriptStatus) DeepCopyInto(out *StackscriptStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.