Documentation ¶
Overview ¶
Package v1alpha2 is the v1alpha2 version of the API.
Index ¶
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AwsManagedNodeNetwork
- type CloudStackManagedNodeNetwork
- type CommonManagedNodeNetwork
- type ManagedNetworkConfig
- type ManagedNode
- type ManagedNodeList
- type ManagedNodeSpec
- type ManagedNodeStatus
- type MultipassManagedNodeNetwork
- type NetworkRoutes
- type OpenStackManagedNodeNetwork
- type VMWareManagedNodeNetwork
Constants ¶
This section is empty.
Variables ¶
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: nodemanager.GroupName, Version: nodemanager.GroupVersion}
SchemeGroupVersion is group version used to register these objects
var SchemeGroupVersionKind = SchemeGroupVersion.WithKind(nodemanager.CRDKind)
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AwsManagedNodeNetwork ¶
type AwsManagedNodeNetwork struct { SubnetID string `json:"subnetID,omitempty"` SecurityGroupID string `json:"securityGroup,omitempty"` NetworkInterfaceID string `json:"networkInterfaceID,omitempty"` PrivateAddress string `json:"privateAddress,omitempty"` PublicIP bool `json:"publicIP,omitempty"` }
ManagedNodeNetwork is a specification for a network ManagedNode resource
func (*AwsManagedNodeNetwork) DeepCopy ¶
func (in *AwsManagedNodeNetwork) DeepCopy() *AwsManagedNodeNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AwsManagedNodeNetwork.
func (*AwsManagedNodeNetwork) DeepCopyInto ¶
func (in *AwsManagedNodeNetwork) DeepCopyInto(out *AwsManagedNodeNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CloudStackManagedNodeNetwork ¶ added in v1.30.0
type CloudStackManagedNodeNetwork struct {
CommonManagedNodeNetwork
}
func (*CloudStackManagedNodeNetwork) DeepCopy ¶ added in v1.30.0
func (in *CloudStackManagedNodeNetwork) DeepCopy() *CloudStackManagedNodeNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CloudStackManagedNodeNetwork.
func (*CloudStackManagedNodeNetwork) DeepCopyInto ¶ added in v1.30.0
func (in *CloudStackManagedNodeNetwork) DeepCopyInto(out *CloudStackManagedNodeNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type CommonManagedNodeNetwork ¶
type CommonManagedNodeNetwork struct { NetworkName string `json:"network,omitempty"` //vnet for desktop DHCP bool `json:"dhcp,omitempty"` IPV4Address string `json:"address,omitempty"` Netmask string `json:"netmask,omitempty"` }
ComonManagedNodeNetwork is a specification for a common network ManagedNode resource
func (*CommonManagedNodeNetwork) DeepCopy ¶
func (in *CommonManagedNodeNetwork) DeepCopy() *CommonManagedNodeNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonManagedNodeNetwork.
func (*CommonManagedNodeNetwork) DeepCopyInto ¶
func (in *CommonManagedNodeNetwork) DeepCopyInto(out *CommonManagedNodeNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedNetworkConfig ¶
type ManagedNetworkConfig struct { OpenStack []OpenStackManagedNodeNetwork `json:"openstack,omitempty"` CloudStack []CloudStackManagedNodeNetwork `json:"cloudstack,omitempty"` VMWare []VMWareManagedNodeNetwork `json:"vmware,omitempty"` Multipass []MultipassManagedNodeNetwork `json:"multipass,omitempty"` ENI *AwsManagedNodeNetwork `json:"eni,omitempty"` }
func (*ManagedNetworkConfig) DeepCopy ¶
func (in *ManagedNetworkConfig) DeepCopy() *ManagedNetworkConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNetworkConfig.
func (*ManagedNetworkConfig) DeepCopyInto ¶
func (in *ManagedNetworkConfig) DeepCopyInto(out *ManagedNetworkConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedNode ¶
type ManagedNode struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagedNodeSpec `json:"spec,omitempty"` Status ManagedNodeStatus `json:"status,omitempty"` }
ManagedNode is a specification for a ManagedNode resource
func (*ManagedNode) DeepCopy ¶
func (in *ManagedNode) DeepCopy() *ManagedNode
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNode.
func (*ManagedNode) DeepCopyInto ¶
func (in *ManagedNode) DeepCopyInto(out *ManagedNode)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedNode) DeepCopyObject ¶
func (in *ManagedNode) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagedNode) GetNodegroup ¶
func (mn *ManagedNode) GetNodegroup() string
type ManagedNodeList ¶
type ManagedNodeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ManagedNode `json:"items"` }
ManagedNodeList is a list of ManagedNode resources
func (*ManagedNodeList) DeepCopy ¶
func (in *ManagedNodeList) DeepCopy() *ManagedNodeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNodeList.
func (*ManagedNodeList) DeepCopyInto ¶
func (in *ManagedNodeList) DeepCopyInto(out *ManagedNodeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagedNodeList) DeepCopyObject ¶
func (in *ManagedNodeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagedNodeSpec ¶
type ManagedNodeSpec struct { Nodegroup string `default:"vmware-ca-k8s" json:"nodegroup,omitempty"` ControlPlane bool `json:"controlPlane,omitempty"` AllowDeployment bool `json:"allowDeployment,omitempty"` InstanceType string `default:"t2.micro" json:"instanceType"` DiskSizeInMB int `default:"10240" json:"diskSizeInMB"` DiskType string `default:"gp3" json:"diskType"` Labels []string `json:"labels,omitempty"` Annotations []string `json:"annotations,omitempty"` Networking ManagedNetworkConfig `json:"network,omitempty"` }
ManagedNodeSpec is the spec for a ManagedNode resource
func (*ManagedNodeSpec) DeepCopy ¶
func (in *ManagedNodeSpec) DeepCopy() *ManagedNodeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNodeSpec.
func (*ManagedNodeSpec) DeepCopyInto ¶
func (in *ManagedNodeSpec) DeepCopyInto(out *ManagedNodeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagedNodeStatus ¶
type ManagedNodeStatus struct { // The last time this status was updated. LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty"` // The node name created NodeName string `json:"nodename,omitempty"` // The instance created InstanceName string `json:"instancename,omitempty"` InstanceID string `json:"instanceid,omitempty"` // A human-readable description of the status of this operation. // +optional Message string `json:"message,omitempty"` // A machine-readable description of why this operation is in the // "Failure" status. If this value is empty there // is no information available. A Reason clarifies an HTTP status // code but does not override it. // +optional Reason metav1.StatusReason `json:"reason,omitempty"` // Suggested HTTP return code for this status, 0 if not set. // +optional Code int32 `json:"code,omitempty"` }
ManagedNodeStatus is the status for a ManagedNode resource
func (*ManagedNodeStatus) DeepCopy ¶
func (in *ManagedNodeStatus) DeepCopy() *ManagedNodeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedNodeStatus.
func (*ManagedNodeStatus) DeepCopyInto ¶
func (in *ManagedNodeStatus) DeepCopyInto(out *ManagedNodeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MultipassManagedNodeNetwork ¶
type MultipassManagedNodeNetwork struct { CommonManagedNodeNetwork UseRoutes *bool `json:"use-dhcp-routes,omitempty" yaml:"use-dhcp-routes,omitempty"` MacAddress string `json:"mac-address,omitempty" yaml:"mac-address,omitempty"` Routes []NetworkRoutes `json:"routes,omitempty" yaml:"routes,omitempty"` }
func (*MultipassManagedNodeNetwork) DeepCopy ¶
func (in *MultipassManagedNodeNetwork) DeepCopy() *MultipassManagedNodeNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultipassManagedNodeNetwork.
func (*MultipassManagedNodeNetwork) DeepCopyInto ¶
func (in *MultipassManagedNodeNetwork) DeepCopyInto(out *MultipassManagedNodeNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkRoutes ¶
type NetworkRoutes struct { To string `json:"to,omitempty" yaml:"to,omitempty"` Via string `json:"via,omitempty" yaml:"via,omitempty"` Metric int `json:"metric,omitempty" yaml:"metric,omitempty"` }
NetworkRoutes is a specification for a network route ManagedNode resource
func (*NetworkRoutes) DeepCopy ¶
func (in *NetworkRoutes) DeepCopy() *NetworkRoutes
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkRoutes.
func (*NetworkRoutes) DeepCopyInto ¶
func (in *NetworkRoutes) DeepCopyInto(out *NetworkRoutes)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OpenStackManagedNodeNetwork ¶
type OpenStackManagedNodeNetwork struct {
CommonManagedNodeNetwork
}
func (*OpenStackManagedNodeNetwork) DeepCopy ¶
func (in *OpenStackManagedNodeNetwork) DeepCopy() *OpenStackManagedNodeNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenStackManagedNodeNetwork.
func (*OpenStackManagedNodeNetwork) DeepCopyInto ¶
func (in *OpenStackManagedNodeNetwork) DeepCopyInto(out *OpenStackManagedNodeNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type VMWareManagedNodeNetwork ¶
type VMWareManagedNodeNetwork struct { CommonManagedNodeNetwork Adapter string `json:"adapter,omitempty" yaml:"adapter,omitempty"` UseRoutes *bool `json:"use-dhcp-routes,omitempty" yaml:"use-dhcp-routes,omitempty"` MacAddress string `json:"mac-address,omitempty" yaml:"mac-address,omitempty"` Routes []NetworkRoutes `json:"routes,omitempty" yaml:"routes,omitempty"` }
ManagedNodeNetwork is a specification for a network ManagedNode resource
func (*VMWareManagedNodeNetwork) DeepCopy ¶
func (in *VMWareManagedNodeNetwork) DeepCopy() *VMWareManagedNodeNetwork
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMWareManagedNodeNetwork.
func (*VMWareManagedNodeNetwork) DeepCopyInto ¶
func (in *VMWareManagedNodeNetwork) DeepCopyInto(out *VMWareManagedNodeNetwork)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.