v1alpha1

package
v0.0.0-...-54c47e7 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2024 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Overview

Package v1alpha1 contains API Schema definitions for the openstack v1alpha1 API group +kubebuilder:object:generate=true +groupName=openstack.k-orc.cloud

Index

Constants

View Source
const (
	OpenStackConditionReady OpenStackConditionType = "Ready"
	OpenStackConditionError OpenStackConditionType = "Error"

	OpenStackErrorReasonInvalidSpec = "InvalidSpec"

	OpenStackLabelPrefix = "openstack.k-orc.cloud/"
)
View Source
const (
	OpenStackCloudCredentialsSourceTypeSecret = "secret"
	OpenStackCloudCredentialsSourceInvalid    = "SourceTypeInvalid"
)
View Source
const (
	OpenStackErrorReasonImageImportFailed = "FailedImageImport"
	OpenStackErrorReasonImageNotAvailable = "ImageNotAvailable"
)
View Source
const (
	// Finalizer allows Reconcile to clean up OpenStack resources
	// associated with OpenStackNetwork before removing it from the
	// apiserver.
	Finalizer = "openstackresource.k-orc.cloud"
)

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "openstack.k-orc.cloud", Version: "v1alpha1"}

	// 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 (
	UuidNamespace = uuid.UUID{56, 237, 119, 111, 66, 211, 75, 156, 170, 37, 100, 120, 183, 56, 27, 191}
)

Functions

func OpenStackDependencyLabelCloud

func OpenStackDependencyLabelCloud(name string) string

func OpenStackDependencyLabelFlavor

func OpenStackDependencyLabelFlavor(name string) string

func OpenStackDependencyLabelImage

func OpenStackDependencyLabelImage(name string) string

func OpenStackDependencyLabelKey

func OpenStackDependencyLabelKey(name string) string

func OpenStackDependencyLabelNetwork

func OpenStackDependencyLabelNetwork(name string) string

func OpenStackDependencyLabelPort

func OpenStackDependencyLabelPort(name string) string

func OpenStackDependencyLabelSecret

func OpenStackDependencyLabelSecret(name string) string

func OpenStackDependencyLabelSecurityGroup

func OpenStackDependencyLabelSecurityGroup(name string) string

func OpenStackDependencyLabelSubnet

func OpenStackDependencyLabelSubnet(name string) string

Types

type CommonSpec

type CommonSpec struct {
	// Cloud is the OpenStackCloud hosting this resource
	Cloud string `json:"cloud"`

	// Unmanaged, when true, means that no action will be performed in
	// OpenStack against this resource.
	Unmanaged bool `json:"unmanaged,omitempty"`
}

func (*CommonSpec) DeepCopy

func (in *CommonSpec) DeepCopy() *CommonSpec

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

func (*CommonSpec) DeepCopyInto

func (in *CommonSpec) DeepCopyInto(out *CommonSpec)

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

type CommonStatus

type CommonStatus struct {
	// Represents the observations of an OpenStack resource's current state.
	// All resources must define: "Ready", "WaitingFor", "Error"
	// +patchMergeKey=type
	// +patchStrategy=merge
	// +listType=map
	// +listMapKey=type
	Conditions []metav1.Condition `json:"conditions,omitempty"`
}

CommonStatus defines fields common to all OpenStack resource statuses

func (*CommonStatus) DeepCopy

func (in *CommonStatus) DeepCopy() *CommonStatus

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

func (*CommonStatus) DeepCopyInto

func (in *CommonStatus) DeepCopyInto(out *CommonStatus)

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

type FixedIP

type FixedIP struct {
	IPAddress string `json:"ipAddress,omitempty"`
	Subnet    string `json:"subnet,omitempty"`
}

FixedIP is a data structure used in multiple resources to identify an IP address on a subnet.

func (*FixedIP) DeepCopy

func (in *FixedIP) DeepCopy() *FixedIP

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

func (*FixedIP) DeepCopyInto

func (in *FixedIP) DeepCopyInto(out *FixedIP)

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

type OpenStackCloud

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

	Spec   OpenStackCloudSpec   `json:"spec,omitempty"`
	Status OpenStackCloudStatus `json:"status,omitempty"`
}

OpenStackCloud is the Schema for the openstackclouds API

func (*OpenStackCloud) DeepCopy

func (in *OpenStackCloud) DeepCopy() *OpenStackCloud

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

func (*OpenStackCloud) DeepCopyInto

func (in *OpenStackCloud) DeepCopyInto(out *OpenStackCloud)

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

func (*OpenStackCloud) DeepCopyObject

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

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

func (*OpenStackCloud) OpenStackCommonStatus

func (c *OpenStackCloud) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackCloudCredentials

type OpenStackCloudCredentials struct {
	// Source defines the source type of the credentials. The only supported value is "secret".
	// +kubebuilder:validation:Enum=secret
	Source string `json:"source"`

	// SecretRef defines the reference to the secret containing the credentials.
	SecretRef OpenStackCloudCredentialsSecretRef `json:"secretRef"`
}

func (*OpenStackCloudCredentials) DeepCopy

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

func (*OpenStackCloudCredentials) DeepCopyInto

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

type OpenStackCloudCredentialsSecretRef

type OpenStackCloudCredentialsSecretRef struct {
	// Name is the name of the secret containing the credentials.
	Name string `json:"name"`

	// Key is the key in the secret containing the credentials.
	Key string `json:"key"`
}

func (*OpenStackCloudCredentialsSecretRef) DeepCopy

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

func (*OpenStackCloudCredentialsSecretRef) DeepCopyInto

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

type OpenStackCloudList

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

OpenStackCloudList contains a list of OpenStackCloud

func (*OpenStackCloudList) DeepCopy

func (in *OpenStackCloudList) DeepCopy() *OpenStackCloudList

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

func (*OpenStackCloudList) DeepCopyInto

func (in *OpenStackCloudList) DeepCopyInto(out *OpenStackCloudList)

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

func (*OpenStackCloudList) DeepCopyObject

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

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

type OpenStackCloudSpec

type OpenStackCloudSpec struct {
	// Cloud is the key to look for in the "clouds" object in clouds.yaml.
	Cloud string `json:"cloud"`

	// Credentials defines where to find clouds.yaml.
	Credentials OpenStackCloudCredentials `json:"credentials"`
}

OpenStackCloudSpec defines the desired state of OpenStackCloud

func (*OpenStackCloudSpec) DeepCopy

func (in *OpenStackCloudSpec) DeepCopy() *OpenStackCloudSpec

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

func (*OpenStackCloudSpec) DeepCopyInto

func (in *OpenStackCloudSpec) DeepCopyInto(out *OpenStackCloudSpec)

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

type OpenStackCloudStatus

type OpenStackCloudStatus struct {
	CommonStatus `json:",inline"`
}

OpenStackCloudStatus defines the observed state of OpenStackCloud

func (*OpenStackCloudStatus) DeepCopy

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

func (*OpenStackCloudStatus) DeepCopyInto

func (in *OpenStackCloudStatus) DeepCopyInto(out *OpenStackCloudStatus)

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

type OpenStackConditionType

type OpenStackConditionType string

type OpenStackFlavor

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

	Spec   OpenStackFlavorSpec   `json:"spec,omitempty"`
	Status OpenStackFlavorStatus `json:"status,omitempty"`
}

OpenStackFlavor is the Schema for the openstackflavors API

func (*OpenStackFlavor) ComputedSpecID

func (r *OpenStackFlavor) ComputedSpecID() string

func (*OpenStackFlavor) DeepCopy

func (in *OpenStackFlavor) DeepCopy() *OpenStackFlavor

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

func (*OpenStackFlavor) DeepCopyInto

func (in *OpenStackFlavor) DeepCopyInto(out *OpenStackFlavor)

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

func (*OpenStackFlavor) DeepCopyObject

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

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

func (*OpenStackFlavor) OpenStackCommonStatus

func (c *OpenStackFlavor) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackFlavorList

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

OpenStackFlavorList contains a list of OpenStackFlavor

func (*OpenStackFlavorList) DeepCopy

func (in *OpenStackFlavorList) DeepCopy() *OpenStackFlavorList

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

func (*OpenStackFlavorList) DeepCopyInto

func (in *OpenStackFlavorList) DeepCopyInto(out *OpenStackFlavorList)

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

func (*OpenStackFlavorList) DeepCopyObject

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

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

type OpenStackFlavorResourceSpec

type OpenStackFlavorResourceSpec struct {
	// ID is the flavor's unique ID.
	ID string `json:"id,omitempty"`

	// Name is the name of the flavor.
	Name string `json:"name,omitempty"`

	// RAM is the memory of the flavor, measured in MB.
	RAM int `json:"ram,omitempty"`

	// VCPUs is the number of vcpus for the flavor.
	VCPUs int `json:"vcpus,omitempty"`

	// Disk is the size of the root disk that will be created in GiB. If 0
	// the root disk will be set to exactly the size of the image used to
	// deploy the instance. However, in this case the scheduler cannot
	// select the compute host based on the virtual image size. Therefore,
	// 0 should only be used for volume booted instances or for testing
	// purposes. Volume-backed instances can be enforced for flavors with
	// zero root disk via the
	// os_compute_api:servers:create:zero_disk_flavor policy rule.
	Disk int `json:"disk,omitempty"`

	// Swap is the size of a dedicated swap disk that will be allocated, in
	// MiB. If 0 (the default), no dedicated swap disk will be created.
	Swap int `json:"swap,omitempty"`

	// RxTxFactor is the receive / transmit factor (as a float) that will
	// be set on ports if the network backend supports the QOS extension.
	// Otherwise it will be ignored. It defaults to 1.0.
	RxTxFactor string `json:"rxtxFactor,omitempty"`

	// IsPublic flags a flavor as being available to all projects or not.
	IsPublic *bool `json:"isPublic,omitempty"`

	// Ephemeral is the size of the ephemeral disk that will be created, in GiB.
	// Ephemeral disks may be written over on server state changes. So should only
	// be used as a scratch space for applications that are aware of its
	// limitations. Defaults to 0.
	Ephemeral int `json:"ephemeral,omitempty"`

	// Description is a free form description of the flavor. Limited to
	// 65535 characters in length. Only printable characters are allowed.
	// New in version 2.55
	Description string `json:"description,omitempty"`
}

OpenStackFlavorResourceSpec defines the desired state of OpenStackFlavor

func (*OpenStackFlavorResourceSpec) DeepCopy

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

func (*OpenStackFlavorResourceSpec) DeepCopyInto

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

type OpenStackFlavorResourceStatus

type OpenStackFlavorResourceStatus struct {
	// ID is the flavor's unique ID.
	ID string `json:"id,omitempty"`

	// Disk is the amount of root disk, measured in GB.
	Disk int `json:"disk,omitempty"`

	// RAM is the amount of memory, measured in MB.
	RAM int `json:"ram,omitempty"`

	// Name is the name of the flavor.
	Name string `json:"name,omitempty"`

	// RxTxFactor describes bandwidth alterations of the flavor.
	RxTxFactor string `json:"rxtxFactor,omitempty"`

	// Swap is the amount of swap space, measured in MB.
	Swap int `json:"swap,omitempty"`

	// VCPUs indicates how many (virtual) CPUs are available for this flavor.
	VCPUs int `json:"vcpus,omitempty"`

	// IsPublic indicates whether the flavor is public.
	IsPublic bool `json:"isPublic,omitempty"`

	// Ephemeral is the amount of ephemeral disk space, measured in GB.
	Ephemeral int `json:"ephemeral,omitempty"`

	// Description is a free form description of the flavor. Limited to
	// 65535 characters in length. Only printable characters are allowed.
	// New in version 2.55
	Description string `json:"description,omitempty"`

	// Properties is a dictionary of the flavor’s extra-specs key-and-value
	// pairs. This will only be included if the user is allowed by policy to
	// index flavor extra_specs
	// New in version 2.61
	ExtraSpecs map[string]string `json:"extraSpecs,omitempty"`
}

OpenStackFlavorResourceStatus defines the observed state of OpenStackFlavor

func (*OpenStackFlavorResourceStatus) DeepCopy

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

func (*OpenStackFlavorResourceStatus) DeepCopyInto

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

type OpenStackFlavorSpec

type OpenStackFlavorSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackFlavorResourceSpec `json:"resource,omitempty"`
}

func (*OpenStackFlavorSpec) DeepCopy

func (in *OpenStackFlavorSpec) DeepCopy() *OpenStackFlavorSpec

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

func (*OpenStackFlavorSpec) DeepCopyInto

func (in *OpenStackFlavorSpec) DeepCopyInto(out *OpenStackFlavorSpec)

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

type OpenStackFlavorStatus

type OpenStackFlavorStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackFlavorResourceStatus `json:"resource,omitempty"`
}

func (*OpenStackFlavorStatus) DeepCopy

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

func (*OpenStackFlavorStatus) DeepCopyInto

func (in *OpenStackFlavorStatus) DeepCopyInto(out *OpenStackFlavorStatus)

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

type OpenStackFloatingIP

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

	Spec   OpenStackFloatingIPSpec   `json:"spec,omitempty"`
	Status OpenStackFloatingIPStatus `json:"status,omitempty"`
}

OpenStackFloatingIP is the Schema for the openstackfloatingips API

func (*OpenStackFloatingIP) DeepCopy

func (in *OpenStackFloatingIP) DeepCopy() *OpenStackFloatingIP

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

func (*OpenStackFloatingIP) DeepCopyInto

func (in *OpenStackFloatingIP) DeepCopyInto(out *OpenStackFloatingIP)

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

func (*OpenStackFloatingIP) DeepCopyObject

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

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

func (*OpenStackFloatingIP) OpenStackCommonStatus

func (c *OpenStackFloatingIP) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackFloatingIPList

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

OpenStackFloatingIPList contains a list of OpenStackFloatingIP

func (*OpenStackFloatingIPList) DeepCopy

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

func (*OpenStackFloatingIPList) DeepCopyInto

func (in *OpenStackFloatingIPList) DeepCopyInto(out *OpenStackFloatingIPList)

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

func (*OpenStackFloatingIPList) DeepCopyObject

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

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

type OpenStackFloatingIPResourceSpec

type OpenStackFloatingIPResourceSpec struct {
	Description string `json:"description,omitempty"`

	// FloatingNetwork is the external OpenStackNetwork where the floating
	// IP is to be created.
	// +kubebuilder:validation:Required
	FloatingNetwork string `json:"floatingNetwork,omitempty"`

	FloatingIPAddress string `json:"floatingIPAddress,omitempty"`
	Port              string `json:"port,omitempty"`
	FixedIPAddress    string `json:"fixedIPAddress,omitempty"`
	Subnet            string `json:"subnetID,omitempty"`
	TenantID          string `json:"tenantID,omitempty"`
	ProjectID         string `json:"projectID,omitempty"`
}

OpenStackFloatingIPResourceSpec defines the desired state of OpenStackFloatingIP

func (*OpenStackFloatingIPResourceSpec) DeepCopy

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

func (*OpenStackFloatingIPResourceSpec) DeepCopyInto

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

type OpenStackFloatingIPResourceStatus

type OpenStackFloatingIPResourceStatus struct {
	// ID is the unique identifier for the floating IP instance.
	ID string `json:"id,omitempty"`

	// Description for the floating IP instance.
	Description string `json:"description,omitempty"`

	// FloatingNetworkID is the UUID of the external network where the floating
	// IP is to be created.
	FloatingNetworkID string `json:"floatingNetworkID,omitempty"`

	// FloatingIP is the address of the floating IP on the external network.
	FloatingIP string `json:"floatingIPAddress,omitempty"`

	// PortID is the UUID of the port on an internal network that is associated
	// with the floating IP.
	PortID string `json:"portIP,omitempty"`

	// FixedIP is the specific IP address of the internal port which should be
	// associated with the floating IP.
	FixedIP string `json:"fixedIPAddress,omitempty"`

	// TenantID is the project owner of the floating IP. Only admin users can
	// specify a project identifier other than its own.
	TenantID string `json:"tenantID,omitempty"`

	// UpdatedAt contains the timestamp of when the resource was last
	// changed.
	UpdatedAt string `json:"updatedAt,omitempty"`

	// CreatedAt contains the timestamp of when the resource was created.
	CreatedAt string `json:"createdAt,omitempty"`

	// ProjectID is the project owner of the floating IP.
	ProjectID string `json:"projectID,omitempty"`

	// Status is the condition of the API resource.
	Status string `json:"status,omitempty"`

	// RouterID is the ID of the router used for this floating IP.
	RouterID string `json:"routerID,omitempty"`

	// Tags optionally set via extensions/attributestags
	Tags []string `json:"tags,omitempty"`
}

OpenStackFloatingIPResourceStatus defines the observed state of OpenStackFloatingIP

func (*OpenStackFloatingIPResourceStatus) DeepCopy

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

func (*OpenStackFloatingIPResourceStatus) DeepCopyInto

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

type OpenStackFloatingIPSpec

type OpenStackFloatingIPSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackFloatingIPResourceSpec `json:"resource,omitempty"`
}

func (*OpenStackFloatingIPSpec) DeepCopy

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

func (*OpenStackFloatingIPSpec) DeepCopyInto

func (in *OpenStackFloatingIPSpec) DeepCopyInto(out *OpenStackFloatingIPSpec)

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

type OpenStackFloatingIPStatus

type OpenStackFloatingIPStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackFloatingIPResourceStatus `json:"resource,omitempty"`
}

func (*OpenStackFloatingIPStatus) DeepCopy

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

func (*OpenStackFloatingIPStatus) DeepCopyInto

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

type OpenStackImage

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

	Spec   OpenStackImageSpec   `json:"spec,omitempty"`
	Status OpenStackImageStatus `json:"status,omitempty"`
}

OpenStackImage is the Schema for the openstackimages API

func (*OpenStackImage) ComputedSpecID

func (r *OpenStackImage) ComputedSpecID() string

func (*OpenStackImage) DeepCopy

func (in *OpenStackImage) DeepCopy() *OpenStackImage

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

func (*OpenStackImage) DeepCopyInto

func (in *OpenStackImage) DeepCopyInto(out *OpenStackImage)

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

func (*OpenStackImage) DeepCopyObject

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

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

func (*OpenStackImage) OpenStackCommonStatus

func (c *OpenStackImage) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackImageList

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

OpenStackImageList contains a list of OpenStackImage

func (*OpenStackImageList) DeepCopy

func (in *OpenStackImageList) DeepCopy() *OpenStackImageList

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

func (*OpenStackImageList) DeepCopyInto

func (in *OpenStackImageList) DeepCopyInto(out *OpenStackImageList)

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

func (*OpenStackImageList) DeepCopyObject

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

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

type OpenStackImageResourceSpec

type OpenStackImageResourceSpec struct {
	// ContainerFormat is the format of the
	// container. Valid values are ami, ari, aki, bare, and ovf.
	ContainerFormat string `json:"containerFormat,omitempty"`

	// DiskFormat is the format of the disk. If set,
	// valid values are ami, ari, aki, vhd, vmdk, raw, qcow2, vdi,
	// and iso.
	DiskFormat string `json:"diskFormat,omitempty"`

	// ID is the OpenStack UUID of the resource. If left empty, the
	// controller will create a new resource and populate this field. If
	// manually populated, the controller will adopt the corresponding
	// resource.
	ID string `json:"id,omitempty"`

	// MinDisk is the amount of disk space in GB that is required to boot
	// the image.
	MinDisk int `json:"minDisk,omitempty"`

	// MinRAM is the amount of RAM in MB that is required to boot the
	// image.
	MinRAM int `json:"minRam,omitempty"`

	// Name of the OpenStack resource.
	Name string `json:"name,omitempty"`

	// protected is whether the image is not deletable.
	Protected *bool `json:"protected,omitempty"`

	// Tags is a set of image tags.
	// Each tag is a string of at most 255 chars.
	Tags []string `json:"tags,omitempty"`

	// Visibility defines who can see/use the image.
	// +kubebuilder:validation:Enum:="public";"private";"shared";"community"
	Visibility *string `json:"visibility,omitempty"`

	// Method is the Glance Interoperable Import method to use. The only
	// supported method is currently "web-download".
	// +kubebuilder:validation:Enum:="";"web-download"
	Method string `json:"method,omitempty"`

	// WebDownload can be populated if Method is "web-download".
	WebDownload *OpenStackImageResourceWebDownload `json:"webDownload,omitempty"`

	Checksum string `json:"checksum,omitempty"`
}

OpenStackImageSpec defines the desired state of OpenStackImage

func (*OpenStackImageResourceSpec) DeepCopy

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

func (*OpenStackImageResourceSpec) DeepCopyInto

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

type OpenStackImageResourceStatus

type OpenStackImageResourceStatus struct {
	// ID is the image UUID.
	ID string `json:"id"`

	// Name is the human-readable display name for the image.
	Name string `json:"name"`

	// Status is the image status. It can be "queued" or "active"
	// See imageservice/v2/images/type.go
	Status string `json:"status,omitempty"`

	// Tags is a list of image tags. Tags are arbitrarily defined strings
	// attached to an image.
	Tags []string `json:"tags,omitempty"`

	// ContainerFormat is the format of the container.
	// Valid values are ami, ari, aki, bare, and ovf.
	ContainerFormat string `json:"containerFormat,omitempty"`

	// DiskFormat is the format of the disk.
	// If set, valid values are ami, ari, aki, vhd, vmdk, raw, qcow2, vdi,
	// and iso.
	DiskFormat string `json:"diskFormat,omitempty"`

	// MinDisk is the amount of disk space in GB that is required to boot
	// the image.
	MinDisk int `json:"minDisk,omitempty"`

	// MinRAM is the amount of RAM in MB that is required to boot the
	// image.
	MinRAM int `json:"minRam,omitempty"`

	// Owner is the tenant ID the image belongs to.
	Owner string `json:"owner,omitempty"`

	// Protected is whether the image is deletable or not.
	Protected bool `json:"protected,omitempty"`

	// Visibility defines who can see/use the image.
	Visibility string `json:"visibility,omitempty"`

	// Hidden is whether the image is listed in default image list or not.
	Hidden bool `json:"hidden,omitempty"`

	// Checksum is the checksum of the data that's associated with the
	// image.
	Checksum string `json:"checksum,omitempty"`

	// Size is the size in bytes of the data that's associated with the
	// image.
	Size int64 `json:"size,omitempty"`

	// Metadata is a set of metadata associated with the image.
	// Image metadata allow for meaningfully define the image properties
	// and tags.
	// See http://docs.openstack.org/developer/glance/metadefs-concepts.html.
	Metadata map[string]string `json:"metadata,omitempty"`

	// Properties is a set of key-value pairs, if any, that are associated with
	// the image.
	Properties map[string]string `json:"properties,omitempty"`

	// UpdatedAt contains the timestamp of when the resource was last
	// changed.
	UpdatedAt string `json:"updatedAt,omitempty"`

	// CreatedAt contains the timestamp of when the resource was created.
	CreatedAt string `json:"createdAt,omitempty"`

	// File is the trailing path after the glance endpoint that represent the
	// location of the image or the path to retrieve it.
	File string `json:"file,omitempty"`

	// Schema is the path to the JSON-schema that represent the image or image
	// entity.
	Schema string `json:"schema,omitempty"`

	// VirtualSize is the virtual size of the image
	VirtualSize int64 `json:"virtualSize,omitempty"`

	// OpenStackImageImportMethods is a slice listing the types of import
	// methods available in the cloud.
	ImportMethods []string `json:"importMethods,omitempty"`

	// StoreIDs is a slice listing the store IDs available in the cloud.
	StoreIDs []string `json:"storeIDs,omitempty"`
}

OpenStackImageStatus defines the observed state of OpenStackImage

func (*OpenStackImageResourceStatus) DeepCopy

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

func (*OpenStackImageResourceStatus) DeepCopyInto

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

type OpenStackImageResourceWebDownload

type OpenStackImageResourceWebDownload struct {
	URL string `json:"url,omitempty"`
}

func (*OpenStackImageResourceWebDownload) DeepCopy

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

func (*OpenStackImageResourceWebDownload) DeepCopyInto

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

type OpenStackImageSpec

type OpenStackImageSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackImageResourceSpec `json:"resource,omitempty"`
}

OpenStackImageSpec defines the desired state of OpenStackImage

func (*OpenStackImageSpec) DeepCopy

func (in *OpenStackImageSpec) DeepCopy() *OpenStackImageSpec

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

func (*OpenStackImageSpec) DeepCopyInto

func (in *OpenStackImageSpec) DeepCopyInto(out *OpenStackImageSpec)

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

type OpenStackImageStatus

type OpenStackImageStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackImageResourceStatus `json:"resource,omitempty"`
}

OpenStackImageStatus defines the observed state of OpenStackImage

func (*OpenStackImageStatus) DeepCopy

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

func (*OpenStackImageStatus) DeepCopyInto

func (in *OpenStackImageStatus) DeepCopyInto(out *OpenStackImageStatus)

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

type OpenStackKeypair

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

	Spec   OpenStackKeypairSpec   `json:"spec,omitempty"`
	Status OpenStackKeypairStatus `json:"status,omitempty"`
}

OpenStackKeypair is the Schema for the openstackkeypairs API

func (*OpenStackKeypair) DeepCopy

func (in *OpenStackKeypair) DeepCopy() *OpenStackKeypair

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

func (*OpenStackKeypair) DeepCopyInto

func (in *OpenStackKeypair) DeepCopyInto(out *OpenStackKeypair)

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

func (*OpenStackKeypair) DeepCopyObject

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

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

func (*OpenStackKeypair) OpenStackCommonStatus

func (c *OpenStackKeypair) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackKeypairList

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

OpenStackKeypairList contains a list of OpenStackKeypair

func (*OpenStackKeypairList) DeepCopy

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

func (*OpenStackKeypairList) DeepCopyInto

func (in *OpenStackKeypairList) DeepCopyInto(out *OpenStackKeypairList)

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

func (*OpenStackKeypairList) DeepCopyObject

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

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

type OpenStackKeypairResourceSpec

type OpenStackKeypairResourceSpec struct {
	// Name of the OpenStack resource.
	Name string `json:"name,omitempty"`

	// PublicKey is the public ssh key to import. Was optional before
	// microversion 2.92 : if you were omitting this value, a keypair was
	// generated for you.
	PublicKey string `json:"publicKey"`

	// Type is the type of the keypair. Allowed values are ssh or x509. New
	// in version 2.2
	// +kubebuilder:validation:Enum:="";"ssh";"x509"
	Type string `json:"type,omitempty"`

	// UserID is the user_id for a keypair. This allows administrative
	// users to upload keys for other users than themselves. New in version
	// 2.10
	UserID string `json:"userID,omitempty"`
}

func (*OpenStackKeypairResourceSpec) DeepCopy

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

func (*OpenStackKeypairResourceSpec) DeepCopyInto

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

type OpenStackKeypairResourceStatus

type OpenStackKeypairResourceStatus struct {
	Name        string `json:"name,omitempty"`
	PublicKey   string `json:"publicKey,omitempty"`
	Fingerprint string `json:"fingerprint,omitempty"`
	UserID      string `json:"userID,omitempty"`
	Type        string `json:"type,omitempty"`
}

func (*OpenStackKeypairResourceStatus) DeepCopy

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

func (*OpenStackKeypairResourceStatus) DeepCopyInto

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

type OpenStackKeypairSpec

type OpenStackKeypairSpec struct {
	CommonSpec `json:",inline"`

	// Name is the identifier of the existing OpenStack resource to be
	// adopted. If left empty, the controller will create a new resource
	// using the information in the "resource" stanza.
	Name string `json:"name,omitempty"`

	Resource *OpenStackKeypairResourceSpec `json:"resource,omitempty"`
}

OpenStackKeypairSpec defines the desired state of OpenStackKeypair

func (*OpenStackKeypairSpec) DeepCopy

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

func (*OpenStackKeypairSpec) DeepCopyInto

func (in *OpenStackKeypairSpec) DeepCopyInto(out *OpenStackKeypairSpec)

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

type OpenStackKeypairStatus

type OpenStackKeypairStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackKeypairResourceStatus `json:"resource,omitempty"`
}

OpenStackKeypairStatus defines the observed state of OpenStackKeypair

func (*OpenStackKeypairStatus) DeepCopy

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

func (*OpenStackKeypairStatus) DeepCopyInto

func (in *OpenStackKeypairStatus) DeepCopyInto(out *OpenStackKeypairStatus)

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

type OpenStackNetwork

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

	Spec   OpenStackNetworkSpec   `json:"spec,omitempty"`
	Status OpenStackNetworkStatus `json:"status,omitempty"`
}

OpenStackNetwork is the Schema for the openstacknetworks API

func (*OpenStackNetwork) DeepCopy

func (in *OpenStackNetwork) DeepCopy() *OpenStackNetwork

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

func (*OpenStackNetwork) DeepCopyInto

func (in *OpenStackNetwork) DeepCopyInto(out *OpenStackNetwork)

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

func (*OpenStackNetwork) DeepCopyObject

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

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

func (*OpenStackNetwork) OpenStackCommonStatus

func (c *OpenStackNetwork) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackNetworkList

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

OpenStackNetworkList contains a list of OpenStackNetwork

func (*OpenStackNetworkList) DeepCopy

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

func (*OpenStackNetworkList) DeepCopyInto

func (in *OpenStackNetworkList) DeepCopyInto(out *OpenStackNetworkList)

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

func (*OpenStackNetworkList) DeepCopyObject

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

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

type OpenStackNetworkResourceSpec

type OpenStackNetworkResourceSpec struct {
	// ID is the OpenStack UUID of the resource. If left empty, the
	// controller will create a new resource and populate this field. If
	// manually populated, the controller will adopt the corresponding
	// resource.
	ID string `json:"id,omitempty"`

	// Name of the OpenStack resource.
	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`

	AdminStateUp *bool `json:"adminStateUp,omitempty"`

	DNSDomain string `json:"dnsDomain,omitempty"`

	// MTU is the the maximum transmission unit value to address
	// fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
	MTU int32 `json:"mtu,omitempty"`

	// PortSecurityEnabled is the port security status of the network.
	// Valid values are enabled (true) and disabled (false). This value is
	// used as the default value of port_security_enabled field of a newly
	// created port.
	PortSecurityEnabled *bool `json:"portSecurityEnabled,omitempty"`

	// TenantID is the project owner of the resource. Only admin users can
	// specify a project identifier other than its own.
	TenantID string `json:"tenantID,omitempty"`

	// ProjectID is the project owner of the resource.
	ProjectID string `json:"projectID,omitempty"`

	// QoSPolicyID is the ID of the QoS policy associated with the network.
	QoSPolicyID string `json:"qosPolicyID,omitempty"`

	// External indicates whether the network has an external routing
	// facility that’s not managed by the networking service.
	External *bool `json:"external,omitempty"`

	Segment OpenStackNetworkSegment `json:",inline"`

	// Segment is a list of provider segment objects.
	Segments []OpenStackNetworkSegment `json:"segments,omitempty"`

	// Shared indicates whether this resource is shared across all
	// projects. By default, only administrative users can change this
	// value.
	Shared *bool `json:"shared,omitempty"`

	// VLANTransparent indicates the VLAN transparency mode of the network,
	// which is VLAN transparent (true) or not VLAN transparent (false).
	VLANTransparent *bool `json:"vlanTransparent,omitempty"`

	IsDefault *bool `json:"isDefault,omitempty"`

	// AvailabilityZoneHints is the availability zone candidate for the network.
	AvailabilityZoneHints []string `json:"availabilityZoneHints,omitempty"`
}

OpenStackNetworkSpec defines the desired state of OpenStackNetwork

func (*OpenStackNetworkResourceSpec) DeepCopy

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

func (*OpenStackNetworkResourceSpec) DeepCopyInto

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

type OpenStackNetworkResourceStatus

type OpenStackNetworkResourceStatus struct {
	// AdminStateUp is the administrative state of the network, which is up
	// (true) or down (false).
	AdminStateUp bool `json:"adminStateUp,omitempty"`

	// AvailabilityZoneHints is the availability zone candidate for the
	// network.
	AvailabilityZoneHints []string `json:"availabilityZoneHints,omitempty"`

	// Availability is the availability zone for the network.
	AvailabilityZones []string `json:"availabilityZones,omitempty"`

	// CreatedAt contains the timestamp of when the resource was created.
	CreatedAt string `json:"createdAt,omitempty"`

	DNSDomain string `json:"dnsDomain,omitempty"`

	// UUID for the network
	ID string `json:"id,omitempty"`

	// IPV4AddressScope is the ID of the IPv4 address scope that the
	// network is associated with.
	IPV4AddressScope string `json:"ipv4AddressScope,omitempty"`

	// IPV6AddressScope is the ID of the IPv6 address scope that the
	// network is associated with.
	IPV6AddressScope string `json:"ipv6AddressScope,omitempty"`

	// L2Adjacency indicates whether L2 connectivity is available
	// throughout the network.
	L2Adjacency *bool `json:"l2Adjacency,omitempty"`

	// MTU is the the maximum transmission unit value to address
	// fragmentation. Minimum value is 68 for IPv4, and 1280 for IPv6.
	MTU int32 `json:"mtu,omitempty"`

	// Human-readable name for the network. Might not be unique.
	Name string `json:"name,omitempty"`

	// PortSecurityEnabled is the port security status of the network.
	// Valid values are enabled (true) and disabled (false). This value is
	// used as the default value of port_security_enabled field of a newly
	// created port.
	PortSecurityEnabled *bool `json:"portSecurityEnabled,omitempty"`

	// ProjectID is the project owner of the network.
	ProjectID string `json:"projectID,omitempty"`

	Segment OpenStackNetworkSegment `json:",inline"`

	// QoSPolicyID is the ID of the QoS policy associated with the network.
	QoSPolicyID string `json:"qosPolicyID,omitempty"`

	// RevisionNumber is the revision number of the resource.
	RevisionNumber int32 `json:"revisionNumber,omitempty"`

	// External defines whether the network may be used for creation of
	// floating IPs. Only networks with this flag may be an external
	// gateway for routers. The network must have an external routing
	// facility that is not managed by the networking service. If the
	// network is updated from external to internal the unused floating IPs
	// of this network are automatically deleted when extension
	// floatingip-autodelete-internal is present.
	External bool `json:"external,omitempty"`

	// Segment is a list of provider segment objects.
	Segments []OpenStackNetworkSegment `json:"segments,omitempty"`

	// Specifies whether the network resource can be accessed by any tenant.
	Shared bool `json:"shared,omitempty"`

	// Indicates whether network is currently operational. Possible values
	// include `ACTIVE', `DOWN', `BUILD', or `ERROR'. Plug-ins might define
	// additional values.
	Status string `json:"status,omitempty"`

	// Subnets associated with this network.
	Subnets []string `json:"subnets,omitempty"`

	// TenantID is the project owner of the network.
	TenantID string `json:"tenantID,omitempty"`

	// UpdatedAt contains the timestamp of when the resource was last
	// changed.
	UpdatedAt string `json:"updatedAt,omitempty"`

	// VLANTransparent indicates the VLAN transparency mode of the network,
	// which is VLAN transparent (true) or not VLAN transparent (false).
	VLANTransparent bool `json:"vlanTransparent,omitempty"`

	// Description is a human-readable description for the resource.
	Description string `json:"description,omitempty"`

	IsDefault *bool `json:"isDefault,omitempty"`

	// Tags is the list of tags on the resource.
	Tags []string `json:"tags,omitempty"`
}

OpenStackNetworkStatus defines the observed state of OpenStackNetwork

func (*OpenStackNetworkResourceStatus) DeepCopy

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

func (*OpenStackNetworkResourceStatus) DeepCopyInto

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

type OpenStackNetworkSegment

type OpenStackNetworkSegment struct {
	// ProviderNetworkType is the type of physical network that this
	// network should be mapped to. For example, flat, vlan, vxlan, or gre.
	// Valid values depend on a networking back-end.
	ProviderNetworkType string `json:"providerNetworkType,omitempty"`

	// ProviderPhysicalNetwork is the physical network where this network
	// should be implemented. The Networking API v2.0 does not provide a
	// way to list available physical networks. For example, the Open
	// vSwitch plug-in configuration file defines a symbolic name that maps
	// to specific bridges on each compute host.
	ProviderPhysicalNetwork string `json:"providerPhysicalNetwork,omitempty"`

	// ProviderSegmentationID is the ID of the isolated segment on the
	// physical network. The network_type attribute defines the
	// segmentation model. For example, if the network_type value is vlan,
	// this ID is a vlan identifier. If the network_type value is gre, this
	// ID is a gre key.
	ProviderSegmentationID int32 `json:"providerSegmentationID,omitempty"`
}

func (*OpenStackNetworkSegment) DeepCopy

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

func (*OpenStackNetworkSegment) DeepCopyInto

func (in *OpenStackNetworkSegment) DeepCopyInto(out *OpenStackNetworkSegment)

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

type OpenStackNetworkSpec

type OpenStackNetworkSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackNetworkResourceSpec `json:"resource,omitempty"`
}

OpenStackNetworkSpec defines the desired state of OpenStackNetwork

func (*OpenStackNetworkSpec) DeepCopy

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

func (*OpenStackNetworkSpec) DeepCopyInto

func (in *OpenStackNetworkSpec) DeepCopyInto(out *OpenStackNetworkSpec)

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

type OpenStackNetworkStatus

type OpenStackNetworkStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackNetworkResourceStatus `json:"resource,omitempty"`
}

OpenStackNetworkStatus defines the observed state of OpenStackNetwork

func (*OpenStackNetworkStatus) DeepCopy

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

func (*OpenStackNetworkStatus) DeepCopyInto

func (in *OpenStackNetworkStatus) DeepCopyInto(out *OpenStackNetworkStatus)

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

type OpenStackPort

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

	Spec   OpenStackPortSpec   `json:"spec,omitempty"`
	Status OpenStackPortStatus `json:"status,omitempty"`
}

OpenStackPort is the Schema for the openstackports API

func (*OpenStackPort) DeepCopy

func (in *OpenStackPort) DeepCopy() *OpenStackPort

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

func (*OpenStackPort) DeepCopyInto

func (in *OpenStackPort) DeepCopyInto(out *OpenStackPort)

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

func (*OpenStackPort) DeepCopyObject

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

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

func (*OpenStackPort) OpenStackCommonStatus

func (c *OpenStackPort) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackPortAllowedAddressPair

type OpenStackPortAllowedAddressPair struct {
	IPAddress  string `json:"ipAddress"`
	MACAddress string `json:"macAddress,omitempty"`
}

func (*OpenStackPortAllowedAddressPair) DeepCopy

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

func (*OpenStackPortAllowedAddressPair) DeepCopyInto

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

type OpenStackPortDHCPOption

type OpenStackPortDHCPOption struct {
	OptValue  string `json:"optValue,omitempty"`
	IpVersion int    `json:"ipVersion,omitempty"`
	OptName   string `json:"optName,omitempty"`
}

func (*OpenStackPortDHCPOption) DeepCopy

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

func (*OpenStackPortDHCPOption) DeepCopyInto

func (in *OpenStackPortDHCPOption) DeepCopyInto(out *OpenStackPortDHCPOption)

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

type OpenStackPortList

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

OpenStackPortList contains a list of OpenStackPort

func (*OpenStackPortList) DeepCopy

func (in *OpenStackPortList) DeepCopy() *OpenStackPortList

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

func (*OpenStackPortList) DeepCopyInto

func (in *OpenStackPortList) DeepCopyInto(out *OpenStackPortList)

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

func (*OpenStackPortList) DeepCopyObject

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

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

type OpenStackPortResourceSpec

type OpenStackPortResourceSpec struct {
	// The administrative state of the resource, which is up (true) or down (false). Default is true.
	AdminStateUp *bool `json:"adminStateUp,omitempty"`

	// A set of zero or more allowed address pair objects each where
	// address pair object contains an ip_address and mac_address. While
	// the ip_address is required, the mac_address will be taken from the
	// port if not specified. The value of ip_address can be an IP Address
	// or a CIDR (if supported by the underlying extension plugin). A
	// server connected to the port can send a packet with source address
	// which matches one of the specified allowed address pairs.
	AllowedAddressPairs []OpenStackPortAllowedAddressPair `json:"allowedAddressPairs,omitempty"`

	// A human-readable description for the resource. Default is an empty
	// string.
	Description string `json:"description,omitempty"`

	// The entity type that uses this port. For example, compute:nova
	// (server instance), network:dhcp (DHCP agent) or
	// network:router_interface (router interface).
	DeviceOwner string `json:"deviceOwner,omitempty"`

	// The IP addresses for the port. If you would like to assign multiple
	// IP addresses for the port, specify multiple entries in this field.
	// Each entry consists of IP address (ip_address) and the subnet ID
	// from which the IP address is assigned (subnet_id). If you specify
	// both a subnet ID and an IP address, OpenStack Networking tries to
	// allocate the IP address on that subnet to the port. If you specify
	// only a subnet ID, OpenStack Networking allocates an available IP
	// from that subnet to the port. If you specify only an IP address,
	// OpenStack Networking tries to allocate the IP address if the address
	// is a valid IP for any of the subnets on the specified network.
	FixedIPs []FixedIP `json:"fixedIPs,omitempty"`

	// The MAC address of the port. If unspecified, a MAC address is
	// automatically generated.
	MACAddress string `json:"macAddress,omitempty"`

	// Human-readable name of the resource. Default is an empty string.
	Name string `json:"name,omitempty"`

	// The name of the attached OpenStackNetwork
	Network string `json:"network,omitempty"`

	// The ID of the project that owns the resource. Only administrative
	// and users with advsvc role can specify a project ID other than their
	// own. You cannot change this value through authorization policies.
	ProjectID string `json:"projectID,omitempty"`

	// The OpenStackSecurityGroups applied to the port.
	SecurityGroups []string `json:"securityGroups,omitempty"`

	// The ID of the project that owns the resource. Only administrative
	// and users with advsvc role can specify a project ID other than their
	// own. You cannot change this value through authorization policies.
	TenantID string `json:"tenantID,omitempty"`

	// The uplink status propagation of the port. Valid values are enabled
	// (true) and disabled (false).
	PropagateUplinkStatus *bool `json:"propagateUplinkStatus,omitempty"`
}

func (*OpenStackPortResourceSpec) DeepCopy

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

func (*OpenStackPortResourceSpec) DeepCopyInto

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

type OpenStackPortResourceStatus

type OpenStackPortResourceStatus struct {
	// UUID for the port.
	ID string `json:"id,omitempty"`

	// Network that this port is associated with.
	NetworkID string `json:"networkID,omitempty"`

	// Human-readable name for the port. Might not be unique.
	Name string `json:"name,omitempty"`

	// Describes the port.
	Description string `json:"description,omitempty"`

	// Administrative state of port. If false (down), port does not forward
	// packets.
	AdminStateUp bool `json:"adminStateUp,omitempty"`

	// Indicates whether network is currently operational. Possible values include
	// `ACTIVE', `DOWN', `BUILD', or `ERROR'. Plug-ins might define additional
	// values.
	Status string `json:"status,omitempty"`

	// Mac address to use on this port.
	MACAddress string `json:"macAddress,omitempty"`

	// Specifies IP addresses for the port thus associating the port itself with
	// the subnets where the IP addresses are picked from
	FixedIPs []OpenStackPortStatusFixedIP `json:"fixedIPs,omitempty"`

	// TenantID is the project owner of the port.
	TenantID string `json:"tenantID,omitempty"`

	// ProjectID is the project owner of the port.
	ProjectID string `json:"projectID,omitempty"`

	// Identifies the entity (e.g.: dhcp agent) using this port.
	DeviceOwner string `json:"deviceOwner,omitempty"`

	// Specifies the IDs of any security groups associated with a port.
	SecurityGroups []string `json:"securityGroups,omitempty"`

	// Identifies the device (e.g., virtual server) using this port.
	DeviceID string `json:"deviceID,omitempty"`

	// Identifies the list of IP addresses the port will recognize/accept
	AllowedAddressPairs []OpenStackPortAllowedAddressPair `json:"allowedAddressPairs,omitempty"`

	// Tags optionally set via extensions/attributestags
	Tags []string `json:"tags,omitempty"`

	// PropagateUplinkStatus enables/disables propagate uplink status on the port.
	PropagateUplinkStatus bool `json:"propagateUplinkStatus,omitempty"`

	// Extra parameters to include in the request.
	ValueSpecs map[string]string `json:"valueSpecs,omitempty"`

	// RevisionNumber optionally set via extensions/standard-attr-revisions
	RevisionNumber int `json:"revisionNumber,omitempty"`

	// Timestamp when the port was created
	CreatedAt string `json:"createdAt,omitempty"`

	// Timestamp when the port was last updated
	UpdatedAt string `json:"updatedAt,omitempty"`
}

func (*OpenStackPortResourceStatus) DeepCopy

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

func (*OpenStackPortResourceStatus) DeepCopyInto

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

type OpenStackPortSpec

type OpenStackPortSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackPortResourceSpec `json:"resource,omitempty"`
}

OpenStackPortSpec defines the desired state of OpenStackPort

func (*OpenStackPortSpec) DeepCopy

func (in *OpenStackPortSpec) DeepCopy() *OpenStackPortSpec

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

func (*OpenStackPortSpec) DeepCopyInto

func (in *OpenStackPortSpec) DeepCopyInto(out *OpenStackPortSpec)

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

type OpenStackPortStatus

type OpenStackPortStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackPortResourceStatus `json:"resource,omitempty"`
}

OpenStackPortStatus defines the observed state of OpenStackPort

func (*OpenStackPortStatus) DeepCopy

func (in *OpenStackPortStatus) DeepCopy() *OpenStackPortStatus

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

func (*OpenStackPortStatus) DeepCopyInto

func (in *OpenStackPortStatus) DeepCopyInto(out *OpenStackPortStatus)

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

type OpenStackPortStatusFixedIP

type OpenStackPortStatusFixedIP struct {
	IPAddress string `json:"ipAddress,omitempty"`
	SubnetID  string `json:"subnetID,omitempty"`
}

func (*OpenStackPortStatusFixedIP) DeepCopy

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

func (*OpenStackPortStatusFixedIP) DeepCopyInto

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

type OpenStackResourceCommonStatus

type OpenStackResourceCommonStatus interface {
	OpenStackCommonStatus() *CommonStatus
}

OpenStackResourceCommonStatus returns status fields common to all OpenStack resources +kubebuilder:object:generate=false

type OpenStackRouter

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

	Spec   OpenStackRouterSpec   `json:"spec,omitempty"`
	Status OpenStackRouterStatus `json:"status,omitempty"`
}

OpenStackRouter is the Schema for the openstackrouters API

func (*OpenStackRouter) DeepCopy

func (in *OpenStackRouter) DeepCopy() *OpenStackRouter

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

func (*OpenStackRouter) DeepCopyInto

func (in *OpenStackRouter) DeepCopyInto(out *OpenStackRouter)

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

func (*OpenStackRouter) DeepCopyObject

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

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

func (*OpenStackRouter) OpenStackCommonStatus

func (c *OpenStackRouter) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackRouterExternalFixedIP

type OpenStackRouterExternalFixedIP struct {
	IPAddress string `json:"ipAddress,omitempty"`
	Subnet    string `json:"subnet,omitempty"`
}

OpenStackRouterExternalFixedIP is the IP address and subnet of the external gateway of a router.

func (*OpenStackRouterExternalFixedIP) DeepCopy

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

func (*OpenStackRouterExternalFixedIP) DeepCopyInto

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

type OpenStackRouterInterfaceInfo

type OpenStackRouterInterfaceInfo struct {
	// SubnetID is the ID of the subnet which this interface is associated with.
	SubnetID string `json:"subnetID,omitempty"`

	// PortID is the ID of the port that is a part of the subnet.
	PortID string `json:"portID,omitempty"`

	// ID is the UUID of the interface.
	ID string `json:"ID,omitempty"`

	// TenantID is the owner of the interface.
	TenantID string `json:"tenantID,omitempty"`
}

OpenStackRouterInterfaceInfo represents information about a particular router interface. As mentioned above, in order for a router to forward to a subnet, it needs an interface.

func (*OpenStackRouterInterfaceInfo) DeepCopy

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

func (*OpenStackRouterInterfaceInfo) DeepCopyInto

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

type OpenStackRouterList

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

OpenStackRouterList contains a list of OpenStackRouter

func (*OpenStackRouterList) DeepCopy

func (in *OpenStackRouterList) DeepCopy() *OpenStackRouterList

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

func (*OpenStackRouterList) DeepCopyInto

func (in *OpenStackRouterList) DeepCopyInto(out *OpenStackRouterList)

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

func (*OpenStackRouterList) DeepCopyObject

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

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

type OpenStackRouterResourceSpec

type OpenStackRouterResourceSpec struct {
	// Name of the OpenStack resource.
	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`

	ExternalGateway *OpenStackRouterSpecExternalGateway `json:"externalGatewayInfo,omitempty"`

	// AdminStateUp is the administrative state of the router.
	AdminStateUp *bool `json:"adminStateUp,omitempty"`

	// Distributed is whether router is distributed or not.
	Distributed *bool `json:"distributed,omitempty"`

	// Availability zone hints groups router nodes.
	// Used to make router resources highly available.
	AvailabilityZoneHints []string `json:"availabilityZoneHints,omitempty"`

	// TenantID is the project owner of the router. Only admin users can
	// specify a project identifier other than its own.
	TenantID string `json:"tenantID,omitempty"`

	// ProjectID is the project owner of the router.
	ProjectID string `json:"projectID,omitempty"`

	// All the ports that will be added as router interfaces
	Ports []string `json:"ports,omitempty"`
}

OpenStackRouterSpec defines the desired state of OpenStackRouter

func (*OpenStackRouterResourceSpec) DeepCopy

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

func (*OpenStackRouterResourceSpec) DeepCopyInto

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

type OpenStackRouterResourceStatus

type OpenStackRouterResourceStatus struct {
	// Status indicates whether or not a router is currently operational.
	Status string `json:"status,omitempty"`

	// GatewayInfo provides information on external gateway for the router.
	GatewayInfo OpenStackRouterStatusExternalGatewayInfo `json:"externalGatewayInfo,omitempty"`

	// Ports provides information on the interfaces connected to this router
	Ports []string `json:"ports,omitempty"`

	// AdminStateUp is the administrative state of the router.
	AdminStateUp bool `json:"adminStateUp,omitempty"`

	// Distributed is whether router is disitrubted or not.
	Distributed bool `json:"distributed,omitempty"`

	// Name is the human readable name for the router. It does not have to be
	// unique.
	Name string `json:"name,omitempty"`

	// Description for the router.
	Description string `json:"description,omitempty"`

	// ID is the unique identifier for the router.
	ID string `json:"ID,omitempty"`

	// TenantID is the project owner of the router. Only admin users can
	// specify a project identifier other than its own.
	TenantID string `json:"tenantID,omitempty"`

	// ProjectID is the project owner of the router.
	ProjectID string `json:"projectID,omitempty"`

	// Routes are a collection of static routes that the router will host.
	Routes []OpenStackRouterRoute `json:"routes,omitempty"`

	// Availability zone hints groups network nodes that run services like DHCP, L3, FW, and others.
	// Used to make network resources highly available.
	AvailabilityZoneHints []string `json:"availabilityZoneHints,omitempty"`

	// Tags optionally set via extensions/attributestags
	Tags []string `json:"tags,omitempty"`
}

OpenStackRouterStatus defines the observed state of OpenStackRouter

func (*OpenStackRouterResourceStatus) DeepCopy

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

func (*OpenStackRouterResourceStatus) DeepCopyInto

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

type OpenStackRouterRoute

type OpenStackRouterRoute struct {
	NextHop         string `json:"nextHop"`
	DestinationCIDR string `json:"destination"`
}

OpenStackRouterRoute is a possible route in a router.

func (*OpenStackRouterRoute) DeepCopy

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

func (*OpenStackRouterRoute) DeepCopyInto

func (in *OpenStackRouterRoute) DeepCopyInto(out *OpenStackRouterRoute)

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

type OpenStackRouterSpec

type OpenStackRouterSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackRouterResourceSpec `json:"resource,omitempty"`
}

OpenStackRouterSpec defines the desired state of OpenStackPort

func (*OpenStackRouterSpec) DeepCopy

func (in *OpenStackRouterSpec) DeepCopy() *OpenStackRouterSpec

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

func (*OpenStackRouterSpec) DeepCopyInto

func (in *OpenStackRouterSpec) DeepCopyInto(out *OpenStackRouterSpec)

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

type OpenStackRouterSpecExternalGateway

type OpenStackRouterSpecExternalGateway struct {
	Network          string                           `json:"network,omitempty"`
	EnableSNAT       *bool                            `json:"enableSNAT,omitempty"`
	ExternalFixedIPs []OpenStackRouterExternalFixedIP `json:"externalFixedIps,omitempty"`
}

OpenStackRouterSpecExternalGateway represents the information of an external gateway for any particular network router.

func (*OpenStackRouterSpecExternalGateway) DeepCopy

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

func (*OpenStackRouterSpecExternalGateway) DeepCopyInto

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

type OpenStackRouterStatus

type OpenStackRouterStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackRouterResourceStatus `json:"resource,omitempty"`
}

OpenStackRouterStatus defines the observed state of OpenStackPort

func (*OpenStackRouterStatus) DeepCopy

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

func (*OpenStackRouterStatus) DeepCopyInto

func (in *OpenStackRouterStatus) DeepCopyInto(out *OpenStackRouterStatus)

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

type OpenStackRouterStatusExternalGatewayInfo

type OpenStackRouterStatusExternalGatewayInfo struct {
	NetworkID        string                           `json:"networkID,omitempty"`
	EnableSNAT       *bool                            `json:"enableSNAT,omitempty"`
	ExternalFixedIPs []OpenStackRouterExternalFixedIP `json:"externalFixedIps,omitempty"`
}

OpenStackRouterStatusExternalGatewayInfo represents the information of an external gateway for any particular network router.

func (*OpenStackRouterStatusExternalGatewayInfo) DeepCopy

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

func (*OpenStackRouterStatusExternalGatewayInfo) DeepCopyInto

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

type OpenStackSecurityGroup

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

	Spec   OpenStackSecurityGroupSpec   `json:"spec,omitempty"`
	Status OpenStackSecurityGroupStatus `json:"status,omitempty"`
}

OpenStackSecurityGroup is the Schema for the openstacksecuritygroups API

func (*OpenStackSecurityGroup) DeepCopy

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

func (*OpenStackSecurityGroup) DeepCopyInto

func (in *OpenStackSecurityGroup) DeepCopyInto(out *OpenStackSecurityGroup)

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

func (*OpenStackSecurityGroup) DeepCopyObject

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

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

func (*OpenStackSecurityGroup) OpenStackCommonStatus

func (c *OpenStackSecurityGroup) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackSecurityGroupList

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

OpenStackSecurityGroupList contains a list of OpenStackSecurityGroup

func (*OpenStackSecurityGroupList) DeepCopy

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

func (*OpenStackSecurityGroupList) DeepCopyInto

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

func (*OpenStackSecurityGroupList) DeepCopyObject

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

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

type OpenStackSecurityGroupResourceSpec

type OpenStackSecurityGroupResourceSpec struct {
	// Name of the OpenStack resource.
	Name string `json:"name,omitempty"`

	Description string `json:"description,omitempty"`
}

OpenStackSecurityGroupResourceSpec defines the desired state of OpenStackSecurityGroup

func (*OpenStackSecurityGroupResourceSpec) DeepCopy

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

func (*OpenStackSecurityGroupResourceSpec) DeepCopyInto

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

type OpenStackSecurityGroupResourceStatus

type OpenStackSecurityGroupResourceStatus struct {
	// The UUID for the security group.
	ID string `json:"id"`

	// Human-readable name for the security group. Might not be unique.
	// Cannot be named "default" as that is automatically created for a tenant.
	Name string `json:"name"`

	// The security group description.
	Description string `json:"description,omitempty"`

	// A slice of security group rule IDs that dictate the permitted
	// behaviour for traffic entering and leaving the group.
	Rules []string `json:"securityGroupRulesID,omitempty"`

	// TenantID is the project owner of the security group.
	TenantID string `json:"tenantID,omitempty"`

	// UpdatedAt contains the timestamp of when the resource was last
	// changed.
	UpdatedAt string `json:"updatedAt,omitempty"`

	// CreatedAt contains the timestamp of when the resource was created.
	CreatedAt string `json:"createdAt,omitempty"`

	// ProjectID is the project owner of the security group.
	ProjectID string `json:"projectID,omitempty"`

	// Tags optionally set via extensions/attributestags
	Tags []string `json:"tags,omitempty"`
}

OpenStackSecurityGroupResourceStatus defines the observed state of OpenStackSecurityGroup

func (*OpenStackSecurityGroupResourceStatus) DeepCopy

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

func (*OpenStackSecurityGroupResourceStatus) DeepCopyInto

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

type OpenStackSecurityGroupRule

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

	Spec   OpenStackSecurityGroupRuleSpec   `json:"spec,omitempty"`
	Status OpenStackSecurityGroupRuleStatus `json:"status,omitempty"`
}

OpenStackSecurityGroupRule is the Schema for the openstacksecuritygrouprules API

func (*OpenStackSecurityGroupRule) DeepCopy

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

func (*OpenStackSecurityGroupRule) DeepCopyInto

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

func (*OpenStackSecurityGroupRule) DeepCopyObject

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

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

func (*OpenStackSecurityGroupRule) OpenStackCommonStatus

func (c *OpenStackSecurityGroupRule) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackSecurityGroupRuleList

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

OpenStackSecurityGroupRuleList contains a list of OpenStackSecurityGroupRule

func (*OpenStackSecurityGroupRuleList) DeepCopy

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

func (*OpenStackSecurityGroupRuleList) DeepCopyInto

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

func (*OpenStackSecurityGroupRuleList) DeepCopyObject

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

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

type OpenStackSecurityGroupRuleResourceSpec

type OpenStackSecurityGroupRuleResourceSpec struct {
	// The direction in which the security group rule is applied. The only values
	// allowed are "ingress" or "egress". For a compute instance, an ingress
	// security group rule is applied to incoming (ingress) traffic for that
	// instance. An egress rule is applied to traffic leaving the instance.
	Direction string `json:"direction,omitempty"`

	// Description of the rule
	Description string `json:"description,omitempty"`

	// Must be IPv4 or IPv6, and addresses represented in CIDR must match the
	// ingress or egress rules.
	EtherType string `json:"etherType,omitempty"`

	// The OpenStackSecrurityGroup to associate with this security group rule.
	SecurityGroup string `json:"securityGroup,omitempty"`

	// The minimum port number in the range that is matched by the security group
	// rule. If the protocol is TCP or UDP, this value must be less than or equal
	// to the value of the PortRangeMax attribute. If the protocol is ICMP, this
	// value must be an ICMP type.
	PortRangeMin int `json:"portRangeMin,omitempty"`

	// The maximum port number in the range that is matched by the security group
	// rule. The PortRangeMin attribute constrains the PortRangeMax attribute. If
	// the protocol is ICMP, this value must be an ICMP type.
	PortRangeMax int `json:"portRangeMax,omitempty"`

	// The protocol that is matched by the security group rule. Valid values are
	// "tcp", "udp", "icmp" or an empty string.
	Protocol string `json:"protocol,omitempty"`

	// The remote group ID to be associated with this security group rule. You
	// can specify either RemoteGroupID or RemoteIPPrefix.
	RemoteGroupID string `json:"remoteGroupID,omitempty"`

	// The remote IP prefix to be associated with this security group rule. You
	// can specify either RemoteGroupID or RemoteIPPrefix . This attribute
	// matches the specified IP prefix as the source IP address of the IP packet.
	RemoteIPPrefix string `json:"remoteIPPrefix,omitempty"`

	// TenantID is the project owner of this security group rule.
	TenantID string `json:"tenantID,omitempty"`

	// ProjectID is the project owner of this security group rule.
	ProjectID string `json:"projectID,omitempty"`

	// Unmanaged, when true, means that no action will be performed in
	// OpenStack against this resource. This is false by default, except
	// for pre-existing resources that are adopted by passing ID on
	// creation.
	Unmanaged *bool `json:"unmanaged,omitempty"`
}

OpenStackSecurityGroupRuleResourceSpec defines the desired state of OpenStackSecurityGroupRule

func (*OpenStackSecurityGroupRuleResourceSpec) DeepCopy

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

func (*OpenStackSecurityGroupRuleResourceSpec) DeepCopyInto

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

type OpenStackSecurityGroupRuleResourceStatus

type OpenStackSecurityGroupRuleResourceStatus struct {
	// The UUID for the security group.
	ID string `json:"id"`

	// The direction in which the security group rule is applied. The only values
	// allowed are "ingress" or "egress". For a compute instance, an ingress
	// security group rule is applied to incoming (ingress) traffic for that
	// instance. An egress rule is applied to traffic leaving the instance.
	Direction string `json:"direction,omitempty"`

	// Description of the rule
	Description string `json:"description,omitempty"`

	// Must be IPv4 or IPv6, and addresses represented in CIDR must match the
	// ingress or egress rules.
	EtherType string `json:"etherType,omitempty"`

	// The security group ID to associate with this security group rule.
	SecurityGroupID string `json:"securityGroupID,omitempty"`

	// The minimum port number in the range that is matched by the security group
	// rule. If the protocol is TCP or UDP, this value must be less than or equal
	// to the value of the PortRangeMax attribute. If the protocol is ICMP, this
	// value must be an ICMP type.
	PortRangeMin int `json:"portRangeMin,omitempty"`

	// The maximum port number in the range that is matched by the security group
	// rule. The PortRangeMin attribute constrains the PortRangeMax attribute. If
	// the protocol is ICMP, this value must be an ICMP type.
	PortRangeMax int `json:"portRangeMax,omitempty"`

	// The protocol that is matched by the security group rule. Valid values are
	// "tcp", "udp", "icmp" or an empty string.
	Protocol string `json:"protocol,omitempty"`

	// The remote group ID to be associated with this security group rule. You
	// can specify either RemoteGroupID or RemoteIPPrefix.
	RemoteGroupID string `json:"remoteGroupID,omitempty"`

	// The remote IP prefix to be associated with this security group rule. You
	// can specify either RemoteGroupID or RemoteIPPrefix . This attribute
	// matches the specified IP prefix as the source IP address of the IP packet.
	RemoteIPPrefix string `json:"remoteIPPrefix,omitempty"`

	// TenantID is the project owner of this security group rule.
	TenantID string `json:"tenantID,omitempty"`

	// ProjectID is the project owner of this security group rule.
	ProjectID string `json:"projectID,omitempty"`
}

OpenStackSecurityGroupRuleStatus defines the observed state of OpenStackSecurityGroupRule

func (*OpenStackSecurityGroupRuleResourceStatus) DeepCopy

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

func (*OpenStackSecurityGroupRuleResourceStatus) DeepCopyInto

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

type OpenStackSecurityGroupRuleSpec

type OpenStackSecurityGroupRuleSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackSecurityGroupRuleResourceSpec `json:"resource,omitempty"`
}

OpenStackPortSpec defines the desired state of OpenStackSecurityGroupRule

func (*OpenStackSecurityGroupRuleSpec) DeepCopy

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

func (*OpenStackSecurityGroupRuleSpec) DeepCopyInto

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

type OpenStackSecurityGroupRuleStatus

type OpenStackSecurityGroupRuleStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackSecurityGroupRuleResourceStatus `json:"resource,omitempty"`
}

OpenStackSecurityGroupRuleStatus defines the observed state of OpenStackSecurityGroupRule

func (*OpenStackSecurityGroupRuleStatus) DeepCopy

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

func (*OpenStackSecurityGroupRuleStatus) DeepCopyInto

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

type OpenStackSecurityGroupSpec

type OpenStackSecurityGroupSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackSecurityGroupResourceSpec `json:"resource,omitempty"`
}

OpenStackPortSpec defines the desired state of OpenStackPort

func (*OpenStackSecurityGroupSpec) DeepCopy

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

func (*OpenStackSecurityGroupSpec) DeepCopyInto

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

type OpenStackSecurityGroupStatus

type OpenStackSecurityGroupStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackSecurityGroupResourceStatus `json:"resource,omitempty"`
}

OpenStackPortStatus defines the observed state of OpenStackPort

func (*OpenStackSecurityGroupStatus) DeepCopy

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

func (*OpenStackSecurityGroupStatus) DeepCopyInto

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

type OpenStackServer

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

	Spec   OpenStackServerSpec   `json:"spec,omitempty"`
	Status OpenStackServerStatus `json:"status,omitempty"`
}

OpenStackServer is the Schema for the openstackservers API

func (*OpenStackServer) DeepCopy

func (in *OpenStackServer) DeepCopy() *OpenStackServer

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

func (*OpenStackServer) DeepCopyInto

func (in *OpenStackServer) DeepCopyInto(out *OpenStackServer)

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

func (*OpenStackServer) DeepCopyObject

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

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

func (*OpenStackServer) OpenStackCommonStatus

func (c *OpenStackServer) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackServerList

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

OpenStackServerList contains a list of OpenStackServer

func (*OpenStackServerList) DeepCopy

func (in *OpenStackServerList) DeepCopy() *OpenStackServerList

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

func (*OpenStackServerList) DeepCopyInto

func (in *OpenStackServerList) DeepCopyInto(out *OpenStackServerList)

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

func (*OpenStackServerList) DeepCopyObject

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

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

type OpenStackServerResourceSpec

type OpenStackServerResourceSpec struct {
	// Name contains the human-readable name for the server.
	Name string `json:"name,omitempty"`

	// Image indicates the OpenStackImage used to deploy the server.
	Image string `json:"image,omitempty"`

	// Flavor indicates the OpenStackFlavor of the deployed server.
	Flavor string `json:"flavor,omitempty"`

	// Networks indicates the OpenStackNetworks to attach the server to.
	Networks []OpenStackServerSpecNetworks `json:"networks"`

	// Metadata includes a list of all user-specified key-value pairs attached
	// to the server.
	Metadata map[string]string `json:"metadata,omitempty"`

	// Key indicates an OpenStackKey to injected into the server on launch.
	Key string `json:"key,omitempty"`

	// SecurityGroups sets the security groups to apply to this instance.
	SecurityGroups []string `json:"securityGroups,omitempty"`

	// UserData contains configuration information or scripts to use upon launch.
	UserData string `json:"userData,omitempty"`

	// Tags is a slice/list of string tags in a server.
	// The requires microversion 2.26 or later.
	Tags []string `json:"tags,omitempty"`
}

OpenStackServerResourceSpec defines the desired state of OpenStackServer

func (*OpenStackServerResourceSpec) DeepCopy

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

func (*OpenStackServerResourceSpec) DeepCopyInto

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

type OpenStackServerResourceStatus

type OpenStackServerResourceStatus struct {
	// ID uniquely identifies this server amongst all other servers,
	// including those not accessible to the current tenant.
	ID string `json:"id"`

	// TenantID identifies the tenant owning this server resource.
	TenantID string `json:"tenantID,omitempty"`

	// UserID uniquely identifies the user account owning the tenant.
	UserID string `json:"userID,omitempty"`

	// Name contains the human-readable name for the server.
	Name string `json:"name,omitempty"`

	// UpdatedAt contains the timestamp of when the resource was last
	// changed.
	UpdatedAt string `json:"updatedAt,omitempty"`

	// CreatedAt contains the timestamp of when the resource was created.
	CreatedAt string `json:"createdAt,omitempty"`

	// HostID is the host where the server is located in the cloud.
	HostID string `json:"hostID,omitempty"`

	// Status contains the current operational status of the server,
	// such as IN_PROGRESS or ACTIVE.
	Status string `json:"status,omitempty"`

	// Progress ranges from 0..100.
	// A request made against the server completes only once Progress reaches 100.
	Progress int `json:"progress,omitempty"`

	// AccessIPv4 contains the IPv4 addresses of the server, suitable for
	// remote access for administration.
	AccessIPv4 string `json:"accessIPv4,omitempty"`

	// AccessIPv6 contains the IPv6 addresses of the server, suitable for
	// remote access for administration.
	AccessIPv6 string `json:"accessIPv6,omitempty"`

	// ImageID indicates the OS image used to deploy the server.
	ImageID string `json:"imageID,omitempty"`

	// FlavorID indicates the hardware configuration of the deployed server.
	FlavorID string `json:"flavorID,omitempty"`

	// Addresses includes a list of all IP addresses assigned to the server,
	// keyed by pool.
	Addresses string `json:"addresses,omitempty"`

	// Metadata includes all user-specified key-value pairs attached to the
	// server.
	Metadata string `json:"metadata,omitempty"`

	// Links includes HTTP references to the itself, useful for passing along to
	// other APIs that might want a server reference.
	Links []string `json:"links,omitempty"`

	// KeyName indicates which public key was injected into the server on launch.
	KeyName string `json:"keyName,omitempty"`

	// SecurityGroupIDs includes the security groups that this instance has
	// applied to it.
	SecurityGroupIDs string `json:"securityGroupIDs,omitempty"`

	// AttachedVolumes includes the volume attachments of this instance
	AttachedVolumeIDs []string `json:"volumesAttached,omitempty"`

	// Fault contains failure information about a server.
	Fault string `json:"fault,omitempty"`

	// Tags is a slice/list of string tags in a server.
	// The requires microversion 2.26 or later.
	Tags []string `json:"tags,omitempty"`

	// ServerGroupIDs is a slice of strings containing the UUIDs of the
	// server groups to which the server belongs. Currently this can
	// contain at most one entry.
	// New in microversion 2.71
	ServerGroupIDs []string `json:"serverGroupIDs,omitempty"`
}

OpenStackServerResourceStatus defines the observed state of OpenStackServer

func (*OpenStackServerResourceStatus) DeepCopy

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

func (*OpenStackServerResourceStatus) DeepCopyInto

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

type OpenStackServerSpec

type OpenStackServerSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackServerResourceSpec `json:"resource,omitempty"`
}

OpenStackServerSpec defines the desired state of OpenStackPort

func (*OpenStackServerSpec) DeepCopy

func (in *OpenStackServerSpec) DeepCopy() *OpenStackServerSpec

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

func (*OpenStackServerSpec) DeepCopyInto

func (in *OpenStackServerSpec) DeepCopyInto(out *OpenStackServerSpec)

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

type OpenStackServerSpecNetworks

type OpenStackServerSpecNetworks struct {
	Network string `json:"network,omitempty"`
	Port    string `json:"port,omitempty"`
	FixedIP string `json:"fixedIP,omitempty"`
	Tag     string `json:"tag,omitempty"`
}

func (*OpenStackServerSpecNetworks) DeepCopy

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

func (*OpenStackServerSpecNetworks) DeepCopyInto

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

type OpenStackServerStatus

type OpenStackServerStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackServerResourceStatus `json:"resource,omitempty"`
}

OpenStackServerStatus defines the observed state of OpenStackPort

func (*OpenStackServerStatus) DeepCopy

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

func (*OpenStackServerStatus) DeepCopyInto

func (in *OpenStackServerStatus) DeepCopyInto(out *OpenStackServerStatus)

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

type OpenStackSubnet

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

	Spec   OpenStackSubnetSpec   `json:"spec,omitempty"`
	Status OpenStackSubnetStatus `json:"status,omitempty"`
}

OpenStackSubnet is the Schema for the openstacksubnets API

func (*OpenStackSubnet) DeepCopy

func (in *OpenStackSubnet) DeepCopy() *OpenStackSubnet

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

func (*OpenStackSubnet) DeepCopyInto

func (in *OpenStackSubnet) DeepCopyInto(out *OpenStackSubnet)

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

func (*OpenStackSubnet) DeepCopyObject

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

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

func (*OpenStackSubnet) OpenStackCommonStatus

func (c *OpenStackSubnet) OpenStackCommonStatus() *CommonStatus

Implement OpenStackResourceCommonStatus interface

type OpenStackSubnetAllocationPool

type OpenStackSubnetAllocationPool struct {
	Start string `json:"start"`
	End   string `json:"end"`
}

OpenStackSubnetAllocationPool represents a sub-range of cidr available for dynamic allocation to ports, e.g. {Start: "10.0.0.2", End: "10.0.0.254"}

func (*OpenStackSubnetAllocationPool) DeepCopy

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

func (*OpenStackSubnetAllocationPool) DeepCopyInto

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

type OpenStackSubnetHostRoute

type OpenStackSubnetHostRoute struct {
	DestinationCIDR string `json:"destination"`
	NextHop         string `json:"nexthop"`
}

OpenStackSubnetHostRoute represents a route that should be used by devices with IPs from a subnet (not including local subnet route).

func (*OpenStackSubnetHostRoute) DeepCopy

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

func (*OpenStackSubnetHostRoute) DeepCopyInto

func (in *OpenStackSubnetHostRoute) DeepCopyInto(out *OpenStackSubnetHostRoute)

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

type OpenStackSubnetList

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

OpenStackSubnetList contains a list of OpenStackSubnet

func (*OpenStackSubnetList) DeepCopy

func (in *OpenStackSubnetList) DeepCopy() *OpenStackSubnetList

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

func (*OpenStackSubnetList) DeepCopyInto

func (in *OpenStackSubnetList) DeepCopyInto(out *OpenStackSubnetList)

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

func (*OpenStackSubnetList) DeepCopyObject

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

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

type OpenStackSubnetResourceSpec

type OpenStackSubnetResourceSpec struct {
	// NetworkID is the OpenStackNetwork the subnet will be associated with.
	Network string `json:"network,omitempty"`

	// CIDR is the address CIDR of the subnet.
	CIDR string `json:"cidr,omitempty"`

	// Name is a human-readable name of the subnet.
	Name string `json:"name,omitempty"`

	// Description of the subnet.
	Description string `json:"description,omitempty"`

	// AllocationPools are IP Address pools that will be available for DHCP.
	AllocationPools []OpenStackSubnetAllocationPool `json:"allocationPools,omitempty"`

	// GatewayIP sets gateway information for the subnet. Setting to nil will
	// cause a default gateway to automatically be created. Setting to an empty
	// string will cause the subnet to be created with no gateway. Setting to
	// an explicit address will set that address as the gateway.
	GatewayIP *string `json:"gatewayIP,omitempty"`

	// IPVersion is the IP version for the subnet.
	IPVersion string `json:"ipVersion,omitempty"`

	// EnableDHCP will either enable to disable the DHCP service.
	EnableDHCP *bool `json:"enableDHCP,omitempty"`

	// DNSNameservers are the nameservers to be set via DHCP.
	DNSNameservers []string `json:"dnsNameservers,omitempty"`

	// ServiceTypes are the service types associated with the subnet.
	ServiceTypes []string `json:"serviceTypes,omitempty"`

	// HostRoutes are any static host routes to be set via DHCP.
	HostRoutes []OpenStackSubnetHostRoute `json:"hostRoutes,omitempty"`

	// The IPv6 address modes specifies mechanisms for assigning IPv6 IP addresses.
	IPv6AddressMode string `json:"ipv6AddressMode,omitempty"`

	// The IPv6 router advertisement specifies whether the networking service
	// should transmit ICMPv6 packets.
	IPv6RAMode string `json:"ipv6RAMode,omitempty"`
}

OpenStackSubnetSpec defines the desired state of OpenStackSubnet

func (*OpenStackSubnetResourceSpec) DeepCopy

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

func (*OpenStackSubnetResourceSpec) DeepCopyInto

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

type OpenStackSubnetResourceStatus

type OpenStackSubnetResourceStatus struct {
	// UUID representing the subnet.
	ID string `json:"id,omitempty"`

	// UUID of the parent network.
	NetworkID string `json:"networkID,omitempty"`

	// Human-readable name for the subnet. Might not be unique.
	Name string `json:"name,omitempty"`

	// Description for the subnet.
	Description string `json:"description,omitempty"`

	// IP version, either `4' or `6'.
	IPVersion int `json:"ipVersion,omitempty"`

	// CIDR representing IP range for this subnet, based on IP version.
	CIDR string `json:"cidr,omitempty"`

	// Default gateway used by devices in this subnet.
	GatewayIP string `json:"gatewayIP,omitempty"`

	// DNS name servers used by hosts in this subnet.
	DNSNameservers []string `json:"dnsNameservers,omitempty"`

	// Service types associated with the subnet.
	ServiceTypes []string `json:"serviceTypes,omitempty"`

	// Sub-ranges of CIDR available for dynamic allocation to ports.
	// See AllocationPool.
	AllocationPools []OpenStackSubnetAllocationPool `json:"allocationPools,omitempty"`

	// Routes that should be used by devices with IPs from this subnet
	// (not including local subnet route).
	HostRoutes []OpenStackSubnetHostRoute `json:"hostRoutes,omitempty"`

	// Specifies whether DHCP is enabled for this subnet or not.
	EnableDHCP bool `json:"enableDHCP,omitempty"`

	// TenantID is the project owner of the subnet.
	TenantID string `json:"tenantID,omitempty"`

	// ProjectID is the project owner of the subnet.
	ProjectID string `json:"projectID,omitempty"`

	// The IPv6 address modes specifies mechanisms for assigning IPv6 IP addresses.
	IPv6AddressMode string `json:"ipv6AddressMode,omitempty"`

	// The IPv6 router advertisement specifies whether the networking service
	// should transmit ICMPv6 packets.
	IPv6RAMode string `json:"ipv6RAMode,omitempty"`

	// SubnetPoolID is the id of the subnet pool associated with the subnet.
	SubnetPoolID string `json:"subnetpoolID,omitempty"`

	// Tags optionally set via extensions/attributestags
	Tags []string `json:"tags,omitempty"`

	// RevisionNumber optionally set via extensions/standard-attr-revisions
	RevisionNumber int `json:"revisionNumber,omitempty"`
}

OpenStackSubnetStatus defines the observed state of OpenStackSubnet

func (*OpenStackSubnetResourceStatus) DeepCopy

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

func (*OpenStackSubnetResourceStatus) DeepCopyInto

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

type OpenStackSubnetSpec

type OpenStackSubnetSpec struct {
	CommonSpec `json:",inline"`

	// ID is the UUID of the existing OpenStack resource to be adopted. If
	// left empty, the controller will create a new resource using the
	// information in the "resource" stanza.
	ID string `json:"id,omitempty"`

	Resource *OpenStackSubnetResourceSpec `json:"resource,omitempty"`
}

OpenStackSubnetSpec defines the desired state of OpenStackPort

func (*OpenStackSubnetSpec) DeepCopy

func (in *OpenStackSubnetSpec) DeepCopy() *OpenStackSubnetSpec

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

func (*OpenStackSubnetSpec) DeepCopyInto

func (in *OpenStackSubnetSpec) DeepCopyInto(out *OpenStackSubnetSpec)

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

type OpenStackSubnetStatus

type OpenStackSubnetStatus struct {
	CommonStatus `json:",inline"`

	Resource OpenStackSubnetResourceStatus `json:"resource,omitempty"`
}

OpenStackSubnetStatus defines the observed state of OpenStackPort

func (*OpenStackSubnetStatus) DeepCopy

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

func (*OpenStackSubnetStatus) DeepCopyInto

func (in *OpenStackSubnetStatus) DeepCopyInto(out *OpenStackSubnetStatus)

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