v1alpha1

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package v1alpha1 contains the v1alpha1 group eventstreamsadminv1 resources of the IBM Cloud provider. +kubebuilder:object:generate=true +groupName=vpcv1.ibmcloud.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	Group   = "vpcv1.ibmcloud.crossplane.io"
	Version = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// SchemeGroupVersion is group version used to register these objects
	SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}
)
View Source
var (
	VPCKind                = reflect.TypeOf(VPC{}).Name()
	VPCGroupKind           = schema.GroupKind{Group: Group, Kind: VPCKind}.String()
	VPCKindAPIVersion      = VPCKind + "." + SchemeGroupVersion.String()
	VPCGroupVersionKind    = SchemeGroupVersion.WithKind(VPCKind)
	SubnetKind             = reflect.TypeOf(Subnet{}).Name()
	SubnetGroupKind        = schema.GroupKind{Group: Group, Kind: SubnetKind}.String()
	SubnetKindAPIVersion   = SubnetKind + "." + SchemeGroupVersion.String()
	SubnetGroupVersionKind = SchemeGroupVersion.WithKind(SubnetKind)
)

types metadata.

Functions

This section is empty.

Types

type IP

type IP struct {
	// The IP address. This property may add support for IPv6 addresses in the future. When processing a value in this
	// property, verify that the address is in an expected format. If it is not, log an error. Optionally halt processing
	// and surface the error, or bypass the resource on which the unexpected IP address format was encountered.
	Address string `json:"address,omitempty"`
}

IP contains the ip address

func (*IP) DeepCopy

func (in *IP) DeepCopy() *IP

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

func (*IP) DeepCopyInto

func (in *IP) DeepCopyInto(out *IP)

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

type NetworkACLIdentity

type NetworkACLIdentity struct {
	// The unique identifier for this network ACL.
	ID string `json:"id"`
}

NetworkACLIdentity identifies ... a network ACL. We allow only 1 parameter - ID - for simplicity; the IBM API has 3 parameters

func (*NetworkACLIdentity) DeepCopy

func (in *NetworkACLIdentity) DeepCopy() *NetworkACLIdentity

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

func (*NetworkACLIdentity) DeepCopyInto

func (in *NetworkACLIdentity) DeepCopyInto(out *NetworkACLIdentity)

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

type NetworkACLReference

type NetworkACLReference struct {
	// The CRN for this network ACL.
	CRN string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted and provides
	// some supplementary information.
	Deleted *NetworkACLReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this network ACL.
	Href string `json:"href,omitempty"`

	// The unique identifier for this network ACL.
	ID string `json:"id,omitempty"`

	// The user-defined name for this network ACL.
	Name string `json:"name,omitempty"`
}

NetworkACLReference ...

func (*NetworkACLReference) DeepCopy

func (in *NetworkACLReference) DeepCopy() *NetworkACLReference

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

func (*NetworkACLReference) DeepCopyInto

func (in *NetworkACLReference) DeepCopyInto(out *NetworkACLReference)

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

type NetworkACLReferenceDeleted

type NetworkACLReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo string `json:"moreIinfo,omitempty"`
}

NetworkACLReferenceDeleted : If present, this property indicates the referenced resource has been deleted and provides some supplementary information.

func (*NetworkACLReferenceDeleted) DeepCopy

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

func (*NetworkACLReferenceDeleted) DeepCopyInto

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

type PublicGatewayIdentity

type PublicGatewayIdentity struct {
	// The unique identifier for this public gateway.
	ID string `json:"id"`
}

PublicGatewayIdentity identifies a public gateway by a unique property. We allow only 1 parameter - ID - for simplicity; the IBM API has 3 parameters

func (*PublicGatewayIdentity) DeepCopy

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

func (*PublicGatewayIdentity) DeepCopyInto

func (in *PublicGatewayIdentity) DeepCopyInto(out *PublicGatewayIdentity)

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

type PublicGatewayReference

type PublicGatewayReference struct {
	// The CRN for this public gateway.
	CRN string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted and provides
	// some supplementary information.
	Deleted *PublicGatewayReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this public gateway.
	Href string `json:"href,omitempty"`

	// The unique identifier for this public gateway.
	ID string `json:"id,omitempty"`

	// The user-defined name for this public gateway.
	Name string `json:"name,omitempty"`

	// The resource type.
	ResourceType string `json:"resourceType,omitempty"`
}

PublicGatewayReference ...

func (*PublicGatewayReference) DeepCopy

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

func (*PublicGatewayReference) DeepCopyInto

func (in *PublicGatewayReference) DeepCopyInto(out *PublicGatewayReference)

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

type PublicGatewayReferenceDeleted

type PublicGatewayReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo string `json:"moreInfo"`
}

PublicGatewayReferenceDeleted : If present, this property indicates the referenced resource has been deleted and provides some supplementary information.

func (*PublicGatewayReferenceDeleted) DeepCopy

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

func (*PublicGatewayReferenceDeleted) DeepCopyInto

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

type ResourceGroupIdentity

type ResourceGroupIdentity struct {
	// The unique identifier for this resource group.
	ID string `json:"id,omitempty"`
}

ResourceGroupIdentity containt an identifier for the resour group

func (*ResourceGroupIdentity) DeepCopy

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

func (*ResourceGroupIdentity) DeepCopyInto

func (in *ResourceGroupIdentity) DeepCopyInto(out *ResourceGroupIdentity)

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

type ResourceGroupReference

type ResourceGroupReference struct {
	// The URL for this resource group.
	Href string `json:"href,omitempty"`

	// The unique identifier for this resource group.
	ID string `json:"id,omitempty"`

	// The user-defined name for this resource group.
	Name string `json:"name,omitempty"`
}

ResourceGroupReference ...

func (*ResourceGroupReference) DeepCopy

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

func (*ResourceGroupReference) DeepCopyInto

func (in *ResourceGroupReference) DeepCopyInto(out *ResourceGroupReference)

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

type RoutingTableIdentity

type RoutingTableIdentity struct {
	// The unique identifier for this routing table.
	ID string `json:"id"`
}

RoutingTableIdentity : Identifies a routing table by a unique property. We allow only 1 parameter - ID - for simplicity; the IBM API has 2 parameters

func (*RoutingTableIdentity) DeepCopy

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

func (*RoutingTableIdentity) DeepCopyInto

func (in *RoutingTableIdentity) DeepCopyInto(out *RoutingTableIdentity)

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

type RoutingTableReference

type RoutingTableReference struct {
	// If present, this property indicates the referenced resource has been deleted and provides
	// some supplementary information.
	Deleted *RoutingTableReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this routing table.
	Href string `json:"href,omitempty"`

	// The unique identifier for this routing table.
	ID string `json:"id,omitempty"`

	// The user-defined name for this routing table.
	Name string `json:"name,omitempty"`

	// The resource type.
	ResourceType string `json:"resourceType,omitempty"`
}

RoutingTableReference : RoutingTableReference struct

func (*RoutingTableReference) DeepCopy

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

func (*RoutingTableReference) DeepCopyInto

func (in *RoutingTableReference) DeepCopyInto(out *RoutingTableReference)

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

type RoutingTableReferenceDeleted

type RoutingTableReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo string `json:"moreInfo,omitempty"`
}

RoutingTableReferenceDeleted : If present, this property indicates the referenced resource has been deleted and provides some supplementary information.

func (*RoutingTableReferenceDeleted) DeepCopy

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

func (*RoutingTableReferenceDeleted) DeepCopyInto

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

type SecurityGroupReference

type SecurityGroupReference struct {
	// The security group's CRN.
	CRN string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted and provides
	// some supplementary information.
	Deleted *SecurityGroupReferenceDeleted `json:"deleted,omitempty"`

	// The security group's canonical URL.
	Href string `json:"href,omitempty"`

	// The unique identifier for this security group.
	ID string `json:"id,omitempty"`

	// The user-defined name for this security group. Names must be unique within the VPC the security group resides in.
	Name string `json:"name,omitempty"`
}

SecurityGroupReference : SecurityGroupReference struct

func (*SecurityGroupReference) DeepCopy

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

func (*SecurityGroupReference) DeepCopyInto

func (in *SecurityGroupReference) DeepCopyInto(out *SecurityGroupReference)

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

type SecurityGroupReferenceDeleted

type SecurityGroupReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo string `json:"moreInfo,omitempty"`
}

SecurityGroupReferenceDeleted : If present, this property indicates the referenced resource has been deleted and provides some supplementary information.

func (*SecurityGroupReferenceDeleted) DeepCopy

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

func (*SecurityGroupReferenceDeleted) DeepCopyInto

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

type Subnet

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

	Spec   SubnetSpec   `json:"spec"`
	Status SubnetStatus `json:"status,omitempty"`
}

Subnet contains all the info (spec + status) for a Subnet +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.status" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ibmcloud}

func (*Subnet) DeepCopy

func (in *Subnet) DeepCopy() *Subnet

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

func (*Subnet) DeepCopyInto

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

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

func (*Subnet) DeepCopyObject

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

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

func (*Subnet) GetCondition

GetCondition of this Subnet.

func (*Subnet) GetDeletionPolicy

func (mg *Subnet) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this Subnet.

func (*Subnet) GetProviderConfigReference

func (mg *Subnet) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this Subnet.

func (*Subnet) GetProviderReference

func (mg *Subnet) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this Subnet. Deprecated: Use GetProviderConfigReference.

func (*Subnet) GetWriteConnectionSecretToReference

func (mg *Subnet) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this Subnet.

func (*Subnet) ResolveReferences

func (mg *Subnet) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences resolves the crossplane reference to the VPC

func (*Subnet) SetConditions

func (mg *Subnet) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this Subnet.

func (*Subnet) SetDeletionPolicy

func (mg *Subnet) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this Subnet.

func (*Subnet) SetProviderConfigReference

func (mg *Subnet) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this Subnet.

func (*Subnet) SetProviderReference

func (mg *Subnet) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this Subnet. Deprecated: Use SetProviderConfigReference.

func (*Subnet) SetWriteConnectionSecretToReference

func (mg *Subnet) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this Subnet.

type SubnetList

type SubnetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// List of subnets returned
	Items []Subnet `json:"subnets"`
}

SubnetList - list of existing subnets...

func (*SubnetList) DeepCopy

func (in *SubnetList) DeepCopy() *SubnetList

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

func (*SubnetList) DeepCopyInto

func (in *SubnetList) DeepCopyInto(out *SubnetList)

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

func (*SubnetList) DeepCopyObject

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

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

func (*SubnetList) GetItems

func (l *SubnetList) GetItems() []resource.Managed

GetItems of this SubnetList.

type SubnetObservation

type SubnetObservation struct {
	// The number of IPv4 addresses in this subnet that are not in-use, and have not been reserved by the user or the
	// provider.
	AvailableIpv4AddressCount int64 `json:"availableIpv4AddressCount"`

	// The date and time that the subnet was created.
	CreatedAt *metav1.Time `json:"createdAt"`

	// The CRN for this subnet.
	CRN string `json:"crn"`

	// The URL for this subnet.
	Href string `json:"href"`

	// The unique identifier for this subnet.
	ID string `json:"id"`

	// The IP version(s) supported by this subnet.
	IPVersion string `json:"ipVersion"`

	// The IPv4 range of the subnet, expressed in CIDR format.
	Ipv4CIDRBlock string `json:"opv4CIDRBlock,omitempty"`

	// The user-defined name for this subnet.
	Name string `json:"name"`

	// The network ACL for this subnet.
	NetworkACL NetworkACLReference `json:"NetworkACL,omitempty"`

	// The public gateway to use for internet-bound traffic for this subnet.
	PublicGateway PublicGatewayReference `json:"publicGateway,omitempty"`

	// The resource group for this subnet.
	ResourceGroup ResourceGroupReference `json:"resourceGroup"`

	// The routing table for this subnet.
	RoutingTable RoutingTableReference `json:"routingTable,omitempty"`

	// The status of the subnet.
	Status string `json:"status"`

	// The total number of IPv4 addresses in this subnet.
	//
	// Note: This is calculated as 2<sup>(32 − prefix length)</sup>. For example, the prefix length `/24` gives:<br>
	// 2<sup>(32 − 24)</sup> = 2<sup>8</sup> = 256 addresses.
	TotalIpv4AddressCount int64 `json:"totalIpv4AddressCount,omitempty"`

	// The VPC this subnet is a part of.
	VPC VPCReference `json:"vpc"`

	// The zone this subnet resides in.
	Zone ZoneReference `json:"zone"`
}

SubnetObservation ...what comes back from the IBM cloud

func (*SubnetObservation) DeepCopy

func (in *SubnetObservation) DeepCopy() *SubnetObservation

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

func (*SubnetObservation) DeepCopyInto

func (in *SubnetObservation) DeepCopyInto(out *SubnetObservation)

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

type SubnetParameters

type SubnetParameters struct {
	// First way to specify the subnet
	//
	// +immutable
	// +optional
	ByTocalCount *SubnetPrototypeSubnetByTotalCount `json:"byTocalCount,omitempty"`

	// Second way to specify the subnet
	//
	// +immutable
	// _optional
	ByCIDR *SubnetPrototypeSubnetByCIDR `json:"byCIDR,omitempty"`
}

SubnetParameters are the subnet parameters. Only one of the members must be non-nil

func (*SubnetParameters) DeepCopy

func (in *SubnetParameters) DeepCopy() *SubnetParameters

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

func (*SubnetParameters) DeepCopyInto

func (in *SubnetParameters) DeepCopyInto(out *SubnetParameters)

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

type SubnetPrototypeSubnetByCIDR

type SubnetPrototypeSubnetByCIDR struct {
	// The IP version(s) to support for this subnet. Only current allowable value is 'ipv4'
	//
	// +immutable
	// +optional
	IPVersion *string `json:"ip_version,omitempty"`

	// The user-defined name for this subnet. Names must be unique within the VPC the subnet resides in. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	//
	// +optional
	Name *string `json:"name,omitempty"`

	// The network ACL to use for this subnet.
	//
	// +optional
	NetworkACL *NetworkACLIdentity `json:"networkACL,omitempty"`

	// The public gateway to use for internet-bound traffic for this subnet. If
	// unspecified, the subnet will not be attached to a public gateway.
	//
	// +optional
	PublicGateway *PublicGatewayIdentity `json:"publicGateway,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used.
	//
	// +immutable
	// +optional
	ResourceGroup *ResourceGroupIdentity `json:"resourceGroup,omitempty"`

	// The routing table to use for this subnet. If unspecified, the default routing table
	// for the VPC is used. The routing table properties `route_direct_link_ingress`,
	// `route_transit_gateway_ingress`, and `route_vpc_zone_ingress` must be `false`.
	//
	// +optional
	RoutingTable *RoutingTableIdentity `json:"routingTable,omitempty"`

	// The VPC the subnet is to be a part of.
	//
	// +immutable
	VPC VPCIdentity `json:"vpc"`

	// The zone this subnet will reside in.
	//
	// +immutable
	// +optional
	Zone *ZoneIdentity `json:"zone,omitempty"`

	// The IPv4 range of the subnet, expressed in CIDR format. The prefix length of the subnet's CIDR must be between `/9`
	// (8,388,608 addresses) and `/29` (8 addresses). The IPv4 range of the subnet's CIDR must fall within an existing
	// address prefix in the VPC. The subnet will be created in the zone of the address prefix that contains the IPv4 CIDR.
	// If zone is specified, it must match the zone of the address prefix that contains the subnet's IPv4 CIDR.
	//
	// +immutable
	Ipv4CIDRBlock string `json:"ipv4CIDRBlock"`
}

SubnetPrototypeSubnetByCIDR are input params when creating a Subnet

func (*SubnetPrototypeSubnetByCIDR) DeepCopy

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

func (*SubnetPrototypeSubnetByCIDR) DeepCopyInto

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

type SubnetPrototypeSubnetByTotalCount

type SubnetPrototypeSubnetByTotalCount struct {
	// The IP version(s) to support for this subnet. Only current allowable value is 'ipv4'
	//
	// +immutable
	// +optional
	IPVersion *string `json:"ip_version,omitempty"`

	// The user-defined name for this subnet. Names must be unique within the VPC the subnet resides in. If unspecified,
	// the name will be a hyphenated list of randomly-selected words.
	//
	// +optional
	Name *string `json:"name,omitempty"`

	// The network ACL to use for this subnet.
	//
	// +optional
	NetworkACL *NetworkACLIdentity `json:"networkACL,omitempty"`

	// The public gateway to use for internet-bound traffic for this subnet. If
	// unspecified, the subnet will not be attached to a public gateway.
	//
	// +optional
	PublicGateway *PublicGatewayIdentity `json:"publicGateway,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used.
	//
	// +immutable
	// +optional
	ResourceGroup *ResourceGroupIdentity `json:"resourceGroup,omitempty"`

	// The routing table to use for this subnet. If unspecified, the default routing table
	// for the VPC is used. The routing table properties `route_direct_link_ingress`,
	// `route_transit_gateway_ingress`, and `route_vpc_zone_ingress` must be `false`.
	//
	// +optional
	RoutingTable *RoutingTableIdentity `json:"routingTable,omitempty"`

	// The VPC the subnet is to be a part of.
	//
	// +immutable
	VPC VPCIdentity `json:"vpc"`

	// The total number of IPv4 addresses required. Must be a power of 2. The VPC must have a default address prefix in the
	// specified zone, and that prefix must have a free CIDR range with at least this number of addresses.
	//
	// +immutable
	TotalIpv4AddressCount int64 `json:"totalIpv4AddressCount"`

	// The zone this subnet will reside in.
	//
	// +immutable
	Zone ZoneIdentity `json:"zone"`
}

SubnetPrototypeSubnetByTotalCount are input params when creating a Subnet

func (*SubnetPrototypeSubnetByTotalCount) DeepCopy

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

func (*SubnetPrototypeSubnetByTotalCount) DeepCopyInto

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

type SubnetSpec

type SubnetSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Info the IBM cloud needs to create a subnet
	ForProvider SubnetParameters `json:"forProvider"`
}

SubnetSpec is the desired end-state of a subnet in the IBM cloud

func (*SubnetSpec) DeepCopy

func (in *SubnetSpec) DeepCopy() *SubnetSpec

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

func (*SubnetSpec) DeepCopyInto

func (in *SubnetSpec) DeepCopyInto(out *SubnetSpec)

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

type SubnetStatus

type SubnetStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	// Info the IBM cloud returns about a subnet
	AtProvider SubnetObservation `json:"atProvider,omitempty"`
}

SubnetStatus - whatever the status is (the IBM cloud decides that)

func (*SubnetStatus) DeepCopy

func (in *SubnetStatus) DeepCopy() *SubnetStatus

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

func (*SubnetStatus) DeepCopyInto

func (in *SubnetStatus) DeepCopyInto(out *SubnetStatus)

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

type VPC

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

	Spec   VPCSpec   `json:"spec"`
	Status VPCStatus `json:"status,omitempty"`
}

VPC contains all the info (spec + status) for a VPC +kubebuilder:subresource:status +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="STATE",type="string",JSONPath=".status.atProvider.status" +kubebuilder:printcolumn:name="CLASS",type="string",JSONPath=".spec.classRef.name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,ibmcloud}

func (*VPC) DeepCopy

func (in *VPC) DeepCopy() *VPC

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

func (*VPC) DeepCopyInto

func (in *VPC) DeepCopyInto(out *VPC)

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

func (*VPC) DeepCopyObject

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

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

func (*VPC) GetCondition

GetCondition of this VPC.

func (*VPC) GetDeletionPolicy

func (mg *VPC) GetDeletionPolicy() runtimev1alpha1.DeletionPolicy

GetDeletionPolicy of this VPC.

func (*VPC) GetProviderConfigReference

func (mg *VPC) GetProviderConfigReference() *runtimev1alpha1.Reference

GetProviderConfigReference of this VPC.

func (*VPC) GetProviderReference

func (mg *VPC) GetProviderReference() *runtimev1alpha1.Reference

GetProviderReference of this VPC. Deprecated: Use GetProviderConfigReference.

func (*VPC) GetWriteConnectionSecretToReference

func (mg *VPC) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference

GetWriteConnectionSecretToReference of this VPC.

func (*VPC) SetConditions

func (mg *VPC) SetConditions(c ...runtimev1alpha1.Condition)

SetConditions of this VPC.

func (*VPC) SetDeletionPolicy

func (mg *VPC) SetDeletionPolicy(r runtimev1alpha1.DeletionPolicy)

SetDeletionPolicy of this VPC.

func (*VPC) SetProviderConfigReference

func (mg *VPC) SetProviderConfigReference(r *runtimev1alpha1.Reference)

SetProviderConfigReference of this VPC.

func (*VPC) SetProviderReference

func (mg *VPC) SetProviderReference(r *runtimev1alpha1.Reference)

SetProviderReference of this VPC. Deprecated: Use SetProviderConfigReference.

func (*VPC) SetWriteConnectionSecretToReference

func (mg *VPC) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)

SetWriteConnectionSecretToReference of this VPC.

type VPCIdentity

type VPCIdentity struct {
	// Crossplane reference of the VPC name
	//
	// +immutable
	// +optional
	VPCRef *runtimev1alpha1.Reference `json:"vpcRef,omitempty"`

	// Selects a reference to a VPC
	//
	// +immutable
	// +optional
	VPCSelector *runtimev1alpha1.Selector `json:"vpcSelector,omitempty"`

	// The unique identifier for this VPC.
	ID *string `json:"id,omitempty"`
}

VPCIdentity identifies a VPC by a unique property. Only one element should be set (we only allow one parameter - ID - for simplicity; the IBM cloud API allows 3)

func (*VPCIdentity) DeepCopy

func (in *VPCIdentity) DeepCopy() *VPCIdentity

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

func (*VPCIdentity) DeepCopyInto

func (in *VPCIdentity) DeepCopyInto(out *VPCIdentity)

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

type VPCList

type VPCList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`

	// List of VPCs returned
	Items []VPC `json:"vpcs"`
}

VPCList - list of existing VPCs...

func (*VPCList) DeepCopy

func (in *VPCList) DeepCopy() *VPCList

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

func (*VPCList) DeepCopyInto

func (in *VPCList) DeepCopyInto(out *VPCList)

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

func (*VPCList) DeepCopyObject

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

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

func (*VPCList) GetItems

func (l *VPCList) GetItems() []resource.Managed

GetItems of this VPCList.

type VPCObservation

type VPCObservation struct {
	// Indicates whether this VPC is connected to Classic Infrastructure. If true, this VPC's resources have private
	// network connectivity to the account's Classic Infrastructure resources. Only one VPC, per region, may be connected
	// in this way. This value is set at creation and subsequently immutable.
	ClassicAccess bool `json:"classicAccess,omitempty"`

	// The date and time that the VPC was created.
	CreatedAt *metav1.Time `json:"createdAt,omitempty"`

	// The CRN for this VPC.
	CRN string `json:"crn,omitempty"`

	// Array of CSE ([Cloud Service Endpoint](https://cloud.ibm.com/docs/resources?topic=resources-service-endpoints))
	// source IP addresses for the VPC. The VPC will have one CSE source IP address per zone.
	CseSourceIps []VpccseSourceIP `json:"cseSourceIps,omitempty"`

	// The default network ACL to use for subnets created in this VPC.
	DefaultNetworkACL NetworkACLReference `json:"defaultNetworkAcl"`

	// The default routing table to use for subnets created in this VPC.
	DefaultRoutingTable RoutingTableReference `json:"defaultRoutingTable,omitempty"`

	// The default security group to use for network interfaces created in this VPC.
	DefaultSecurityGroup SecurityGroupReference `json:"defaultSecurityGroup,omitempty"`

	// The URL for this VPC.
	Href string `json:"href,omitempty"`

	// The unique identifier for this VPC.
	ID string `json:"id,omitempty"`

	// The unique user-defined name for this VPC.
	Name string `json:"name,omitempty"`

	// The resource group for this VPC.
	ResourceGroup ResourceGroupReference `json:"resourceGroup,omitempty"`

	// The status of this VPC.
	Status string `json:"status,omitempty"`
}

VPCObservation ...what comes back

func (*VPCObservation) DeepCopy

func (in *VPCObservation) DeepCopy() *VPCObservation

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

func (*VPCObservation) DeepCopyInto

func (in *VPCObservation) DeepCopyInto(out *VPCObservation)

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

type VPCParameters

type VPCParameters struct {
	// Indicates whether a default address prefix should be automatically created for each zone in this VPC. If `manual`,
	// this VPC will be created with no default address prefixes.
	//
	// +immutable
	// +optional
	AddressPrefixManagement *string `json:"addressPrefixManagement,omitempty"`

	// Indicates whether this VPC should be connected to Classic Infrastructure. If true, this VPC's resources will have
	// private network connectivity to the account's Classic Infrastructure resources. Only one VPC, per region, may be
	// connected in this way. This value is set at creation and subsequently immutable.
	//
	// Note that in the actual API this is an optional parameter (of type *bool, much more). We make it compulsory here
	// as o/w we would be allowed to specicy an "empty" forProvider section in the yaml file, and crossplane would complain
	//
	// +immutable
	ClassicAccess bool `json:"classicAccess"`

	// The unique user-defined name for this VPC. If unspecified, the name will be a hyphenated list of randomly-selected
	// words.
	//
	// +immutable
	// +optional
	Name *string `json:"name,omitempty"`

	// The resource group to use. If unspecified, the account's [default resource
	// group](https://cloud.ibm.com/apidocs/resource-manager#introduction) is used.
	//
	// +immutable
	// +optional
	ResourceGroup *ResourceGroupIdentity `json:"resourceGroup,omitempty"`
}

VPCParameters are input params when creating a VPC

func (*VPCParameters) DeepCopy

func (in *VPCParameters) DeepCopy() *VPCParameters

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

func (*VPCParameters) DeepCopyInto

func (in *VPCParameters) DeepCopyInto(out *VPCParameters)

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

type VPCReference

type VPCReference struct {
	// The CRN for this VPC.
	CRN string `json:"crn,omitempty"`

	// If present, this property indicates the referenced resource has been deleted and provides
	// some supplementary information.
	Deleted *VPCReferenceDeleted `json:"deleted,omitempty"`

	// The URL for this VPC.
	Href string `json:"href,omitempty"`

	// The unique identifier for this VPC.
	ID string `json:"id,omitempty"`

	// The unique user-defined name for this VPC.
	Name string `json:"name,omitempty"`
}

VPCReference ...

func (*VPCReference) DeepCopy

func (in *VPCReference) DeepCopy() *VPCReference

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

func (*VPCReference) DeepCopyInto

func (in *VPCReference) DeepCopyInto(out *VPCReference)

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

type VPCReferenceDeleted

type VPCReferenceDeleted struct {
	// Link to documentation about deleted resources.
	MoreInfo string `json:"moreInfo,omitempty"`
}

VPCReferenceDeleted If present, this property indicates the referenced resource has been deleted and provides some supplementary information.

func (*VPCReferenceDeleted) DeepCopy

func (in *VPCReferenceDeleted) DeepCopy() *VPCReferenceDeleted

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

func (*VPCReferenceDeleted) DeepCopyInto

func (in *VPCReferenceDeleted) DeepCopyInto(out *VPCReferenceDeleted)

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

type VPCSpec

type VPCSpec struct {
	runtimev1alpha1.ResourceSpec `json:",inline"`

	// Info the IBM cloud needs to create a VPC
	ForProvider VPCParameters `json:"forProvider"`
}

VPCSpec is the desired end-state of a VPC in the IBM cloud

func (*VPCSpec) DeepCopy

func (in *VPCSpec) DeepCopy() *VPCSpec

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

func (*VPCSpec) DeepCopyInto

func (in *VPCSpec) DeepCopyInto(out *VPCSpec)

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

type VPCStatus

type VPCStatus struct {
	runtimev1alpha1.ResourceStatus `json:",inline"`

	// Info the IBM cloud returns about a bucket
	AtProvider VPCObservation `json:"atProvider,omitempty"`
}

VPCStatus - whatever the status is (the IBM cloud decides that)

func (*VPCStatus) DeepCopy

func (in *VPCStatus) DeepCopy() *VPCStatus

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

func (*VPCStatus) DeepCopyInto

func (in *VPCStatus) DeepCopyInto(out *VPCStatus)

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

type VpccseSourceIP

type VpccseSourceIP struct {
	// The cloud service endpoint source IP address for this zone.
	IP IP `json:"ip,omitempty"`

	// The zone this cloud service endpoint source IP resides in.
	Zone ZoneReference `json:"zone,omitempty"`
}

VpccseSourceIP ...

func (*VpccseSourceIP) DeepCopy

func (in *VpccseSourceIP) DeepCopy() *VpccseSourceIP

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

func (*VpccseSourceIP) DeepCopyInto

func (in *VpccseSourceIP) DeepCopyInto(out *VpccseSourceIP)

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

type ZoneIdentity

type ZoneIdentity struct {
	// The globally unique name for this zone.
	Name string `json:"name"`
}

ZoneIdentity ...for subnet creation only (we only allow one parameter - Name - for simplicity; IBM cloud API allows 2)

func (*ZoneIdentity) DeepCopy

func (in *ZoneIdentity) DeepCopy() *ZoneIdentity

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

func (*ZoneIdentity) DeepCopyInto

func (in *ZoneIdentity) DeepCopyInto(out *ZoneIdentity)

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

type ZoneReference

type ZoneReference struct {
	// The URL for this zone.
	Href string `json:"href,omitempty"`

	// The globally unique name for this zone.
	Name string `json:"name,omitempty"`
}

ZoneReference ...for observation only

func (*ZoneReference) DeepCopy

func (in *ZoneReference) DeepCopy() *ZoneReference

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

func (*ZoneReference) DeepCopyInto

func (in *ZoneReference) DeepCopyInto(out *ZoneReference)

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