v1alpha1

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2022 License: Apache-2.0 Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

+kubebuilder:object:generate=true +groupName=stackscript.linode.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "stackscript.linode.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
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
)
View Source
var (
	Stackscript_Kind             = "Stackscript"
	Stackscript_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Stackscript_Kind}.String()
	Stackscript_KindAPIVersion   = Stackscript_Kind + "." + CRDGroupVersion.String()
	Stackscript_GroupVersionKind = CRDGroupVersion.WithKind(Stackscript_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Stackscript

type Stackscript struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              StackscriptSpec   `json:"spec"`
	Status            StackscriptStatus `json:"status,omitempty"`
}

Stackscript is the Schema for the Stackscripts API. Manages a Linode StackScript. +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,linode}

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) GetCondition

func (mg *Stackscript) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Stackscript.

func (*Stackscript) GetConnectionDetailsMapping

func (tr *Stackscript) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Stackscript

func (*Stackscript) GetDeletionPolicy

func (mg *Stackscript) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Stackscript.

func (*Stackscript) GetID

func (tr *Stackscript) GetID() string

GetID returns ID of underlying Terraform resource of this Stackscript

func (*Stackscript) GetObservation

func (tr *Stackscript) GetObservation() (map[string]any, error)

GetObservation of this Stackscript

func (*Stackscript) GetParameters

func (tr *Stackscript) GetParameters() (map[string]any, error)

GetParameters of this Stackscript

func (*Stackscript) GetProviderConfigReference

func (mg *Stackscript) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Stackscript.

func (*Stackscript) GetProviderReference

func (mg *Stackscript) GetProviderReference() *xpv1.Reference

GetProviderReference of this Stackscript. Deprecated: Use GetProviderConfigReference.

func (*Stackscript) GetPublishConnectionDetailsTo

func (mg *Stackscript) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Stackscript.

func (*Stackscript) GetTerraformResourceType

func (mg *Stackscript) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Stackscript

func (*Stackscript) GetTerraformSchemaVersion

func (tr *Stackscript) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Stackscript) GetWriteConnectionSecretToReference

func (mg *Stackscript) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Stackscript.

func (*Stackscript) LateInitialize

func (tr *Stackscript) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Stackscript using its observed tfState. returns True if there are any spec changes for the resource.

func (*Stackscript) SetConditions

func (mg *Stackscript) SetConditions(c ...xpv1.Condition)

SetConditions of this Stackscript.

func (*Stackscript) SetDeletionPolicy

func (mg *Stackscript) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Stackscript.

func (*Stackscript) SetObservation

func (tr *Stackscript) SetObservation(obs map[string]any) error

SetObservation for this Stackscript

func (*Stackscript) SetParameters

func (tr *Stackscript) SetParameters(params map[string]any) error

SetParameters for this Stackscript

func (*Stackscript) SetProviderConfigReference

func (mg *Stackscript) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Stackscript.

func (*Stackscript) SetProviderReference

func (mg *Stackscript) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Stackscript. Deprecated: Use SetProviderConfigReference.

func (*Stackscript) SetPublishConnectionDetailsTo

func (mg *Stackscript) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Stackscript.

func (*Stackscript) SetWriteConnectionSecretToReference

func (mg *Stackscript) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Stackscript.

type StackscriptList

type StackscriptList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []Stackscript `json:"items"`
}

StackscriptList contains 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.

func (*StackscriptList) GetItems

func (l *StackscriptList) GetItems() []resource.Managed

GetItems of this StackscriptList.

type StackscriptObservation

type StackscriptObservation struct {

	// The date this StackScript was created.
	// The date this StackScript was created.
	Created *string `json:"created,omitempty" tf:"created,omitempty"`

	// Count of currently active, deployed Linodes created from this StackScript.
	// Count of currently active, deployed Linodes created from this StackScript.
	DeploymentsActive *float64 `json:"deploymentsActive,omitempty" tf:"deployments_active,omitempty"`

	// The total number of times this StackScript has been deployed.
	// The total number of times this StackScript has been deployed.
	DeploymentsTotal *float64 `json:"deploymentsTotal,omitempty" tf:"deployments_total,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The date this StackScript was updated.
	// The date this StackScript was updated.
	Updated *string `json:"updated,omitempty" tf:"updated,omitempty"`

	// The Gravatar ID for the User who created the StackScript.
	// The Gravatar ID for the User who created the StackScript.
	UserGravatarID *string `json:"userGravatarId,omitempty" tf:"user_gravatar_id,omitempty"`

	// The User who created the StackScript.
	// The User who created the StackScript.
	Username *string `json:"username,omitempty" tf:"username,omitempty"`
}

func (*StackscriptObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackscriptObservation.

func (*StackscriptObservation) DeepCopyInto

func (in *StackscriptObservation) DeepCopyInto(out *StackscriptObservation)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StackscriptParameters

type StackscriptParameters struct {

	// A description for the StackScript.
	// A description for the StackScript.
	// +kubebuilder:validation:Required
	Description *string `json:"description" tf:"description,omitempty"`

	// An array of Image IDs representing the Images that this StackScript is compatible for deploying with. any/all indicates that all available image distributions, including private images, are accepted. Currently private image IDs are not supported.
	// An array of Image IDs representing the Images that this StackScript is compatible for deploying with.
	// +kubebuilder:validation:Required
	Images []*string `json:"images" tf:"images,omitempty"`

	// This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private. Changing
	// This determines whether other users can use your StackScript. Once a StackScript is made public, it cannot be made private.
	// +kubebuilder:validation:Optional
	IsPublic *bool `json:"isPublic,omitempty" tf:"is_public,omitempty"`

	// The StackScript's label is for display purposes only.
	// The StackScript's label is for display purposes only.
	// +kubebuilder:validation:Required
	Label *string `json:"label" tf:"label,omitempty"`

	// This field allows you to add notes for the set of revisions made to this StackScript.
	// This field allows you to add notes for the set of revisions made to this StackScript.
	// +kubebuilder:validation:Optional
	RevNote *string `json:"revNote,omitempty" tf:"rev_note,omitempty"`

	// The script to execute when provisioning a new Linode with this StackScript.
	// The script to execute when provisioning a new Linode with this StackScript.
	// +kubebuilder:validation:Required
	Script *string `json:"script" tf:"script,omitempty"`

	// This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment.
	// This is a list of fields defined with a special syntax inside this StackScript that allow for supplying customized parameters during deployment.
	// +kubebuilder:validation:Optional
	UserDefinedFields []UserDefinedFieldsParameters `json:"userDefinedFields,omitempty" tf:"user_defined_fields,omitempty"`
}

func (*StackscriptParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StackscriptParameters.

func (*StackscriptParameters) DeepCopyInto

func (in *StackscriptParameters) DeepCopyInto(out *StackscriptParameters)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type StackscriptSpec

type StackscriptSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     StackscriptParameters `json:"forProvider"`
}

StackscriptSpec defines the desired state of Stackscript

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 StackscriptStatus

type StackscriptStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        StackscriptObservation `json:"atProvider,omitempty"`
}

StackscriptStatus defines the observed state of Stackscript.

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.

type UserDefinedFieldsObservation

type UserDefinedFieldsObservation struct {
}

func (*UserDefinedFieldsObservation) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDefinedFieldsObservation.

func (*UserDefinedFieldsObservation) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type UserDefinedFieldsParameters

type UserDefinedFieldsParameters struct {

	// The default value. If not specified, this value will be used.
	// +kubebuilder:validation:Optional
	Default *string `json:"default,omitempty" tf:"default"`

	// An example value for the field.
	// +kubebuilder:validation:Optional
	Example *string `json:"example,omitempty" tf:"example"`

	// The StackScript's label is for display purposes only.
	// +kubebuilder:validation:Optional
	Label *string `json:"label,omitempty" tf:"label"`

	// A list of acceptable values for the field in any quantity, combination or order.
	// +kubebuilder:validation:Optional
	ManyOf *string `json:"manyOf,omitempty" tf:"many_of"`

	// The name of the field.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name"`

	// A list of acceptable single values for the field.
	// +kubebuilder:validation:Optional
	OneOf *string `json:"oneOf,omitempty" tf:"one_of"`
}

func (*UserDefinedFieldsParameters) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new UserDefinedFieldsParameters.

func (*UserDefinedFieldsParameters) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL