v1alpha3

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+k8s:conversion-gen=sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha6

Package v1alpha3 contains API Schema definitions for the infrastructure v1alpha3 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io

Index

Constants

View Source
const (
	// ClusterFinalizer allows ReconcileOpenStackCluster to clean up OpenStack resources associated with OpenStackCluster before
	// removing it from the apiserver.
	ClusterFinalizer = "openstackcluster.infrastructure.cluster.x-k8s.io"
)
View Source
const (
	// MachineFinalizer allows ReconcileOpenStackMachine to clean up OpenStack resources associated with OpenStackMachine before
	// removing it from the apiserver.
	MachineFinalizer = "openstackmachine.infrastructure.cluster.x-k8s.io"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects.
	GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha3"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	// InstanceStateActive is the string representing an instance in an active state.
	InstanceStateActive = InstanceState("ACTIVE")

	// InstanceStateError is the string representing an instance in an error state.
	InstanceStateError = InstanceState("ERROR")

	// InstanceStateStopped is the string representing an instance in a stopped state.
	InstanceStateStopped = InstanceState("STOPPED")

	// InstanceStateShutoff is the string representing an instance in a shutoff state.
	InstanceStateShutoff = InstanceState("SHUTOFF")

	// InstanceStateDeleted is the string representing an instance in a deleted state.
	InstanceStateDeleted = InstanceState("DELETED")
)

Functions

func Convert_Slice_v1alpha3_Network_To_Slice_v1alpha6_Network added in v0.7.0

func Convert_Slice_v1alpha3_Network_To_Slice_v1alpha6_Network(in *[]Network, out *[]infrav1.Network, s conversion.Scope) error

func Convert_Slice_v1alpha6_Network_To_Slice_v1alpha3_Network added in v0.7.0

func Convert_Slice_v1alpha6_Network_To_Slice_v1alpha3_Network(in *[]infrav1.Network, out *[]Network, s conversion.Scope) error

func Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint added in v0.5.0

func Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint(in *clusterv1alpha3.APIEndpoint, out *clusterv1.APIEndpoint, s conversion.Scope) error

Convert_v1alpha3_APIEndpoint_To_v1beta1_APIEndpoint is an autogenerated conversion function.

func Convert_v1alpha3_Bastion_To_v1alpha6_Bastion added in v0.7.0

func Convert_v1alpha3_Bastion_To_v1alpha6_Bastion(in *Bastion, out *v1alpha6.Bastion, s conversion.Scope) error

Convert_v1alpha3_Bastion_To_v1alpha6_Bastion is an autogenerated conversion function.

func Convert_v1alpha3_ExternalRouterIPParam_To_v1alpha6_ExternalRouterIPParam added in v0.7.0

func Convert_v1alpha3_ExternalRouterIPParam_To_v1alpha6_ExternalRouterIPParam(in *ExternalRouterIPParam, out *v1alpha6.ExternalRouterIPParam, s conversion.Scope) error

Convert_v1alpha3_ExternalRouterIPParam_To_v1alpha6_ExternalRouterIPParam is an autogenerated conversion function.

func Convert_v1alpha3_Filter_To_v1alpha6_NetworkFilter added in v0.7.0

func Convert_v1alpha3_Filter_To_v1alpha6_NetworkFilter(in *Filter, out *infrav1.NetworkFilter, s conversion.Scope) error

func Convert_v1alpha3_Instance_To_v1alpha6_Instance added in v0.7.0

func Convert_v1alpha3_Instance_To_v1alpha6_Instance(in *Instance, out *infrav1.Instance, s conversion.Scope) error

func Convert_v1alpha3_LoadBalancer_To_v1alpha6_LoadBalancer added in v0.7.0

func Convert_v1alpha3_LoadBalancer_To_v1alpha6_LoadBalancer(in *LoadBalancer, out *v1alpha6.LoadBalancer, s conversion.Scope) error

Convert_v1alpha3_LoadBalancer_To_v1alpha6_LoadBalancer is an autogenerated conversion function.

func Convert_v1alpha3_NetworkParam_To_v1alpha6_NetworkParam added in v0.7.0

func Convert_v1alpha3_NetworkParam_To_v1alpha6_NetworkParam(in *NetworkParam, out *v1alpha6.NetworkParam, s conversion.Scope) error

Convert_v1alpha3_NetworkParam_To_v1alpha6_NetworkParam is an autogenerated conversion function.

func Convert_v1alpha3_Network_To_v1alpha6_Network added in v0.7.0

func Convert_v1alpha3_Network_To_v1alpha6_Network(in *Network, out *v1alpha6.Network, s conversion.Scope) error

Convert_v1alpha3_Network_To_v1alpha6_Network is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackClusterList_To_v1alpha6_OpenStackClusterList added in v0.7.0

func Convert_v1alpha3_OpenStackClusterList_To_v1alpha6_OpenStackClusterList(in *OpenStackClusterList, out *v1alpha6.OpenStackClusterList, s conversion.Scope) error

Convert_v1alpha3_OpenStackClusterList_To_v1alpha6_OpenStackClusterList is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackClusterSpec_To_v1alpha6_OpenStackClusterSpec added in v0.7.0

func Convert_v1alpha3_OpenStackClusterSpec_To_v1alpha6_OpenStackClusterSpec(in *OpenStackClusterSpec, out *infrav1.OpenStackClusterSpec, s conversion.Scope) error

Convert_v1alpha3_OpenStackClusterSpec_To_v1alpha6_OpenStackClusterSpec has to be added by us because we dropped the useOctavia parameter. We don't have to migrate this parameter to v1alpha6 so there is nothing to do.

func Convert_v1alpha3_OpenStackClusterStatus_To_v1alpha6_OpenStackClusterStatus added in v0.7.0

func Convert_v1alpha3_OpenStackClusterStatus_To_v1alpha6_OpenStackClusterStatus(in *OpenStackClusterStatus, out *v1alpha6.OpenStackClusterStatus, s conversion.Scope) error

Convert_v1alpha3_OpenStackClusterStatus_To_v1alpha6_OpenStackClusterStatus is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackCluster_To_v1alpha6_OpenStackCluster added in v0.7.0

func Convert_v1alpha3_OpenStackCluster_To_v1alpha6_OpenStackCluster(in *OpenStackCluster, out *v1alpha6.OpenStackCluster, s conversion.Scope) error

Convert_v1alpha3_OpenStackCluster_To_v1alpha6_OpenStackCluster is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackMachineList_To_v1alpha6_OpenStackMachineList added in v0.7.0

func Convert_v1alpha3_OpenStackMachineList_To_v1alpha6_OpenStackMachineList(in *OpenStackMachineList, out *v1alpha6.OpenStackMachineList, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachineList_To_v1alpha6_OpenStackMachineList is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackMachineSpec_To_v1alpha6_OpenStackMachineSpec added in v0.7.0

func Convert_v1alpha3_OpenStackMachineSpec_To_v1alpha6_OpenStackMachineSpec(in *OpenStackMachineSpec, out *infrav1.OpenStackMachineSpec, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachineSpec_To_v1alpha6_OpenStackMachineSpec is an autogenerated conversion function. v1alpha6 drops the field .UserDataSecret which is why we reuqire to define the function here.

func Convert_v1alpha3_OpenStackMachineStatus_To_v1alpha6_OpenStackMachineStatus added in v0.7.0

func Convert_v1alpha3_OpenStackMachineStatus_To_v1alpha6_OpenStackMachineStatus(in *OpenStackMachineStatus, out *v1alpha6.OpenStackMachineStatus, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachineStatus_To_v1alpha6_OpenStackMachineStatus is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackMachineTemplateList_To_v1alpha6_OpenStackMachineTemplateList added in v0.7.0

func Convert_v1alpha3_OpenStackMachineTemplateList_To_v1alpha6_OpenStackMachineTemplateList(in *OpenStackMachineTemplateList, out *v1alpha6.OpenStackMachineTemplateList, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachineTemplateList_To_v1alpha6_OpenStackMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackMachineTemplateResource_To_v1alpha6_OpenStackMachineTemplateResource added in v0.7.0

func Convert_v1alpha3_OpenStackMachineTemplateResource_To_v1alpha6_OpenStackMachineTemplateResource(in *OpenStackMachineTemplateResource, out *v1alpha6.OpenStackMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachineTemplateResource_To_v1alpha6_OpenStackMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackMachineTemplateSpec_To_v1alpha6_OpenStackMachineTemplateSpec added in v0.7.0

func Convert_v1alpha3_OpenStackMachineTemplateSpec_To_v1alpha6_OpenStackMachineTemplateSpec(in *OpenStackMachineTemplateSpec, out *v1alpha6.OpenStackMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachineTemplateSpec_To_v1alpha6_OpenStackMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackMachineTemplate_To_v1alpha6_OpenStackMachineTemplate added in v0.7.0

func Convert_v1alpha3_OpenStackMachineTemplate_To_v1alpha6_OpenStackMachineTemplate(in *OpenStackMachineTemplate, out *v1alpha6.OpenStackMachineTemplate, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachineTemplate_To_v1alpha6_OpenStackMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha3_OpenStackMachine_To_v1alpha6_OpenStackMachine added in v0.7.0

func Convert_v1alpha3_OpenStackMachine_To_v1alpha6_OpenStackMachine(in *OpenStackMachine, out *v1alpha6.OpenStackMachine, s conversion.Scope) error

Convert_v1alpha3_OpenStackMachine_To_v1alpha6_OpenStackMachine is an autogenerated conversion function.

func Convert_v1alpha3_RootVolume_To_v1alpha6_RootVolume added in v0.7.0

func Convert_v1alpha3_RootVolume_To_v1alpha6_RootVolume(in *RootVolume, out *infrav1.RootVolume, s conversion.Scope) error

func Convert_v1alpha3_Router_To_v1alpha6_Router added in v0.7.0

func Convert_v1alpha3_Router_To_v1alpha6_Router(in *Router, out *v1alpha6.Router, s conversion.Scope) error

Convert_v1alpha3_Router_To_v1alpha6_Router is an autogenerated conversion function.

func Convert_v1alpha3_SecurityGroupFilter_To_v1alpha6_SecurityGroupFilter added in v0.7.0

func Convert_v1alpha3_SecurityGroupFilter_To_v1alpha6_SecurityGroupFilter(in *SecurityGroupFilter, out *v1alpha6.SecurityGroupFilter, s conversion.Scope) error

Convert_v1alpha3_SecurityGroupFilter_To_v1alpha6_SecurityGroupFilter is an autogenerated conversion function.

func Convert_v1alpha3_SecurityGroupParam_To_v1alpha6_SecurityGroupParam added in v0.7.0

func Convert_v1alpha3_SecurityGroupParam_To_v1alpha6_SecurityGroupParam(in *SecurityGroupParam, out *v1alpha6.SecurityGroupParam, s conversion.Scope) error

Convert_v1alpha3_SecurityGroupParam_To_v1alpha6_SecurityGroupParam is an autogenerated conversion function.

func Convert_v1alpha3_SecurityGroupRule_To_v1alpha6_SecurityGroupRule added in v0.7.0

func Convert_v1alpha3_SecurityGroupRule_To_v1alpha6_SecurityGroupRule(in *SecurityGroupRule, out *v1alpha6.SecurityGroupRule, s conversion.Scope) error

Convert_v1alpha3_SecurityGroupRule_To_v1alpha6_SecurityGroupRule is an autogenerated conversion function.

func Convert_v1alpha3_SecurityGroup_To_v1alpha6_SecurityGroup added in v0.7.0

func Convert_v1alpha3_SecurityGroup_To_v1alpha6_SecurityGroup(in *SecurityGroup, out *v1alpha6.SecurityGroup, s conversion.Scope) error

Convert_v1alpha3_SecurityGroup_To_v1alpha6_SecurityGroup is an autogenerated conversion function.

func Convert_v1alpha3_SubnetFilter_To_v1alpha6_SubnetFilter added in v0.7.0

func Convert_v1alpha3_SubnetFilter_To_v1alpha6_SubnetFilter(in *SubnetFilter, out *infrav1.SubnetFilter, s conversion.Scope) error

func Convert_v1alpha3_SubnetParam_To_v1alpha6_SubnetParam added in v0.7.0

func Convert_v1alpha3_SubnetParam_To_v1alpha6_SubnetParam(in *SubnetParam, out *v1alpha6.SubnetParam, s conversion.Scope) error

Convert_v1alpha3_SubnetParam_To_v1alpha6_SubnetParam is an autogenerated conversion function.

func Convert_v1alpha3_Subnet_To_v1alpha6_Subnet added in v0.7.0

func Convert_v1alpha3_Subnet_To_v1alpha6_Subnet(in *Subnet, out *v1alpha6.Subnet, s conversion.Scope) error

Convert_v1alpha3_Subnet_To_v1alpha6_Subnet is an autogenerated conversion function.

func Convert_v1alpha6_Bastion_To_v1alpha3_Bastion added in v0.7.0

func Convert_v1alpha6_Bastion_To_v1alpha3_Bastion(in *v1alpha6.Bastion, out *Bastion, s conversion.Scope) error

Convert_v1alpha6_Bastion_To_v1alpha3_Bastion is an autogenerated conversion function.

func Convert_v1alpha6_ExternalRouterIPParam_To_v1alpha3_ExternalRouterIPParam added in v0.7.0

func Convert_v1alpha6_ExternalRouterIPParam_To_v1alpha3_ExternalRouterIPParam(in *v1alpha6.ExternalRouterIPParam, out *ExternalRouterIPParam, s conversion.Scope) error

Convert_v1alpha6_ExternalRouterIPParam_To_v1alpha3_ExternalRouterIPParam is an autogenerated conversion function.

func Convert_v1alpha6_Instance_To_v1alpha3_Instance added in v0.7.0

func Convert_v1alpha6_Instance_To_v1alpha3_Instance(in *infrav1.Instance, out *Instance, s conversion.Scope) error

func Convert_v1alpha6_LoadBalancer_To_v1alpha3_LoadBalancer added in v0.7.0

func Convert_v1alpha6_LoadBalancer_To_v1alpha3_LoadBalancer(in *infrav1.LoadBalancer, out *LoadBalancer, s conversion.Scope) error

func Convert_v1alpha6_NetworkFilter_To_v1alpha3_Filter added in v0.7.0

func Convert_v1alpha6_NetworkFilter_To_v1alpha3_Filter(in *infrav1.NetworkFilter, out *Filter, s conversion.Scope) error

func Convert_v1alpha6_NetworkParam_To_v1alpha3_NetworkParam added in v0.7.0

func Convert_v1alpha6_NetworkParam_To_v1alpha3_NetworkParam(in *v1alpha6.NetworkParam, out *NetworkParam, s conversion.Scope) error

Convert_v1alpha6_NetworkParam_To_v1alpha3_NetworkParam is an autogenerated conversion function.

func Convert_v1alpha6_Network_To_v1alpha3_Network added in v0.7.0

func Convert_v1alpha6_Network_To_v1alpha3_Network(in *infrav1.Network, out *Network, s conversion.Scope) error

Convert_v1alpha6_Network_To_v1alpha3_Network has to be added by us for the new portOpts parameter in v1alpha6. There is no intention to support this parameter in v1alpha3, so the field is just dropped.

func Convert_v1alpha6_OpenStackClusterList_To_v1alpha3_OpenStackClusterList added in v0.7.0

func Convert_v1alpha6_OpenStackClusterList_To_v1alpha3_OpenStackClusterList(in *v1alpha6.OpenStackClusterList, out *OpenStackClusterList, s conversion.Scope) error

Convert_v1alpha6_OpenStackClusterList_To_v1alpha3_OpenStackClusterList is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackClusterSpec_To_v1alpha3_OpenStackClusterSpec added in v0.7.0

func Convert_v1alpha6_OpenStackClusterSpec_To_v1alpha3_OpenStackClusterSpec(in *infrav1.OpenStackClusterSpec, out *OpenStackClusterSpec, s conversion.Scope) error

Convert_v1alpha6_OpenStackClusterSpec_To_v1alpha3_OpenStackClusterSpec has to be added by us because we have to convert the Type of CloudsSecret from SecretReference to string.

func Convert_v1alpha6_OpenStackClusterStatus_To_v1alpha3_OpenStackClusterStatus added in v0.7.0

func Convert_v1alpha6_OpenStackClusterStatus_To_v1alpha3_OpenStackClusterStatus(in *infrav1.OpenStackClusterStatus, out *OpenStackClusterStatus, s conversion.Scope) error

Convert_v1alpha6_OpenStackClusterStatus_To_v1alpha3_OpenStackClusterStatus has to be added in order to drop the FailureReason and FailureMessage fields that are not present in v1alpha3.

func Convert_v1alpha6_OpenStackCluster_To_v1alpha3_OpenStackCluster added in v0.7.0

func Convert_v1alpha6_OpenStackCluster_To_v1alpha3_OpenStackCluster(in *v1alpha6.OpenStackCluster, out *OpenStackCluster, s conversion.Scope) error

Convert_v1alpha6_OpenStackCluster_To_v1alpha3_OpenStackCluster is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackMachineList_To_v1alpha3_OpenStackMachineList added in v0.7.0

func Convert_v1alpha6_OpenStackMachineList_To_v1alpha3_OpenStackMachineList(in *v1alpha6.OpenStackMachineList, out *OpenStackMachineList, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachineList_To_v1alpha3_OpenStackMachineList is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackMachineSpec_To_v1alpha3_OpenStackMachineSpec added in v0.7.0

func Convert_v1alpha6_OpenStackMachineSpec_To_v1alpha3_OpenStackMachineSpec(in *infrav1.OpenStackMachineSpec, out *OpenStackMachineSpec, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachineSpec_To_v1alpha3_OpenStackMachineSpec has to be added by us for the new ports parameter in v1alpha6. There is no intention to support this parameter in v1alpha3, so the field is just dropped. Further, we want to convert the Type of CloudsSecret from SecretReference to string.

func Convert_v1alpha6_OpenStackMachineStatus_To_v1alpha3_OpenStackMachineStatus added in v0.7.0

func Convert_v1alpha6_OpenStackMachineStatus_To_v1alpha3_OpenStackMachineStatus(in *v1alpha6.OpenStackMachineStatus, out *OpenStackMachineStatus, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachineStatus_To_v1alpha3_OpenStackMachineStatus is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackMachineTemplateList_To_v1alpha3_OpenStackMachineTemplateList added in v0.7.0

func Convert_v1alpha6_OpenStackMachineTemplateList_To_v1alpha3_OpenStackMachineTemplateList(in *v1alpha6.OpenStackMachineTemplateList, out *OpenStackMachineTemplateList, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachineTemplateList_To_v1alpha3_OpenStackMachineTemplateList is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackMachineTemplateResource_To_v1alpha3_OpenStackMachineTemplateResource added in v0.7.0

func Convert_v1alpha6_OpenStackMachineTemplateResource_To_v1alpha3_OpenStackMachineTemplateResource(in *v1alpha6.OpenStackMachineTemplateResource, out *OpenStackMachineTemplateResource, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachineTemplateResource_To_v1alpha3_OpenStackMachineTemplateResource is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackMachineTemplateSpec_To_v1alpha3_OpenStackMachineTemplateSpec added in v0.7.0

func Convert_v1alpha6_OpenStackMachineTemplateSpec_To_v1alpha3_OpenStackMachineTemplateSpec(in *v1alpha6.OpenStackMachineTemplateSpec, out *OpenStackMachineTemplateSpec, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachineTemplateSpec_To_v1alpha3_OpenStackMachineTemplateSpec is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackMachineTemplate_To_v1alpha3_OpenStackMachineTemplate added in v0.7.0

func Convert_v1alpha6_OpenStackMachineTemplate_To_v1alpha3_OpenStackMachineTemplate(in *v1alpha6.OpenStackMachineTemplate, out *OpenStackMachineTemplate, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachineTemplate_To_v1alpha3_OpenStackMachineTemplate is an autogenerated conversion function.

func Convert_v1alpha6_OpenStackMachine_To_v1alpha3_OpenStackMachine added in v0.7.0

func Convert_v1alpha6_OpenStackMachine_To_v1alpha3_OpenStackMachine(in *v1alpha6.OpenStackMachine, out *OpenStackMachine, s conversion.Scope) error

Convert_v1alpha6_OpenStackMachine_To_v1alpha3_OpenStackMachine is an autogenerated conversion function.

func Convert_v1alpha6_RootVolume_To_v1alpha3_RootVolume added in v0.7.0

func Convert_v1alpha6_RootVolume_To_v1alpha3_RootVolume(in *infrav1.RootVolume, out *RootVolume, s conversion.Scope) error

func Convert_v1alpha6_Router_To_v1alpha3_Router added in v0.7.0

func Convert_v1alpha6_Router_To_v1alpha3_Router(in *infrav1.Router, out *Router, s conversion.Scope) error

func Convert_v1alpha6_SecurityGroupFilter_To_v1alpha3_SecurityGroupFilter added in v0.7.0

func Convert_v1alpha6_SecurityGroupFilter_To_v1alpha3_SecurityGroupFilter(in *v1alpha6.SecurityGroupFilter, out *SecurityGroupFilter, s conversion.Scope) error

Convert_v1alpha6_SecurityGroupFilter_To_v1alpha3_SecurityGroupFilter is an autogenerated conversion function.

func Convert_v1alpha6_SecurityGroupParam_To_v1alpha3_SecurityGroupParam added in v0.7.0

func Convert_v1alpha6_SecurityGroupParam_To_v1alpha3_SecurityGroupParam(in *v1alpha6.SecurityGroupParam, out *SecurityGroupParam, s conversion.Scope) error

Convert_v1alpha6_SecurityGroupParam_To_v1alpha3_SecurityGroupParam is an autogenerated conversion function.

func Convert_v1alpha6_SecurityGroupRule_To_v1alpha3_SecurityGroupRule added in v0.7.0

func Convert_v1alpha6_SecurityGroupRule_To_v1alpha3_SecurityGroupRule(in *v1alpha6.SecurityGroupRule, out *SecurityGroupRule, s conversion.Scope) error

Convert_v1alpha6_SecurityGroupRule_To_v1alpha3_SecurityGroupRule is an autogenerated conversion function.

func Convert_v1alpha6_SecurityGroup_To_v1alpha3_SecurityGroup added in v0.7.0

func Convert_v1alpha6_SecurityGroup_To_v1alpha3_SecurityGroup(in *v1alpha6.SecurityGroup, out *SecurityGroup, s conversion.Scope) error

Convert_v1alpha6_SecurityGroup_To_v1alpha3_SecurityGroup is an autogenerated conversion function.

func Convert_v1alpha6_SubnetFilter_To_v1alpha3_SubnetFilter added in v0.7.0

func Convert_v1alpha6_SubnetFilter_To_v1alpha3_SubnetFilter(in *infrav1.SubnetFilter, out *SubnetFilter, s conversion.Scope) error

func Convert_v1alpha6_SubnetParam_To_v1alpha3_SubnetParam added in v0.7.0

func Convert_v1alpha6_SubnetParam_To_v1alpha3_SubnetParam(in *v1alpha6.SubnetParam, out *SubnetParam, s conversion.Scope) error

Convert_v1alpha6_SubnetParam_To_v1alpha3_SubnetParam is an autogenerated conversion function.

func Convert_v1alpha6_Subnet_To_v1alpha3_Subnet added in v0.7.0

func Convert_v1alpha6_Subnet_To_v1alpha3_Subnet(in *v1alpha6.Subnet, out *Subnet, s conversion.Scope) error

Convert_v1alpha6_Subnet_To_v1alpha3_Subnet is an autogenerated conversion function.

func Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint added in v0.5.0

func Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint(in *clusterv1.APIEndpoint, out *clusterv1alpha3.APIEndpoint, s conversion.Scope) error

Convert_v1beta1_APIEndpoint_To_v1alpha3_APIEndpoint is an autogenerated conversion function.

func RegisterConversions added in v0.3.5

func RegisterConversions(s *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

Types

type Bastion added in v0.3.2

type Bastion struct {
	//+optional
	Enabled bool `json:"enabled"`

	// Instance for the bastion itself
	Instance OpenStackMachineSpec `json:"instance,omitempty"`

	//+optional
	AvailabilityZone string `json:"availabilityZone,omitempty"`
}

Bastion represents basic information about the bastion node.

func (*Bastion) DeepCopy added in v0.3.2

func (in *Bastion) DeepCopy() *Bastion

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

func (*Bastion) DeepCopyInto added in v0.3.2

func (in *Bastion) DeepCopyInto(out *Bastion)

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

type ExternalRouterIPParam

type ExternalRouterIPParam struct {
	// The FixedIP in the corresponding subnet
	FixedIP string `json:"fixedIP,omitempty"`
	// The subnet in which the FixedIP is used for the Gateway of this router
	Subnet SubnetParam `json:"subnet"`
}

func (*ExternalRouterIPParam) DeepCopy

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

func (*ExternalRouterIPParam) DeepCopyInto

func (in *ExternalRouterIPParam) DeepCopyInto(out *ExternalRouterIPParam)

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

type Filter

type Filter struct {
	Status       string `json:"status,omitempty"`
	Name         string `json:"name,omitempty"`
	Description  string `json:"description,omitempty"`
	AdminStateUp *bool  `json:"adminStateUp,omitempty"`
	TenantID     string `json:"tenantId,omitempty"`
	ProjectID    string `json:"projectId,omitempty"`
	Shared       *bool  `json:"shared,omitempty"`
	ID           string `json:"id,omitempty"`
	Marker       string `json:"marker,omitempty"`
	Limit        int    `json:"limit,omitempty"`
	SortKey      string `json:"sortKey,omitempty"`
	SortDir      string `json:"sortDir,omitempty"`
	Tags         string `json:"tags,omitempty"`
	TagsAny      string `json:"tagsAny,omitempty"`
	NotTags      string `json:"notTags,omitempty"`
	NotTagsAny   string `json:"notTagsAny,omitempty"`
}

func (*Filter) DeepCopy

func (in *Filter) DeepCopy() *Filter

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

func (*Filter) DeepCopyInto

func (in *Filter) DeepCopyInto(out *Filter)

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

type Instance added in v0.3.3

type Instance struct {
	ID             string            `json:"id,omitempty"`
	Name           string            `json:"name,omitempty"`
	Trunk          bool              `json:"trunk,omitempty"`
	FailureDomain  string            `json:"failureDomain,omitempty"`
	SecurityGroups *[]string         `json:"securigyGroups,omitempty"`
	Networks       *[]Network        `json:"networks,omitempty"`
	Subnet         string            `json:"subnet,omitempty"`
	Tags           []string          `json:"tags,omitempty"`
	Image          string            `json:"image,omitempty"`
	Flavor         string            `json:"flavor,omitempty"`
	SSHKeyName     string            `json:"sshKeyName,omitempty"`
	UserData       string            `json:"userData,omitempty"`
	Metadata       map[string]string `json:"metadata,omitempty"`
	ConfigDrive    *bool             `json:"configDrive,omitempty"`
	RootVolume     *RootVolume       `json:"rootVolume,omitempty"`
	ServerGroupID  string            `json:"serverGroupID,omitempty"`
	State          InstanceState     `json:"state,omitempty"`
	IP             string            `json:"ip,omitempty"`
	FloatingIP     string            `json:"floatingIP,omitempty"`
}

func (*Instance) DeepCopy added in v0.3.3

func (in *Instance) DeepCopy() *Instance

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

func (*Instance) DeepCopyInto added in v0.3.3

func (in *Instance) DeepCopyInto(out *Instance)

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

type InstanceState

type InstanceState string

InstanceState describes the state of an OpenStack instance.

type LoadBalancer

type LoadBalancer struct {
	Name       string `json:"name"`
	ID         string `json:"id"`
	IP         string `json:"ip"`
	InternalIP string `json:"internalIP"`
}

LoadBalancer represents basic information about the associated OpenStack LoadBalancer.

func (*LoadBalancer) DeepCopy

func (in *LoadBalancer) DeepCopy() *LoadBalancer

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

func (*LoadBalancer) DeepCopyInto

func (in *LoadBalancer) DeepCopyInto(out *LoadBalancer)

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

type Network

type Network struct {
	Name string `json:"name"`
	ID   string `json:"id"`

	//+optional
	Tags []string `json:"tags,omitempty"`

	Subnet *Subnet `json:"subnet,omitempty"`
	Router *Router `json:"router,omitempty"`

	// Be careful when using APIServerLoadBalancer, because this field is optional and therefore not
	// set in all cases
	APIServerLoadBalancer *LoadBalancer `json:"apiServerLoadBalancer,omitempty"`
}

Network represents basic information about the associated OpenStach Neutron Network.

func (*Network) DeepCopy

func (in *Network) DeepCopy() *Network

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

func (*Network) DeepCopyInto

func (in *Network) DeepCopyInto(out *Network)

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

type NetworkParam

type NetworkParam struct {
	// The UUID of the network. Required if you omit the port attribute.
	UUID string `json:"uuid,omitempty"`
	// A fixed IPv4 address for the NIC.
	FixedIP string `json:"fixedIp,omitempty"`
	// Filters for optional network query
	Filter Filter `json:"filter,omitempty"`
	// Subnet within a network to use
	Subnets []SubnetParam `json:"subnets,omitempty"`
}

func (*NetworkParam) DeepCopy

func (in *NetworkParam) DeepCopy() *NetworkParam

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

func (*NetworkParam) DeepCopyInto

func (in *NetworkParam) DeepCopyInto(out *NetworkParam)

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

type OpenStackCluster

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

	Spec   OpenStackClusterSpec   `json:"spec,omitempty"`
	Status OpenStackClusterStatus `json:"status,omitempty"`
}

OpenStackCluster is the Schema for the openstackclusters API.

func (*OpenStackCluster) ConvertFrom added in v0.3.5

func (r *OpenStackCluster) ConvertFrom(srcRaw ctrlconversion.Hub) error

func (*OpenStackCluster) ConvertTo added in v0.3.5

func (r *OpenStackCluster) ConvertTo(dstRaw ctrlconversion.Hub) error

func (*OpenStackCluster) DeepCopy

func (in *OpenStackCluster) DeepCopy() *OpenStackCluster

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

func (*OpenStackCluster) DeepCopyInto

func (in *OpenStackCluster) DeepCopyInto(out *OpenStackCluster)

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

func (*OpenStackCluster) DeepCopyObject

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

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

type OpenStackClusterList

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

OpenStackClusterList contains a list of OpenStackCluster.

func (*OpenStackClusterList) ConvertFrom added in v0.3.5

func (r *OpenStackClusterList) ConvertFrom(srcRaw ctrlconversion.Hub) error

func (*OpenStackClusterList) ConvertTo added in v0.3.5

func (r *OpenStackClusterList) ConvertTo(dstRaw ctrlconversion.Hub) error

func (*OpenStackClusterList) DeepCopy

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

func (*OpenStackClusterList) DeepCopyInto

func (in *OpenStackClusterList) DeepCopyInto(out *OpenStackClusterList)

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

func (*OpenStackClusterList) DeepCopyObject

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

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

type OpenStackClusterSpec

type OpenStackClusterSpec struct {
	// The name of the secret containing the openstack credentials
	// +optional
	// +k8s:conversion-gen=false
	CloudsSecret *corev1.SecretReference `json:"cloudsSecret"`

	// The name of the cloud to use from the clouds secret
	// +optional
	CloudName string `json:"cloudName"`

	// NodeCIDR is the OpenStack Subnet to be created. Cluster actuator will create a
	// network, a subnet with NodeCIDR, and a router connected to this subnet.
	// If you leave this empty, no network will be created.
	NodeCIDR string `json:"nodeCidr,omitempty"`

	// If NodeCIDR cannot be set this can be used to detect an existing network.
	Network Filter `json:"network,omitempty"`

	// If NodeCIDR cannot be set this can be used to detect an existing subnet.
	Subnet SubnetFilter `json:"subnet,omitempty"`

	// DNSNameservers is the list of nameservers for OpenStack Subnet being created.
	// Set this value when you need create a new network/subnet while the access
	// through DNS is required.
	DNSNameservers []string `json:"dnsNameservers,omitempty"`
	// ExternalRouterIPs is an array of externalIPs on the respective subnets.
	// This is necessary if the router needs a fixed ip in a specific subnet.
	ExternalRouterIPs []ExternalRouterIPParam `json:"externalRouterIPs,omitempty"`
	// ExternalNetworkID is the ID of an external OpenStack Network. This is necessary
	// to get public internet to the VMs.
	// +optional
	ExternalNetworkID string `json:"externalNetworkId,omitempty"`

	// UseOctavia is weather LoadBalancer Service is Octavia or not
	// +optional
	UseOctavia bool `json:"useOctavia,omitempty"`

	// ManagedAPIServerLoadBalancer defines whether a LoadBalancer for the
	// APIServer should be created. If set to true the following properties are
	// mandatory: APIServerFloatingIP, APIServerPort
	// +optional
	ManagedAPIServerLoadBalancer bool `json:"managedAPIServerLoadBalancer"`

	// APIServerFloatingIP is the floatingIP which will be associated
	// to the APIServer. The floatingIP will be created if it not
	// already exists.
	APIServerFloatingIP string `json:"apiServerFloatingIP,omitempty"`

	// APIServerPort is the port on which the listener on the APIServer
	// will be created
	APIServerPort int `json:"apiServerPort,omitempty"`

	// APIServerLoadBalancerAdditionalPorts adds additional ports to the APIServerLoadBalancer
	APIServerLoadBalancerAdditionalPorts []int `json:"apiServerLoadBalancerAdditionalPorts,omitempty"`

	// ManagedSecurityGroups defines that kubernetes manages the OpenStack security groups
	// for now, that means that we'll create security group allows traffic to/from
	// machines belonging to that group based on Calico CNI plugin default network
	// requirements: BGP and IP-in-IP for master node(s) and worker node(s) respectively.
	// In the future, we could make this more flexible.
	// +optional
	ManagedSecurityGroups bool `json:"managedSecurityGroups"`

	// DisablePortSecurity disables the port security of the network created for the
	// Kubernetes cluster, which also disables SecurityGroups
	DisablePortSecurity bool `json:"disablePortSecurity,omitempty"`

	// Tags for all resources in cluster
	Tags []string `json:"tags,omitempty"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint clusterv1alpha3.APIEndpoint `json:"controlPlaneEndpoint"`

	// ControlPlaneAvailabilityZones is the az to deploy control plane to
	ControlPlaneAvailabilityZones []string `json:"controlPlaneAvailabilityZones,omitempty"`

	// Bastion is the OpenStack instance to login the nodes
	//
	// As a rolling update is not ideal during a bastion host session, we
	// prevent changes to a running bastion configuration. Set `enabled: false` to
	// make changes.
	//+optional
	Bastion *Bastion `json:"bastion,omitempty"`
}

OpenStackClusterSpec defines the desired state of OpenStackCluster.

func (*OpenStackClusterSpec) DeepCopy

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

func (*OpenStackClusterSpec) DeepCopyInto

func (in *OpenStackClusterSpec) DeepCopyInto(out *OpenStackClusterSpec)

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

type OpenStackClusterStatus

type OpenStackClusterStatus struct {
	Ready bool `json:"ready"`

	// Network contains all information about the created OpenStack Network.
	// It includes Subnets and Router.
	Network *Network `json:"network,omitempty"`

	// External Network contains information about the created OpenStack external network.
	ExternalNetwork *Network `json:"externalNetwork,omitempty"`

	// FailureDomains represent OpenStack availability zones
	FailureDomains clusterv1alpha3.FailureDomains `json:"failureDomains,omitempty"`

	// ControlPlaneSecurityGroups contains all the information about the OpenStack
	// Security Group that needs to be applied to control plane nodes.
	// TODO: Maybe instead of two properties, we add a property to the group?
	ControlPlaneSecurityGroup *SecurityGroup `json:"controlPlaneSecurityGroup,omitempty"`

	// WorkerSecurityGroup contains all the information about the OpenStack Security
	// Group that needs to be applied to worker nodes.
	WorkerSecurityGroup *SecurityGroup `json:"workerSecurityGroup,omitempty"`

	BastionSecurityGroup *SecurityGroup `json:"bastionSecurityGroup,omitempty"`

	Bastion *Instance `json:"bastion,omitempty"`
}

OpenStackClusterStatus defines the observed state of OpenStackCluster.

func (*OpenStackClusterStatus) DeepCopy

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

func (*OpenStackClusterStatus) DeepCopyInto

func (in *OpenStackClusterStatus) DeepCopyInto(out *OpenStackClusterStatus)

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

type OpenStackMachine

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

	Spec   OpenStackMachineSpec   `json:"spec,omitempty"`
	Status OpenStackMachineStatus `json:"status,omitempty"`
}

OpenStackMachine is the Schema for the openstackmachines API.

func (*OpenStackMachine) ConvertFrom added in v0.3.5

func (r *OpenStackMachine) ConvertFrom(srcRaw ctrlconversion.Hub) error

func (*OpenStackMachine) ConvertTo added in v0.3.5

func (r *OpenStackMachine) ConvertTo(dstRaw ctrlconversion.Hub) error

func (*OpenStackMachine) DeepCopy

func (in *OpenStackMachine) DeepCopy() *OpenStackMachine

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

func (*OpenStackMachine) DeepCopyInto

func (in *OpenStackMachine) DeepCopyInto(out *OpenStackMachine)

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

func (*OpenStackMachine) DeepCopyObject

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

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

type OpenStackMachineList

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

OpenStackMachineList contains a list of OpenStackMachine.

func (*OpenStackMachineList) ConvertFrom added in v0.3.5

func (r *OpenStackMachineList) ConvertFrom(srcRaw ctrlconversion.Hub) error

func (*OpenStackMachineList) ConvertTo added in v0.3.5

func (r *OpenStackMachineList) ConvertTo(dstRaw ctrlconversion.Hub) error

func (*OpenStackMachineList) DeepCopy

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

func (*OpenStackMachineList) DeepCopyInto

func (in *OpenStackMachineList) DeepCopyInto(out *OpenStackMachineList)

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

func (*OpenStackMachineList) DeepCopyObject

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

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

type OpenStackMachineSpec

type OpenStackMachineSpec struct {
	// ProviderID is the unique identifier as specified by the cloud provider.
	ProviderID *string `json:"providerID,omitempty"`

	// InstanceID is the OpenStack instance ID for this machine.
	InstanceID *string `json:"instanceID,omitempty"`

	// The name of the secret containing the openstack credentials
	// +optional
	// +k8s:conversion-gen=false
	CloudsSecret *corev1.SecretReference `json:"cloudsSecret"`

	// The name of the cloud to use from the clouds secret
	// +optional
	CloudName string `json:"cloudName"`

	// The flavor reference for the flavor for your server instance.
	Flavor string `json:"flavor"`

	// The name of the image to use for your server instance.
	// If the RootVolume is specified, this will be ignored and use rootVolume directly.
	Image string `json:"image,omitempty"`

	// The ssh key to inject in the instance
	SSHKeyName string `json:"sshKeyName,omitempty"`

	// A networks object. Required parameter when there are multiple networks defined for the tenant.
	// When you do not specify the networks parameter, the server attaches to the only network created for the current tenant.
	Networks []NetworkParam `json:"networks,omitempty"`

	// UUID, IP address of a port from this subnet will be marked as AccessIPv4 on the created compute instance
	Subnet string `json:"subnet,omitempty"`

	// The floatingIP which will be associated to the machine, only used for master.
	// The floatingIP should have been created and haven't been associated.
	FloatingIP string `json:"floatingIP,omitempty"`

	// The names of the security groups to assign to the instance
	SecurityGroups []SecurityGroupParam `json:"securityGroups,omitempty"`

	// The name of the secret containing the user data (startup script in most cases)
	UserDataSecret *corev1.SecretReference `json:"userDataSecret,omitempty"`

	// Whether the server instance is created on a trunk port or not.
	Trunk bool `json:"trunk,omitempty"`

	// Machine tags
	// Requires Nova api 2.52 minimum!
	Tags []string `json:"tags,omitempty"`

	// Metadata mapping. Allows you to create a map of key value pairs to add to the server instance.
	ServerMetadata map[string]string `json:"serverMetadata,omitempty"`

	// Config Drive support
	ConfigDrive *bool `json:"configDrive,omitempty"`

	// The volume metadata to boot from
	RootVolume *RootVolume `json:"rootVolume,omitempty"`

	// The server group to assign the machine to
	ServerGroupID string `json:"serverGroupID,omitempty"`
}

OpenStackMachineSpec defines the desired state of OpenStackMachine.

func (*OpenStackMachineSpec) DeepCopy

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

func (*OpenStackMachineSpec) DeepCopyInto

func (in *OpenStackMachineSpec) DeepCopyInto(out *OpenStackMachineSpec)

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

type OpenStackMachineStatus

type OpenStackMachineStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	Ready bool `json:"ready"`

	// Addresses contains the OpenStack instance associated addresses.
	Addresses []corev1.NodeAddress `json:"addresses,omitempty"`

	// InstanceState is the state of the OpenStack instance for this machine.
	// +optional
	InstanceState *InstanceState `json:"instanceState,omitempty"`

	FailureReason *errors.MachineStatusError `json:"errorReason,omitempty"`

	// FailureMessage will be set in the event that there is a terminal problem
	// reconciling the Machine and will contain a more verbose string suitable
	// for logging and human consumption.
	//
	// This field should not be set for transitive errors that a controller
	// faces that are expected to be fixed automatically over
	// time (like service outages), but instead indicate that something is
	// fundamentally wrong with the Machine's spec or the configuration of
	// the controller, and that manual intervention is required. Examples
	// of terminal errors would be invalid combinations of settings in the
	// spec, values that are unsupported by the controller, or the
	// responsible controller itself being critically misconfigured.
	//
	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	FailureMessage *string `json:"errorMessage,omitempty"`

	Conditions clusterv1.Conditions `json:"conditions,omitempty"`
}

OpenStackMachineStatus defines the observed state of OpenStackMachine.

func (*OpenStackMachineStatus) DeepCopy

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

func (*OpenStackMachineStatus) DeepCopyInto

func (in *OpenStackMachineStatus) DeepCopyInto(out *OpenStackMachineStatus)

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

type OpenStackMachineTemplate

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

	Spec OpenStackMachineTemplateSpec `json:"spec,omitempty"`
}

OpenStackMachineTemplate is the Schema for the openstackmachinetemplates API.

func (*OpenStackMachineTemplate) ConvertFrom added in v0.3.5

func (r *OpenStackMachineTemplate) ConvertFrom(srcRaw ctrlconversion.Hub) error

func (*OpenStackMachineTemplate) ConvertTo added in v0.3.5

func (r *OpenStackMachineTemplate) ConvertTo(dstRaw ctrlconversion.Hub) error

func (*OpenStackMachineTemplate) DeepCopy

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

func (*OpenStackMachineTemplate) DeepCopyInto

func (in *OpenStackMachineTemplate) DeepCopyInto(out *OpenStackMachineTemplate)

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

func (*OpenStackMachineTemplate) DeepCopyObject

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

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

type OpenStackMachineTemplateList

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

OpenStackMachineTemplateList contains a list of OpenStackMachineTemplate.

func (*OpenStackMachineTemplateList) ConvertFrom added in v0.3.5

func (r *OpenStackMachineTemplateList) ConvertFrom(srcRaw ctrlconversion.Hub) error

func (*OpenStackMachineTemplateList) ConvertTo added in v0.3.5

func (*OpenStackMachineTemplateList) DeepCopy

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

func (*OpenStackMachineTemplateList) DeepCopyInto

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

func (*OpenStackMachineTemplateList) DeepCopyObject

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

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

type OpenStackMachineTemplateResource

type OpenStackMachineTemplateResource struct {
	// Spec is the specification of the desired behavior of the machine.
	Spec OpenStackMachineSpec `json:"spec"`
}

OpenStackMachineTemplateResource describes the data needed to create a OpenStackMachine from a template.

func (*OpenStackMachineTemplateResource) DeepCopy

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

func (*OpenStackMachineTemplateResource) DeepCopyInto

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

type OpenStackMachineTemplateSpec

type OpenStackMachineTemplateSpec struct {
	Template OpenStackMachineTemplateResource `json:"template"`
}

OpenStackMachineTemplateSpec defines the desired state of OpenStackMachineTemplate.

func (*OpenStackMachineTemplateSpec) DeepCopy

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

func (*OpenStackMachineTemplateSpec) DeepCopyInto

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

type RootVolume

type RootVolume struct {
	SourceType string `json:"sourceType,omitempty"`
	SourceUUID string `json:"sourceUUID,omitempty"`
	DeviceType string `json:"deviceType,omitempty"`
	Size       int    `json:"diskSize,omitempty"`
}

func (*RootVolume) DeepCopy

func (in *RootVolume) DeepCopy() *RootVolume

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

func (*RootVolume) DeepCopyInto

func (in *RootVolume) DeepCopyInto(out *RootVolume)

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

type Router

type Router struct {
	Name string `json:"name"`
	ID   string `json:"id"`
	//+optional
	Tags []string `json:"tags,omitempty"`
}

Router represents basic information about the associated OpenStack Neutron Router.

func (*Router) DeepCopy

func (in *Router) DeepCopy() *Router

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

func (*Router) DeepCopyInto

func (in *Router) DeepCopyInto(out *Router)

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

type SecurityGroup

type SecurityGroup struct {
	Name  string              `json:"name"`
	ID    string              `json:"id"`
	Rules []SecurityGroupRule `json:"rules"`
}

SecurityGroup represents the basic information of the associated OpenStack Neutron Security Group.

func (*SecurityGroup) DeepCopy

func (in *SecurityGroup) DeepCopy() *SecurityGroup

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

func (*SecurityGroup) DeepCopyInto

func (in *SecurityGroup) DeepCopyInto(out *SecurityGroup)

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

type SecurityGroupFilter

type SecurityGroupFilter struct {
	ID          string `json:"id,omitempty"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	TenantID    string `json:"tenantId,omitempty"`
	ProjectID   string `json:"projectId,omitempty"`
	Limit       int    `json:"limit,omitempty"`
	Marker      string `json:"marker,omitempty"`
	SortKey     string `json:"sortKey,omitempty"`
	SortDir     string `json:"sortDir,omitempty"`
	Tags        string `json:"tags,omitempty"`
	TagsAny     string `json:"tagsAny,omitempty"`
	NotTags     string `json:"notTags,omitempty"`
	NotTagsAny  string `json:"notTagsAny,omitempty"`
}

func (*SecurityGroupFilter) DeepCopy

func (in *SecurityGroupFilter) DeepCopy() *SecurityGroupFilter

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

func (*SecurityGroupFilter) DeepCopyInto

func (in *SecurityGroupFilter) DeepCopyInto(out *SecurityGroupFilter)

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

type SecurityGroupParam

type SecurityGroupParam struct {
	// Security Group UID
	UUID string `json:"uuid,omitempty"`
	// Security Group name
	Name string `json:"name,omitempty"`
	// Filters used to query security groups in openstack
	Filter SecurityGroupFilter `json:"filter,omitempty"`
}

func (*SecurityGroupParam) DeepCopy

func (in *SecurityGroupParam) DeepCopy() *SecurityGroupParam

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

func (*SecurityGroupParam) DeepCopyInto

func (in *SecurityGroupParam) DeepCopyInto(out *SecurityGroupParam)

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

type SecurityGroupRule

type SecurityGroupRule struct {
	Description     string `json:"description"`
	ID              string `json:"name"`
	Direction       string `json:"direction"`
	EtherType       string `json:"etherType"`
	SecurityGroupID string `json:"securityGroupID"`
	PortRangeMin    int    `json:"portRangeMin"`
	PortRangeMax    int    `json:"portRangeMax"`
	Protocol        string `json:"protocol"`
	RemoteGroupID   string `json:"remoteGroupID"`
	RemoteIPPrefix  string `json:"remoteIPPrefix"`
}

SecurityGroupRule represent the basic information of the associated OpenStack Security Group Role.

func (*SecurityGroupRule) DeepCopy

func (in *SecurityGroupRule) DeepCopy() *SecurityGroupRule

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

func (*SecurityGroupRule) DeepCopyInto

func (in *SecurityGroupRule) DeepCopyInto(out *SecurityGroupRule)

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

func (SecurityGroupRule) Equal

Equal checks if two SecurityGroupRules are the same.

type Subnet

type Subnet struct {
	Name string `json:"name"`
	ID   string `json:"id"`

	CIDR string `json:"cidr"`

	//+optional
	Tags []string `json:"tags,omitempty"`
}

Subnet represents basic information about the associated OpenStack Neutron Subnet.

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

func (in *Subnet) DeepCopyInto(out *Subnet)

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

type SubnetFilter

type SubnetFilter struct {
	Name            string `json:"name,omitempty"`
	Description     string `json:"description,omitempty"`
	EnableDHCP      *bool  `json:"enableDhcp,omitempty"`
	NetworkID       string `json:"networkId,omitempty"`
	TenantID        string `json:"tenantId,omitempty"`
	ProjectID       string `json:"projectId,omitempty"`
	IPVersion       int    `json:"ipVersion,omitempty"`
	GatewayIP       string `json:"gateway_ip,omitempty"`
	CIDR            string `json:"cidr,omitempty"`
	IPv6AddressMode string `json:"ipv6AddressMode,omitempty"`
	IPv6RAMode      string `json:"ipv6RaMode,omitempty"`
	ID              string `json:"id,omitempty"`
	SubnetPoolID    string `json:"subnetpoolId,omitempty"`
	Limit           int    `json:"limit,omitempty"`
	Marker          string `json:"marker,omitempty"`
	SortKey         string `json:"sortKey,omitempty"`
	SortDir         string `json:"sortDir,omitempty"`
	Tags            string `json:"tags,omitempty"`
	TagsAny         string `json:"tagsAny,omitempty"`
	NotTags         string `json:"notTags,omitempty"`
	NotTagsAny      string `json:"notTagsAny,omitempty"`
}

func (*SubnetFilter) DeepCopy

func (in *SubnetFilter) DeepCopy() *SubnetFilter

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

func (*SubnetFilter) DeepCopyInto

func (in *SubnetFilter) DeepCopyInto(out *SubnetFilter)

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

type SubnetParam

type SubnetParam struct {
	// The UUID of the network. Required if you omit the port attribute.
	UUID string `json:"uuid,omitempty"`

	// Filters for optional network query
	Filter SubnetFilter `json:"filter,omitempty"`
}

func (*SubnetParam) DeepCopy

func (in *SubnetParam) DeepCopy() *SubnetParam

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

func (*SubnetParam) DeepCopyInto

func (in *SubnetParam) DeepCopyInto(out *SubnetParam)

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