v1

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOnParameter

type AddOnParameter struct {
	// +kubebuilder:validation:Required
	ID string `json:"id" validate:"required"`

	// +kubebuilder:validation:Required
	Name string `json:"name" validate:"required"`

	// +kubebuilder:validation:Required
	Description string `json:"description" validate:"required"`

	// +kubebuilder:validation:Required
	ValueType AddOnParameterValueType `json:"value_type" validate:"required"`

	// +optional
	Validation *string `json:"validation"`

	// +kubebuilder:validation:Required
	Required bool `json:"required" validate:"required"`

	// +optional
	ValidationErrMsg *string `json:"validation_err_msg"`

	// +kubebuilder:validation:Required
	Editable bool `json:"editable" validate:"required"`

	// +kubebuilder:validation:Required
	Enabled bool `json:"enabled" validate:"required"`

	// +optional
	DefaultValue *string `json:"default_value"`

	// +optional
	Order *int `json:"order"`

	// +optional
	Options *[]AddOnParameterOption `json:"options"`

	// +optional
	Conditions *[]AddOnResourceRequirement `json:"conditions"`
}

+kubebuilder:object:generate=true

func (*AddOnParameter) DeepCopy

func (in *AddOnParameter) DeepCopy() *AddOnParameter

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

func (*AddOnParameter) DeepCopyInto

func (in *AddOnParameter) DeepCopyInto(out *AddOnParameter)

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

type AddOnParameterOption

type AddOnParameterOption struct {
	// +kubebuilder:validation:Required
	Name string `json:"name" validate:"required"`

	// +kubebuilder:validation:Required
	Value string `json:"value" validate:"required"`
}

+kubebuilder:object:generate=true

func (*AddOnParameterOption) DeepCopy

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

func (*AddOnParameterOption) DeepCopyInto

func (in *AddOnParameterOption) DeepCopyInto(out *AddOnParameterOption)

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

type AddOnParameterValueType

type AddOnParameterValueType string
const (
	AddOnParameterValueTypeString   AddOnParameterValueType = "string"
	AddOnParameterValueTypeBoolean  AddOnParameterValueType = "boolean"
	AddOnParameterValueTypeNumber   AddOnParameterValueType = "number"
	AddOnParameterValueTypeCIDR     AddOnParameterValueType = "cidr"
	AddOnParameterValueTypeResource AddOnParameterValueType = "resource"
)

type AddOnRequirement

type AddOnRequirement struct {
	// +kubebuilder:validation:Required
	ID string `json:"id" validate:"required"`

	// +kubebuilder:validation:Required
	Resource AddOnRequirementResourceType `json:"resource" validate:"required"`

	// +kubebuilder:validation:Required
	Data AddOnRequirementData `json:"data" validate:"required"`

	// +optional
	Status *AddOnResourceRequirementStatus `json:"status"`

	// +kubebuilder:validation:Required
	Enabled bool `json:"enabled" validate:"required"`
}

+kubebuilder:object:generate=true

func (*AddOnRequirement) DeepCopy

func (in *AddOnRequirement) DeepCopy() *AddOnRequirement

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

func (*AddOnRequirement) DeepCopyInto

func (in *AddOnRequirement) DeepCopyInto(out *AddOnRequirement)

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

type AddOnRequirementData

type AddOnRequirementData map[string]apiextensionsv1.JSON

type AddOnRequirementResourceType

type AddOnRequirementResourceType string
const (
	AddOnRequirementResourceTypeCluster     AddOnRequirementResourceType = "cluster"
	AddOnRequirementResourceTypeAddOn       AddOnRequirementResourceType = "addon"
	AddOnRequirementResourceTypeMachinePool AddOnRequirementResourceType = "machine_pool"
)

type AddOnResourceRequirement added in v0.5.0

type AddOnResourceRequirement struct {
	// +kubebuilder:validation:Required
	Resource AddOnRequirementResourceType `json:"resource" validate:"required"`

	// +kubebuilder:validation:Required
	Data AddOnRequirementData `json:"data" validate:"required"`

	// +optional
	Status *AddOnResourceRequirementStatus `json:"status"`
}

+kubebuilder:object:generate=true

func (*AddOnResourceRequirement) DeepCopy added in v0.5.0

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

func (*AddOnResourceRequirement) DeepCopyInto added in v0.5.0

func (in *AddOnResourceRequirement) DeepCopyInto(out *AddOnResourceRequirement)

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

type AddOnResourceRequirementStatus added in v0.5.0

type AddOnResourceRequirementStatus struct {
	// +optional
	Fulfilled *bool `json:"fulfilled"`

	// +optional
	ErrorMsgs []string `json:"error_msgs"`
}

+kubebuilder:object:generate=true

func (*AddOnResourceRequirementStatus) DeepCopy added in v0.5.0

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

func (*AddOnResourceRequirementStatus) DeepCopyInto added in v0.5.0

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

type AddOnSubOperator

type AddOnSubOperator struct {
	// +kubebuilder:validation:Required
	OperatorName string `json:"operator_name" validate:"required"`

	// +kubebuilder:validation:Required
	OperatorNamespace string `json:"operator_namespace" validate:"required"`

	// +kubebuilder:validation:Required
	Enabled bool `json:"enabled" validate:"required"`
}

+kubebuilder:object:generate=true

func (*AddOnSubOperator) DeepCopy

func (in *AddOnSubOperator) DeepCopy() *AddOnSubOperator

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

func (*AddOnSubOperator) DeepCopyInto

func (in *AddOnSubOperator) DeepCopyInto(out *AddOnSubOperator)

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