v1alpha1

package
v0.0.0-...-597cd30 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

+k8s:deepcopy-gen=package,register +groupName=kit.sh

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterStatus

type ClusterStatus struct {
	APIServerAddress      *string `json:"apiServerAddress,omitempty"`
	KubeConfig            *string `json:"kubeConfig,omitempty"`
	LaunchTemplateVersion *string `json:"launchTemplateVersion,omitempty"`
}

func (*ClusterStatus) DeepCopy

func (in *ClusterStatus) DeepCopy() *ClusterStatus

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

func (*ClusterStatus) DeepCopyInto

func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus)

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

type InfrastructureStatus

type InfrastructureStatus struct {
	VPCID               *string  `json:"vpcID,omitempty"`
	ElasticIpIDForNatGW *string  `json:"elasticIpIdForNat,omitempty"`
	PrivateRouteTableID *string  `json:"privateRouteTableID,omitempty"`
	PublicRouteTableID  *string  `json:"publicRouteTableID,omitempty"`
	SecurityGroupID     *string  `json:"securityGroupID,omitempty"`
	MasterInstanceID    *string  `json:"masterInstanceID,omitempty"`
	PrivateSubnetIDs    []string `json:"privateSubnetIDs,omitempty"`
	PublicSubnetIDs     []string `json:"publicSubnetIDs,omitempty"`
}

func (*InfrastructureStatus) DeepCopy

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

func (*InfrastructureStatus) DeepCopyInto

func (in *InfrastructureStatus) DeepCopyInto(out *InfrastructureStatus)

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

type SubnetSpec

type SubnetSpec struct {
	Zone   string
	CIDR   string
	Public bool
}

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type Substrate

type Substrate struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   SubstrateSpec   `json:"spec,omitempty"`
	Status SubstrateStatus `json:"status,omitempty"`
}

Substrate is the Schema for the Substrates API +kubebuilder:object:root=true +kubebuilder:resource:path=substrates +kubebuilder:subresource:status

func (*Substrate) DeepCopy

func (in *Substrate) DeepCopy() *Substrate

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

func (*Substrate) DeepCopyInto

func (in *Substrate) DeepCopyInto(out *Substrate)

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

func (*Substrate) DeepCopyObject

func (in *Substrate) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Substrate) SetDefaults

func (s *Substrate) SetDefaults(ctx context.Context)

SetDefaults for the resource

func (*Substrate) Validate

func (s *Substrate) Validate(ctx context.Context) (errs *apis.FieldError)

type SubstrateSpec

type SubstrateSpec struct {
	// +optional
	VPC     *VPCSpec      `json:"vpc,omitempty"`
	Subnets []*SubnetSpec `json:"subnets,omitempty"`
	// +optional
	InstanceType *string `json:"instanceType,omitempty"`
}

func (*SubstrateSpec) DeepCopy

func (in *SubstrateSpec) DeepCopy() *SubstrateSpec

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

func (*SubstrateSpec) DeepCopyInto

func (in *SubstrateSpec) DeepCopyInto(out *SubstrateSpec)

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

type SubstrateStatus

type SubstrateStatus struct {
	Cluster        ClusterStatus        `json:"cluster,omitempty"`
	Infrastructure InfrastructureStatus `json:"infrastructure,omitempty"`
	Conditions     apis.Conditions      `json:"conditions,omitempty"`
}

func (*SubstrateStatus) DeepCopy

func (in *SubstrateStatus) DeepCopy() *SubstrateStatus

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

func (*SubstrateStatus) DeepCopyInto

func (in *SubstrateStatus) DeepCopyInto(out *SubstrateStatus)

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

func (*SubstrateStatus) GetCondition

func (s *SubstrateStatus) GetCondition(condition apis.ConditionType) *apis.Condition

func (*SubstrateStatus) GetConditions

func (s *SubstrateStatus) GetConditions() apis.Conditions

func (*SubstrateStatus) IsReady

func (s *SubstrateStatus) IsReady() bool

func (*SubstrateStatus) SetCondition

func (s *SubstrateStatus) SetCondition(condition apis.Condition)

func (*SubstrateStatus) SetConditions

func (s *SubstrateStatus) SetConditions(conditions apis.Conditions)

type VPCSpec

type VPCSpec struct {
	CIDR []string `json:"cidr,omitempty"`
}

func (*VPCSpec) DeepCopy

func (in *VPCSpec) DeepCopy() *VPCSpec

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

func (*VPCSpec) DeepCopyInto

func (in *VPCSpec) DeepCopyInto(out *VPCSpec)

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