v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=network.ibm.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
	// localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes.
	SchemeBuilder runtime.SchemeBuilder

	AddToScheme = localSchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: network.GroupName, Version: "v1alpha1"}

Functions

func GetDecoder

func GetDecoder() map[string]jsoniter.ValDecoder

func GetEncoder

func GetEncoder() map[string]jsoniter.ValEncoder

func Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

func Resource

func Resource(resource string) schema.GroupResource

Resource takes an unqualified resource and returns a Group qualified GroupResource

Types

type Gateway

type Gateway struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GatewaySpec   `json:"spec,omitempty"`
	Status            GatewayStatus `json:"status,omitempty"`
}

func (*Gateway) DeepCopy

func (in *Gateway) DeepCopy() *Gateway

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

func (*Gateway) DeepCopyInto

func (in *Gateway) DeepCopyInto(out *Gateway)

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

func (*Gateway) DeepCopyObject

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

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

func (*Gateway) SetupWebhookWithManager

func (r *Gateway) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Gateway) ValidateCreate

func (r *Gateway) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Gateway) ValidateDelete

func (r *Gateway) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Gateway) ValidateUpdate

func (r *Gateway) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type GatewayList

type GatewayList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Gateway CRD objects
	Items []Gateway `json:"items,omitempty"`
}

GatewayList is a list of Gateways

func (*GatewayList) DeepCopy

func (in *GatewayList) DeepCopy() *GatewayList

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

func (*GatewayList) DeepCopyInto

func (in *GatewayList) DeepCopyInto(out *GatewayList)

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

func (*GatewayList) DeepCopyObject

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

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

type GatewaySpec

type GatewaySpec struct {
	State *GatewaySpecResource `json:"state,omitempty" tf:"-"`

	Resource GatewaySpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*GatewaySpec) DeepCopy

func (in *GatewaySpec) DeepCopy() *GatewaySpec

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

func (*GatewaySpec) DeepCopyInto

func (in *GatewaySpec) DeepCopyInto(out *GatewaySpec)

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

type GatewaySpecAssociatedVlans

type GatewaySpecAssociatedVlans struct {
	// Indicates if the VLAN is in bypass or routed modes
	// +optional
	Bypass *bool `json:"bypass,omitempty" tf:"bypass"`
	// The Identifier of the VLAN which is associated
	// +optional
	NetworkVLANID *int64 `json:"networkVLANID,omitempty" tf:"network_vlan_id"`
	// +optional
	VlanID *int64 `json:"vlanID,omitempty" tf:"vlan_id"`
}

func (*GatewaySpecAssociatedVlans) DeepCopy

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

func (*GatewaySpecAssociatedVlans) DeepCopyInto

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

type GatewaySpecMembers

type GatewaySpecMembers struct {
	Datacenter *string `json:"datacenter" tf:"datacenter"`
	// +optional
	DiskKeyNames []string `json:"diskKeyNames,omitempty" tf:"disk_key_names"`
	Domain       *string  `json:"domain" tf:"domain"`
	// +optional
	Hostname *string `json:"hostname,omitempty" tf:"hostname"`
	// +optional
	Ipv6Address *string `json:"ipv6Address,omitempty" tf:"ipv6_address"`
	// +optional
	Ipv6Enabled *bool `json:"ipv6Enabled,omitempty" tf:"ipv6_enabled"`
	// +optional
	MemberID *int64 `json:"memberID,omitempty" tf:"member_id"`
	Memory   *int64 `json:"memory" tf:"memory"`
	// +optional
	NetworkSpeed *int64 `json:"networkSpeed,omitempty" tf:"network_speed"`
	// +optional
	Notes *string `json:"notes,omitempty" tf:"notes"`
	// +optional
	OsKeyName *string `json:"osKeyName,omitempty" tf:"os_key_name"`
	// +optional
	PackageKeyName *string `json:"packageKeyName,omitempty" tf:"package_key_name"`
	// +optional
	PostInstallScriptURI *string `json:"postInstallScriptURI,omitempty" tf:"post_install_script_uri"`
	// +optional
	PrivateIpv4Address *string `json:"privateIpv4Address,omitempty" tf:"private_ipv4_address"`
	// +optional
	PrivateNetworkOnly *bool `json:"privateNetworkOnly,omitempty" tf:"private_network_only"`
	// +optional
	PrivateVLANID *int64 `json:"privateVLANID,omitempty" tf:"private_vlan_id"`
	// +optional
	ProcessKeyName *string `json:"processKeyName,omitempty" tf:"process_key_name"`
	// +optional
	PublicBandwidth *int64 `json:"publicBandwidth,omitempty" tf:"public_bandwidth"`
	// +optional
	PublicIpv4Address *string `json:"publicIpv4Address,omitempty" tf:"public_ipv4_address"`
	// +optional
	PublicVLANID *int64 `json:"publicVLANID,omitempty" tf:"public_vlan_id"`
	// +optional
	RedundantNetwork *bool `json:"redundantNetwork,omitempty" tf:"redundant_network"`
	// +optional
	RedundantPowerSupply *bool `json:"redundantPowerSupply,omitempty" tf:"redundant_power_supply"`
	// +optional
	SshKeyIDS []int64 `json:"sshKeyIDS,omitempty" tf:"ssh_key_ids"`
	// +optional
	StorageGroups []GatewaySpecMembersStorageGroups `json:"storageGroups,omitempty" tf:"storage_groups"`
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// +optional
	TcpMonitoring *bool `json:"tcpMonitoring,omitempty" tf:"tcp_monitoring"`
	// +optional
	UnbondedNetwork *bool `json:"unbondedNetwork,omitempty" tf:"unbonded_network"`
	// +optional
	UserMetadata *string `json:"userMetadata,omitempty" tf:"user_metadata"`
}

func (*GatewaySpecMembers) DeepCopy

func (in *GatewaySpecMembers) DeepCopy() *GatewaySpecMembers

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

func (*GatewaySpecMembers) DeepCopyInto

func (in *GatewaySpecMembers) DeepCopyInto(out *GatewaySpecMembers)

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

type GatewaySpecMembersStorageGroups

type GatewaySpecMembersStorageGroups struct {
	// +optional
	ArraySize   *int64  `json:"arraySize,omitempty" tf:"array_size"`
	ArrayTypeID *int64  `json:"arrayTypeID" tf:"array_type_id"`
	HardDrives  []int64 `json:"hardDrives" tf:"hard_drives"`
	// +optional
	PartitionTemplateID *int64 `json:"partitionTemplateID,omitempty" tf:"partition_template_id"`
}

func (*GatewaySpecMembersStorageGroups) DeepCopy

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

func (*GatewaySpecMembersStorageGroups) DeepCopyInto

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

type GatewaySpecResource

type GatewaySpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// The VLAN instances associated with this Network Gateway
	// +optional
	AssociatedVlans []GatewaySpecAssociatedVlans `json:"associatedVlans,omitempty" tf:"associated_vlans"`
	// The hardware members of this network Gateway
	// +kubebuilder:validation:MaxItems=2
	// +kubebuilder:validation:MinItems=1
	Members []GatewaySpecMembers `json:"members" tf:"members"`
	// The name of the gateway
	Name *string `json:"name" tf:"name"`
	// +optional
	PostInstallScriptURI *string `json:"postInstallScriptURI,omitempty" tf:"post_install_script_uri"`
	// +optional
	PrivateIPAddressID *int64 `json:"privateIPAddressID,omitempty" tf:"private_ip_address_id"`
	// +optional
	PrivateIpv4Address *string `json:"privateIpv4Address,omitempty" tf:"private_ipv4_address"`
	// +optional
	PrivateVLANID *int64 `json:"privateVLANID,omitempty" tf:"private_vlan_id"`
	// +optional
	PublicIPAddressID *int64 `json:"publicIPAddressID,omitempty" tf:"public_ip_address_id"`
	// +optional
	PublicIpv4Address *string `json:"publicIpv4Address,omitempty" tf:"public_ipv4_address"`
	// +optional
	PublicIpv6AddressID *int64 `json:"publicIpv6AddressID,omitempty" tf:"public_ipv6_address_id"`
	// +optional
	PublicVLANID *int64 `json:"publicVLANID,omitempty" tf:"public_vlan_id"`
	// +optional
	SshKeyIDS []int64 `json:"sshKeyIDS,omitempty" tf:"ssh_key_ids"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
}

func (*GatewaySpecResource) DeepCopy

func (in *GatewaySpecResource) DeepCopy() *GatewaySpecResource

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

func (*GatewaySpecResource) DeepCopyInto

func (in *GatewaySpecResource) DeepCopyInto(out *GatewaySpecResource)

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

type GatewayStatus

type GatewayStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*GatewayStatus) DeepCopy

func (in *GatewayStatus) DeepCopy() *GatewayStatus

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

func (*GatewayStatus) DeepCopyInto

func (in *GatewayStatus) DeepCopyInto(out *GatewayStatus)

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

type GatewayVLANAssociation

type GatewayVLANAssociation struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              GatewayVLANAssociationSpec   `json:"spec,omitempty"`
	Status            GatewayVLANAssociationStatus `json:"status,omitempty"`
}

func (*GatewayVLANAssociation) DeepCopy

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

func (*GatewayVLANAssociation) DeepCopyInto

func (in *GatewayVLANAssociation) DeepCopyInto(out *GatewayVLANAssociation)

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

func (*GatewayVLANAssociation) DeepCopyObject

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

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

func (*GatewayVLANAssociation) SetupWebhookWithManager

func (r *GatewayVLANAssociation) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*GatewayVLANAssociation) ValidateCreate

func (r *GatewayVLANAssociation) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*GatewayVLANAssociation) ValidateDelete

func (r *GatewayVLANAssociation) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*GatewayVLANAssociation) ValidateUpdate

func (r *GatewayVLANAssociation) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type GatewayVLANAssociationList

type GatewayVLANAssociationList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of GatewayVLANAssociation CRD objects
	Items []GatewayVLANAssociation `json:"items,omitempty"`
}

GatewayVLANAssociationList is a list of GatewayVLANAssociations

func (*GatewayVLANAssociationList) DeepCopy

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

func (*GatewayVLANAssociationList) DeepCopyInto

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

func (*GatewayVLANAssociationList) DeepCopyObject

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

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

type GatewayVLANAssociationSpec

type GatewayVLANAssociationSpec struct {
	State *GatewayVLANAssociationSpecResource `json:"state,omitempty" tf:"-"`

	Resource GatewayVLANAssociationSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*GatewayVLANAssociationSpec) DeepCopy

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

func (*GatewayVLANAssociationSpec) DeepCopyInto

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

type GatewayVLANAssociationSpecResource

type GatewayVLANAssociationSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Indicates if the VLAN should be in bypass or routed modes
	// +optional
	Bypass *bool `json:"bypass,omitempty" tf:"bypass"`
	// Gateway instance ID
	GatewayID *int64 `json:"gatewayID" tf:"gateway_id"`
	// The Identifier of the VLAN to be associated
	NetworkVLANID *int64 `json:"networkVLANID" tf:"network_vlan_id"`
}

func (*GatewayVLANAssociationSpecResource) DeepCopy

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

func (*GatewayVLANAssociationSpecResource) DeepCopyInto

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

type GatewayVLANAssociationStatus

type GatewayVLANAssociationStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*GatewayVLANAssociationStatus) DeepCopy

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

func (*GatewayVLANAssociationStatus) DeepCopyInto

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

type InterfaceSgAttachment

type InterfaceSgAttachment struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              InterfaceSgAttachmentSpec   `json:"spec,omitempty"`
	Status            InterfaceSgAttachmentStatus `json:"status,omitempty"`
}

func (*InterfaceSgAttachment) DeepCopy

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

func (*InterfaceSgAttachment) DeepCopyInto

func (in *InterfaceSgAttachment) DeepCopyInto(out *InterfaceSgAttachment)

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

func (*InterfaceSgAttachment) DeepCopyObject

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

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

func (*InterfaceSgAttachment) SetupWebhookWithManager

func (r *InterfaceSgAttachment) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*InterfaceSgAttachment) ValidateCreate

func (r *InterfaceSgAttachment) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*InterfaceSgAttachment) ValidateDelete

func (r *InterfaceSgAttachment) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*InterfaceSgAttachment) ValidateUpdate

func (r *InterfaceSgAttachment) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type InterfaceSgAttachmentList

type InterfaceSgAttachmentList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of InterfaceSgAttachment CRD objects
	Items []InterfaceSgAttachment `json:"items,omitempty"`
}

InterfaceSgAttachmentList is a list of InterfaceSgAttachments

func (*InterfaceSgAttachmentList) DeepCopy

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

func (*InterfaceSgAttachmentList) DeepCopyInto

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

func (*InterfaceSgAttachmentList) DeepCopyObject

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

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

type InterfaceSgAttachmentSpec

type InterfaceSgAttachmentSpec struct {
	State *InterfaceSgAttachmentSpecResource `json:"state,omitempty" tf:"-"`

	Resource InterfaceSgAttachmentSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*InterfaceSgAttachmentSpec) DeepCopy

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

func (*InterfaceSgAttachmentSpec) DeepCopyInto

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

type InterfaceSgAttachmentSpecResource

type InterfaceSgAttachmentSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Network interface ID
	NetworkInterfaceID *int64 `json:"networkInterfaceID" tf:"network_interface_id"`
	// Security group ID
	SecurityGroupID *int64 `json:"securityGroupID" tf:"security_group_id"`
	// Boolean value set to true, if soft reboot needs to be done.
	// +optional
	SoftReboot *bool `json:"softReboot,omitempty" tf:"soft_reboot"`
}

func (*InterfaceSgAttachmentSpecResource) DeepCopy

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

func (*InterfaceSgAttachmentSpecResource) DeepCopyInto

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

type InterfaceSgAttachmentStatus

type InterfaceSgAttachmentStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*InterfaceSgAttachmentStatus) DeepCopy

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

func (*InterfaceSgAttachmentStatus) DeepCopyInto

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

type PublicIP

type PublicIP struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PublicIPSpec   `json:"spec,omitempty"`
	Status            PublicIPStatus `json:"status,omitempty"`
}

func (*PublicIP) DeepCopy

func (in *PublicIP) DeepCopy() *PublicIP

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

func (*PublicIP) DeepCopyInto

func (in *PublicIP) DeepCopyInto(out *PublicIP)

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

func (*PublicIP) DeepCopyObject

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

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

func (*PublicIP) SetupWebhookWithManager

func (r *PublicIP) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*PublicIP) ValidateCreate

func (r *PublicIP) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*PublicIP) ValidateDelete

func (r *PublicIP) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*PublicIP) ValidateUpdate

func (r *PublicIP) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type PublicIPList

type PublicIPList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of PublicIP CRD objects
	Items []PublicIP `json:"items,omitempty"`
}

PublicIPList is a list of PublicIPs

func (*PublicIPList) DeepCopy

func (in *PublicIPList) DeepCopy() *PublicIPList

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

func (*PublicIPList) DeepCopyInto

func (in *PublicIPList) DeepCopyInto(out *PublicIPList)

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

func (*PublicIPList) DeepCopyObject

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

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

type PublicIPSpec

type PublicIPSpec struct {
	State *PublicIPSpecResource `json:"state,omitempty" tf:"-"`

	Resource PublicIPSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*PublicIPSpec) DeepCopy

func (in *PublicIPSpec) DeepCopy() *PublicIPSpec

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

func (*PublicIPSpec) DeepCopyInto

func (in *PublicIPSpec) DeepCopyInto(out *PublicIPSpec)

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

type PublicIPSpecResource

type PublicIPSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// IP Address
	// +optional
	IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"`
	// Additional notes
	// +optional
	Notes *string `json:"notes,omitempty" tf:"notes"`
	// Route info
	RoutesTo *string `json:"routesTo" tf:"routes_to"`
	// List of tags
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
}

func (*PublicIPSpecResource) DeepCopy

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

func (*PublicIPSpecResource) DeepCopyInto

func (in *PublicIPSpecResource) DeepCopyInto(out *PublicIPSpecResource)

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

type PublicIPStatus

type PublicIPStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*PublicIPStatus) DeepCopy

func (in *PublicIPStatus) DeepCopy() *PublicIPStatus

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

func (*PublicIPStatus) DeepCopyInto

func (in *PublicIPStatus) DeepCopyInto(out *PublicIPStatus)

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

type Vlan

type Vlan struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VlanSpec   `json:"spec,omitempty"`
	Status            VlanStatus `json:"status,omitempty"`
}

func (*Vlan) DeepCopy

func (in *Vlan) DeepCopy() *Vlan

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

func (*Vlan) DeepCopyInto

func (in *Vlan) DeepCopyInto(out *Vlan)

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

func (*Vlan) DeepCopyObject

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

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

func (*Vlan) SetupWebhookWithManager

func (r *Vlan) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*Vlan) ValidateCreate

func (r *Vlan) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*Vlan) ValidateDelete

func (r *Vlan) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*Vlan) ValidateUpdate

func (r *Vlan) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VlanList

type VlanList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of Vlan CRD objects
	Items []Vlan `json:"items,omitempty"`
}

VlanList is a list of Vlans

func (*VlanList) DeepCopy

func (in *VlanList) DeepCopy() *VlanList

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

func (*VlanList) DeepCopyInto

func (in *VlanList) DeepCopyInto(out *VlanList)

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

func (*VlanList) DeepCopyObject

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

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

type VlanSpanning

type VlanSpanning struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VlanSpanningSpec   `json:"spec,omitempty"`
	Status            VlanSpanningStatus `json:"status,omitempty"`
}

func (*VlanSpanning) DeepCopy

func (in *VlanSpanning) DeepCopy() *VlanSpanning

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

func (*VlanSpanning) DeepCopyInto

func (in *VlanSpanning) DeepCopyInto(out *VlanSpanning)

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

func (*VlanSpanning) DeepCopyObject

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

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

func (*VlanSpanning) SetupWebhookWithManager

func (r *VlanSpanning) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*VlanSpanning) ValidateCreate

func (r *VlanSpanning) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*VlanSpanning) ValidateDelete

func (r *VlanSpanning) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*VlanSpanning) ValidateUpdate

func (r *VlanSpanning) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type VlanSpanningList

type VlanSpanningList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	// Items is a list of VlanSpanning CRD objects
	Items []VlanSpanning `json:"items,omitempty"`
}

VlanSpanningList is a list of VlanSpannings

func (*VlanSpanningList) DeepCopy

func (in *VlanSpanningList) DeepCopy() *VlanSpanningList

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

func (*VlanSpanningList) DeepCopyInto

func (in *VlanSpanningList) DeepCopyInto(out *VlanSpanningList)

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

func (*VlanSpanningList) DeepCopyObject

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

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

type VlanSpanningSpec

type VlanSpanningSpec struct {
	State *VlanSpanningSpecResource `json:"state,omitempty" tf:"-"`

	Resource VlanSpanningSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*VlanSpanningSpec) DeepCopy

func (in *VlanSpanningSpec) DeepCopy() *VlanSpanningSpec

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

func (*VlanSpanningSpec) DeepCopyInto

func (in *VlanSpanningSpec) DeepCopyInto(out *VlanSpanningSpec)

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

type VlanSpanningSpecResource

type VlanSpanningSpecResource struct {
	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// VLAN Spanning set to On or Off
	VlanSpanning *string `json:"vlanSpanning" tf:"vlan_spanning"`
}

func (*VlanSpanningSpecResource) DeepCopy

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

func (*VlanSpanningSpecResource) DeepCopyInto

func (in *VlanSpanningSpecResource) DeepCopyInto(out *VlanSpanningSpecResource)

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

type VlanSpanningStatus

type VlanSpanningStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*VlanSpanningStatus) DeepCopy

func (in *VlanSpanningStatus) DeepCopy() *VlanSpanningStatus

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

func (*VlanSpanningStatus) DeepCopyInto

func (in *VlanSpanningStatus) DeepCopyInto(out *VlanSpanningStatus)

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

type VlanSpec

type VlanSpec struct {
	State *VlanSpecResource `json:"state,omitempty" tf:"-"`

	Resource VlanSpecResource `json:"resource" tf:"resource"`

	UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"`

	TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"`

	ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"`

	BackendRef *core.LocalObjectReference `json:"backendRef,omitempty" tf:"-"`
}

func (*VlanSpec) DeepCopy

func (in *VlanSpec) DeepCopy() *VlanSpec

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

func (*VlanSpec) DeepCopyInto

func (in *VlanSpec) DeepCopyInto(out *VlanSpec)

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

type VlanSpecResource

type VlanSpecResource struct {
	Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"`

	ID string `json:"id,omitempty" tf:"id,omitempty"`

	// Child resource count
	// +optional
	ChildResourceCount *int64 `json:"childResourceCount,omitempty" tf:"child_resource_count"`
	// Datacenter name
	Datacenter *string `json:"datacenter" tf:"datacenter"`
	// VLAN name
	// +optional
	Name *string `json:"name,omitempty" tf:"name"`
	// The URL of the IBM Cloud dashboard that can be used to explore and view details about this instance
	// +optional
	ResourceControllerURL *string `json:"resourceControllerURL,omitempty" tf:"resource_controller_url"`
	// The name of the resource
	// +optional
	ResourceName *string `json:"resourceName,omitempty" tf:"resource_name"`
	// router host name
	// +optional
	RouterHostname *string `json:"routerHostname,omitempty" tf:"router_hostname"`
	// Zzset to true if VLAN is managed by softlayer
	// +optional
	SoftlayerManaged *bool `json:"softlayerManaged,omitempty" tf:"softlayer_managed"`
	// +optional
	Subnets []VlanSpecSubnets `json:"subnets,omitempty" tf:"subnets"`
	// List of tags
	// +optional
	Tags []string `json:"tags,omitempty" tf:"tags"`
	// VLAN type
	Type *string `json:"type" tf:"type"`
	// VLAN number
	// +optional
	VlanNumber *int64 `json:"vlanNumber,omitempty" tf:"vlan_number"`
}

func (*VlanSpecResource) DeepCopy

func (in *VlanSpecResource) DeepCopy() *VlanSpecResource

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

func (*VlanSpecResource) DeepCopyInto

func (in *VlanSpecResource) DeepCopyInto(out *VlanSpecResource)

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

type VlanSpecSubnets

type VlanSpecSubnets struct {
	// +optional
	Cidr *int64 `json:"cidr,omitempty" tf:"cidr"`
	// +optional
	Gateway *string `json:"gateway,omitempty" tf:"gateway"`
	// +optional
	Subnet *string `json:"subnet,omitempty" tf:"subnet"`
	// +optional
	SubnetSize *int64 `json:"subnetSize,omitempty" tf:"subnet_size"`
	// +optional
	SubnetType *string `json:"subnetType,omitempty" tf:"subnet_type"`
}

func (*VlanSpecSubnets) DeepCopy

func (in *VlanSpecSubnets) DeepCopy() *VlanSpecSubnets

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

func (*VlanSpecSubnets) DeepCopyInto

func (in *VlanSpecSubnets) DeepCopyInto(out *VlanSpecSubnets)

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

type VlanStatus

type VlanStatus struct {
	// Resource generation, which is updated on mutation by the API Server.
	// +optional
	ObservedGeneration int64 `json:"observedGeneration,omitempty"`
	// +optional
	Phase status.Status `json:"phase,omitempty"`
	// +optional
	Conditions []kmapi.Condition `json:"conditions,omitempty"`
}

func (*VlanStatus) DeepCopy

func (in *VlanStatus) DeepCopy() *VlanStatus

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

func (*VlanStatus) DeepCopyInto

func (in *VlanStatus) DeepCopyInto(out *VlanStatus)

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