Documentation ¶
Overview ¶
+kubebuilder:validation:Optional +groupName=machine.openshift.io
Index ¶
- Constants
- Variables
- type AdditionalBlockDevice
- type AddressPair
- type BlockDeviceStorage
- type BlockDeviceType
- type BlockDeviceVolume
- type Filter
- type FixedIPs
- type NetworkParam
- type OpenstackProviderSpec
- type PortOpts
- type RootVolume
- type SecurityGroupFilter
- type SecurityGroupParam
- type SubnetFilter
- type SubnetParam
Constants ¶
const GroupName = "machine.openshift.io"
Variables ¶
var ( GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1alpha1"} // Install is a function which adds this version to a scheme Install = schemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AdditionalBlockDevice ¶
type AdditionalBlockDevice struct { // name of the block device in the context of a machine. // If the block device is a volume, the Cinder volume will be named // as a combination of the machine name and this name. // Also, this name will be used for tagging the block device. // Information about the block device tag can be obtained from the OpenStack // metadata API or the config drive. // +required Name string `json:"name"` // sizeGiB is the size of the block device in gibibytes (GiB). // +required SizeGiB int `json:"sizeGiB"` // storage specifies the storage type of the block device and // additional storage options. // +required Storage BlockDeviceStorage `json:"storage"` }
additionalBlockDevice is a block device to attach to the server.
func (*AdditionalBlockDevice) DeepCopy ¶
func (in *AdditionalBlockDevice) DeepCopy() *AdditionalBlockDevice
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AdditionalBlockDevice.
func (*AdditionalBlockDevice) DeepCopyInto ¶
func (in *AdditionalBlockDevice) DeepCopyInto(out *AdditionalBlockDevice)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (AdditionalBlockDevice) SwaggerDoc ¶
func (AdditionalBlockDevice) SwaggerDoc() map[string]string
type AddressPair ¶
type AddressPair struct { IPAddress string `json:"ipAddress,omitempty"` MACAddress string `json:"macAddress,omitempty"` }
func (*AddressPair) DeepCopy ¶
func (in *AddressPair) DeepCopy() *AddressPair
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AddressPair.
func (*AddressPair) DeepCopyInto ¶
func (in *AddressPair) DeepCopyInto(out *AddressPair)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type BlockDeviceStorage ¶
type BlockDeviceStorage struct { // type is the type of block device to create. // This can be either "Volume" or "Local". // +required // +unionDiscriminator Type BlockDeviceType `json:"type"` // volume contains additional storage options for a volume block device. // +optional // +unionMember,optional Volume *BlockDeviceVolume `json:"volume,omitempty"` }
blockDeviceStorage is the storage type of a block device to create and contains additional storage options. +union
func (*BlockDeviceStorage) DeepCopy ¶
func (in *BlockDeviceStorage) DeepCopy() *BlockDeviceStorage
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceStorage.
func (*BlockDeviceStorage) DeepCopyInto ¶
func (in *BlockDeviceStorage) DeepCopyInto(out *BlockDeviceStorage)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BlockDeviceStorage) SwaggerDoc ¶
func (BlockDeviceStorage) SwaggerDoc() map[string]string
type BlockDeviceType ¶
type BlockDeviceType string
BlockDeviceType defines the type of block device to create.
const ( // LocalBlockDevice is an ephemeral block device attached to the server. LocalBlockDevice BlockDeviceType = "Local" // VolumeBlockDevice is a volume block device attached to the server. VolumeBlockDevice BlockDeviceType = "Volume" )
type BlockDeviceVolume ¶
type BlockDeviceVolume struct { // type is the Cinder volume type of the volume. // If omitted, the default Cinder volume type that is configured in the OpenStack cloud // will be used. // +optional Type string `json:"type,omitempty"` // availabilityZone is the volume availability zone to create the volume in. // If omitted, the availability zone of the server will be used. // The availability zone must NOT contain spaces otherwise it will lead to volume that belongs // to this availability zone register failure, see kubernetes/cloud-provider-openstack#1379 for // further information. // +optional AvailabilityZone string `json:"availabilityZone,omitempty"` }
blockDeviceVolume contains additional storage options for a volume block device.
func (*BlockDeviceVolume) DeepCopy ¶
func (in *BlockDeviceVolume) DeepCopy() *BlockDeviceVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BlockDeviceVolume.
func (*BlockDeviceVolume) DeepCopyInto ¶
func (in *BlockDeviceVolume) DeepCopyInto(out *BlockDeviceVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (BlockDeviceVolume) SwaggerDoc ¶
func (BlockDeviceVolume) SwaggerDoc() map[string]string
type Filter ¶
type Filter struct { // Deprecated: use NetworkParam.uuid instead. Ignored if NetworkParam.uuid is set. ID string `json:"id,omitempty"` // name filters networks by name. Name string `json:"name,omitempty"` // description filters networks by description. Description string `json:"description,omitempty"` // tenantId filters networks by tenant ID. // Deprecated: use projectId instead. tenantId will be ignored if projectId is set. TenantID string `json:"tenantId,omitempty"` // projectId filters networks by project ID. ProjectID string `json:"projectId,omitempty"` // tags filters by networks containing all specified tags. // Multiple tags are comma separated. Tags string `json:"tags,omitempty"` // tagsAny filters by networks containing any specified tags. // Multiple tags are comma separated. TagsAny string `json:"tagsAny,omitempty"` // notTags filters by networks which don't match all specified tags. NOT (t1 AND t2...) // Multiple tags are comma separated. NotTags string `json:"notTags,omitempty"` // notTagsAny filters by networks which don't match any specified tags. NOT (t1 OR t2...) // Multiple tags are comma separated. NotTagsAny string `json:"notTagsAny,omitempty"` // Deprecated: status is silently ignored. It has no replacement. DeprecatedStatus string `json:"status,omitempty"` // Deprecated: adminStateUp is silently ignored. It has no replacement. DeprecatedAdminStateUp *bool `json:"adminStateUp,omitempty"` DeprecatedShared *bool `json:"shared,omitempty"` // Deprecated: marker is silently ignored. It has no replacement. DeprecatedMarker string `json:"marker,omitempty"` // Deprecated: limit is silently ignored. It has no replacement. DeprecatedLimit int `json:"limit,omitempty"` // Deprecated: sortKey is silently ignored. It has no replacement. DeprecatedSortKey string `json:"sortKey,omitempty"` // Deprecated: sortDir is silently ignored. It has no replacement. DeprecatedSortDir string `json:"sortDir,omitempty"` }
func (*Filter) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Filter.
func (*Filter) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (Filter) SwaggerDoc ¶
type FixedIPs ¶
type FixedIPs struct { // subnetID specifies the ID of the subnet where the fixed IP will be allocated. SubnetID string `json:"subnetID"` // ipAddress is a specific IP address to use in the given subnet. Port // creation will fail if the address is not available. If not specified, // an available IP from the given subnet will be selected automatically. IPAddress string `json:"ipAddress,omitempty"` }
func (*FixedIPs) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FixedIPs.
func (*FixedIPs) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (FixedIPs) SwaggerDoc ¶
type NetworkParam ¶
type NetworkParam struct { // The UUID of the network. Required if you omit the port attribute. UUID string `json:"uuid,omitempty"` // A fixed IPv4 address for the NIC. // Deprecated: fixedIP is silently ignored. Use subnets instead. FixedIp string `json:"fixedIp,omitempty"` // Filters for optional network query Filter Filter `json:"filter,omitempty"` // Subnet within a network to use Subnets []SubnetParam `json:"subnets,omitempty"` // noAllowedAddressPairs disables creation of allowed address pairs for the network ports NoAllowedAddressPairs bool `json:"noAllowedAddressPairs,omitempty"` // portTags allows users to specify a list of tags to add to ports created in a given network PortTags []string `json:"portTags,omitempty"` // The virtual network interface card (vNIC) type that is bound to the // neutron port. VNICType string `json:"vnicType,omitempty"` // A dictionary that enables the application running on the specified // host to pass and receive virtual network interface (VIF) port-specific // information to the plug-in. Profile map[string]string `json:"profile,omitempty"` // portSecurity optionally enables or disables security on ports managed by OpenStack PortSecurity *bool `json:"portSecurity,omitempty"` }
func (*NetworkParam) DeepCopy ¶
func (in *NetworkParam) DeepCopy() *NetworkParam
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkParam.
func (*NetworkParam) DeepCopyInto ¶
func (in *NetworkParam) DeepCopyInto(out *NetworkParam)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (NetworkParam) SwaggerDoc ¶
func (NetworkParam) SwaggerDoc() map[string]string
type OpenstackProviderSpec ¶
type OpenstackProviderSpec struct { metav1.TypeMeta `json:",inline"` // metadata is the standard object's metadata. // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata metav1.ObjectMeta `json:"metadata,omitempty"` // The name of the secret containing the openstack credentials CloudsSecret *corev1.SecretReference `json:"cloudsSecret"` // The name of the cloud to use from the clouds secret CloudName string `json:"cloudName"` // The flavor reference for the flavor for your server instance. Flavor string `json:"flavor"` // The name of the image to use for your server instance. // If the RootVolume is specified, this will be ignored and use rootVolume directly. Image string `json:"image"` // The ssh key to inject in the instance KeyName string `json:"keyName,omitempty"` // The machine ssh username // Deprecated: sshUserName is silently ignored. SshUserName string `json:"sshUserName,omitempty"` // A networks object. Required parameter when there are multiple networks defined for the tenant. // When you do not specify the networks parameter, the server attaches to the only network created for the current tenant. Networks []NetworkParam `json:"networks,omitempty"` // Create and assign additional ports to instances Ports []PortOpts `json:"ports,omitempty"` // floatingIP specifies a floating IP to be associated with the machine. // Note that it is not safe to use this parameter in a MachineSet, as // only one Machine may be assigned the same floating IP. // // Deprecated: floatingIP will be removed in a future release as it cannot be implemented correctly. FloatingIP string `json:"floatingIP,omitempty"` // The availability zone from which to launch the server. AvailabilityZone string `json:"availabilityZone,omitempty"` // The names of the security groups to assign to the instance SecurityGroups []SecurityGroupParam `json:"securityGroups,omitempty"` // The name of the secret containing the user data (startup script in most cases) UserDataSecret *corev1.SecretReference `json:"userDataSecret,omitempty"` // Whether the server instance is created on a trunk port or not. Trunk bool `json:"trunk,omitempty"` // Machine tags // Requires Nova api 2.52 minimum! Tags []string `json:"tags,omitempty"` // Metadata mapping. Allows you to create a map of key value pairs to add to the server instance. ServerMetadata map[string]string `json:"serverMetadata,omitempty"` // Config Drive support ConfigDrive *bool `json:"configDrive,omitempty"` // The volume metadata to boot from RootVolume *RootVolume `json:"rootVolume,omitempty"` // additionalBlockDevices is a list of specifications for additional block devices to attach to the server instance // +optional // +listType=map // +listMapKey=name AdditionalBlockDevices []AdditionalBlockDevice `json:"additionalBlockDevices,omitempty"` // The server group to assign the machine to. ServerGroupID string `json:"serverGroupID,omitempty"` // The server group to assign the machine to. A server group with that // name will be created if it does not exist. If both ServerGroupID and // ServerGroupName are non-empty, they must refer to the same OpenStack // resource. ServerGroupName string `json:"serverGroupName,omitempty"` // The subnet that a set of machines will get ingress/egress traffic from // Deprecated: primarySubnet is silently ignored. Use subnets instead. PrimarySubnet string `json:"primarySubnet,omitempty"` }
OpenstackProviderSpec is the type that will be embedded in a Machine.Spec.ProviderSpec field for an OpenStack Instance. It is used by the Openstack machine actuator to create a single machine instance. +k8s:openapi-gen=true Compatibility level 4: No compatibility is provided, the API can change at any point for any reason. These capabilities should not be used by applications needing long term support. +openshift:compatibility-gen:level=4 +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
func (*OpenstackProviderSpec) DeepCopy ¶
func (in *OpenstackProviderSpec) DeepCopy() *OpenstackProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OpenstackProviderSpec.
func (*OpenstackProviderSpec) DeepCopyInto ¶
func (in *OpenstackProviderSpec) DeepCopyInto(out *OpenstackProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*OpenstackProviderSpec) DeepCopyObject ¶
func (in *OpenstackProviderSpec) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (OpenstackProviderSpec) SwaggerDoc ¶
func (OpenstackProviderSpec) SwaggerDoc() map[string]string
type PortOpts ¶
type PortOpts struct { // networkID is the ID of the network the port will be created in. It is required. // +required NetworkID string `json:"networkID"` // If nameSuffix is specified the created port will be named <machine name>-<nameSuffix>. // If not specified the port will be named <machine-name>-<index of this port>. NameSuffix string `json:"nameSuffix,omitempty"` // description specifies the description of the created port. Description string `json:"description,omitempty"` // adminStateUp sets the administrative state of the created port to up (true), or down (false). AdminStateUp *bool `json:"adminStateUp,omitempty"` // macAddress specifies the MAC address of the created port. MACAddress string `json:"macAddress,omitempty"` // fixedIPs specifies a set of fixed IPs to assign to the port. They must all be valid for the port's network. FixedIPs []FixedIPs `json:"fixedIPs,omitempty"` // tenantID specifies the tenant ID of the created port. Note that this // requires OpenShift to have administrative permissions, which is // typically not the case. Use of this field is not recommended. // Deprecated: tenantID is silently ignored. TenantID string `json:"tenantID,omitempty"` // projectID specifies the project ID of the created port. Note that this // requires OpenShift to have administrative permissions, which is // typically not the case. Use of this field is not recommended. // Deprecated: projectID is silently ignored. ProjectID string `json:"projectID,omitempty"` // securityGroups specifies a set of security group UUIDs to use instead // of the machine's default security groups. The default security groups // will be used if this is left empty or not specified. SecurityGroups *[]string `json:"securityGroups,omitempty"` // allowedAddressPairs specifies a set of allowed address pairs to add to the port. AllowedAddressPairs []AddressPair `json:"allowedAddressPairs,omitempty"` // tags species a set of tags to add to the port. Tags []string `json:"tags,omitempty"` // The virtual network interface card (vNIC) type that is bound to the // neutron port. VNICType string `json:"vnicType,omitempty"` // A dictionary that enables the application running on the specified // host to pass and receive virtual network interface (VIF) port-specific // information to the plug-in. Profile map[string]string `json:"profile,omitempty"` // enable or disable security on a given port // incompatible with securityGroups and allowedAddressPairs PortSecurity *bool `json:"portSecurity,omitempty"` // Enables and disables trunk at port level. If not provided, openStackMachine.Spec.Trunk is inherited. Trunk *bool `json:"trunk,omitempty"` // The ID of the host where the port is allocated. Do not use this // field: it cannot be used correctly. // Deprecated: hostID is silently ignored. It will be removed with no replacement. DeprecatedHostID string `json:"hostID,omitempty"` }
func (*PortOpts) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PortOpts.
func (*PortOpts) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (PortOpts) SwaggerDoc ¶
type RootVolume ¶
type RootVolume struct { // sourceUUID specifies the UUID of a glance image used to populate the root volume. // Deprecated: set image in the platform spec instead. This will be // ignored if image is set in the platform spec. SourceUUID string `json:"sourceUUID,omitempty"` // volumeType specifies a volume type to use when creating the root // volume. If not specified the default volume type will be used. VolumeType string `json:"volumeType,omitempty"` // diskSize specifies the size, in GiB, of the created root volume. Size int `json:"diskSize,omitempty"` // availabilityZone specifies the Cinder availability where the root volume will be created. Zone string `json:"availabilityZone,omitempty"` // Deprecated: sourceType will be silently ignored. There is no replacement. DeprecatedSourceType string `json:"sourceType,omitempty"` // Deprecated: deviceType will be silently ignored. There is no replacement. DeprecatedDeviceType string `json:"deviceType,omitempty"` }
func (*RootVolume) DeepCopy ¶
func (in *RootVolume) DeepCopy() *RootVolume
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RootVolume.
func (*RootVolume) DeepCopyInto ¶
func (in *RootVolume) DeepCopyInto(out *RootVolume)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (RootVolume) SwaggerDoc ¶
func (RootVolume) SwaggerDoc() map[string]string
type SecurityGroupFilter ¶
type SecurityGroupFilter struct { // id specifies the ID of a security group to use. If set, id will not // be validated before use. An invalid id will result in failure to // create a server with an appropriate error message. ID string `json:"id,omitempty"` // name filters security groups by name. Name string `json:"name,omitempty"` // description filters security groups by description. Description string `json:"description,omitempty"` // tenantId filters security groups by tenant ID. // Deprecated: use projectId instead. tenantId will be ignored if projectId is set. TenantID string `json:"tenantId,omitempty"` // projectId filters security groups by project ID. ProjectID string `json:"projectId,omitempty"` // tags filters by security groups containing all specified tags. // Multiple tags are comma separated. Tags string `json:"tags,omitempty"` // tagsAny filters by security groups containing any specified tags. // Multiple tags are comma separated. TagsAny string `json:"tagsAny,omitempty"` // notTags filters by security groups which don't match all specified tags. NOT (t1 AND t2...) // Multiple tags are comma separated. NotTags string `json:"notTags,omitempty"` // notTagsAny filters by security groups which don't match any specified tags. NOT (t1 OR t2...) // Multiple tags are comma separated. NotTagsAny string `json:"notTagsAny,omitempty"` // Deprecated: limit is silently ignored. It has no replacement. DeprecatedLimit int `json:"limit,omitempty"` // Deprecated: marker is silently ignored. It has no replacement. DeprecatedMarker string `json:"marker,omitempty"` // Deprecated: sortKey is silently ignored. It has no replacement. DeprecatedSortKey string `json:"sortKey,omitempty"` // Deprecated: sortDir is silently ignored. It has no replacement. DeprecatedSortDir string `json:"sortDir,omitempty"` }
func (*SecurityGroupFilter) DeepCopy ¶
func (in *SecurityGroupFilter) DeepCopy() *SecurityGroupFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupFilter.
func (*SecurityGroupFilter) DeepCopyInto ¶
func (in *SecurityGroupFilter) DeepCopyInto(out *SecurityGroupFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SecurityGroupFilter) SwaggerDoc ¶
func (SecurityGroupFilter) SwaggerDoc() map[string]string
type SecurityGroupParam ¶
type SecurityGroupParam struct { // Security Group UUID UUID string `json:"uuid,omitempty"` // Security Group name Name string `json:"name,omitempty"` // Filters used to query security groups in openstack Filter SecurityGroupFilter `json:"filter,omitempty"` }
func (*SecurityGroupParam) DeepCopy ¶
func (in *SecurityGroupParam) DeepCopy() *SecurityGroupParam
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecurityGroupParam.
func (*SecurityGroupParam) DeepCopyInto ¶
func (in *SecurityGroupParam) DeepCopyInto(out *SecurityGroupParam)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SecurityGroupParam) SwaggerDoc ¶
func (SecurityGroupParam) SwaggerDoc() map[string]string
type SubnetFilter ¶
type SubnetFilter struct { // id is the uuid of a specific subnet to use. If specified, id will not // be validated. Instead server creation will fail with an appropriate // error. ID string `json:"id,omitempty"` // name filters subnets by name. Name string `json:"name,omitempty"` // description filters subnets by description. Description string `json:"description,omitempty"` // Deprecated: networkId is silently ignored. Set uuid on the containing network definition instead. NetworkID string `json:"networkId,omitempty"` // tenantId filters subnets by tenant ID. // Deprecated: use projectId instead. tenantId will be ignored if projectId is set. TenantID string `json:"tenantId,omitempty"` // projectId filters subnets by project ID. ProjectID string `json:"projectId,omitempty"` // ipVersion filters subnets by IP version. IPVersion int `json:"ipVersion,omitempty"` // gateway_ip filters subnets by gateway IP. GatewayIP string `json:"gateway_ip,omitempty"` // cidr filters subnets by CIDR. CIDR string `json:"cidr,omitempty"` // ipv6AddressMode filters subnets by IPv6 address mode. IPv6AddressMode string `json:"ipv6AddressMode,omitempty"` // ipv6RaMode filters subnets by IPv6 router adversiement mode. IPv6RAMode string `json:"ipv6RaMode,omitempty"` // subnetpoolId filters subnets by subnet pool ID. // Deprecated: subnetpoolId is silently ignored. SubnetPoolID string `json:"subnetpoolId,omitempty"` // tags filters by subnets containing all specified tags. // Multiple tags are comma separated. Tags string `json:"tags,omitempty"` // tagsAny filters by subnets containing any specified tags. // Multiple tags are comma separated. TagsAny string `json:"tagsAny,omitempty"` // notTags filters by subnets which don't match all specified tags. NOT (t1 AND t2...) // Multiple tags are comma separated. NotTags string `json:"notTags,omitempty"` // notTagsAny filters by subnets which don't match any specified tags. NOT (t1 OR t2...) // Multiple tags are comma separated. NotTagsAny string `json:"notTagsAny,omitempty"` // Deprecated: enableDhcp is silently ignored. It has no replacement. DeprecatedEnableDHCP *bool `json:"enableDhcp,omitempty"` // Deprecated: limit is silently ignored. It has no replacement. DeprecatedLimit int `json:"limit,omitempty"` // Deprecated: marker is silently ignored. It has no replacement. DeprecatedMarker string `json:"marker,omitempty"` // Deprecated: sortKey is silently ignored. It has no replacement. DeprecatedSortKey string `json:"sortKey,omitempty"` // Deprecated: sortDir is silently ignored. It has no replacement. DeprecatedSortDir string `json:"sortDir,omitempty"` }
func (*SubnetFilter) DeepCopy ¶
func (in *SubnetFilter) DeepCopy() *SubnetFilter
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetFilter.
func (*SubnetFilter) DeepCopyInto ¶
func (in *SubnetFilter) DeepCopyInto(out *SubnetFilter)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SubnetFilter) SwaggerDoc ¶
func (SubnetFilter) SwaggerDoc() map[string]string
type SubnetParam ¶
type SubnetParam struct { // The UUID of the network. Required if you omit the port attribute. UUID string `json:"uuid,omitempty"` // Filters for optional network query Filter SubnetFilter `json:"filter,omitempty"` // portTags are tags that are added to ports created on this subnet PortTags []string `json:"portTags,omitempty"` // portSecurity optionally enables or disables security on ports managed by OpenStack // Deprecated: portSecurity is silently ignored. Set portSecurity on the parent network instead. PortSecurity *bool `json:"portSecurity,omitempty"` }
func (*SubnetParam) DeepCopy ¶
func (in *SubnetParam) DeepCopy() *SubnetParam
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SubnetParam.
func (*SubnetParam) DeepCopyInto ¶
func (in *SubnetParam) DeepCopyInto(out *SubnetParam)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (SubnetParam) SwaggerDoc ¶
func (SubnetParam) SwaggerDoc() map[string]string