v1alpha1

package
v0.0.0-...-8a3a4fc Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=core.oracle.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "core.oracle.upbound.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

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

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Vcn_Kind             = "Vcn"
	Vcn_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Vcn_Kind}.String()
	Vcn_KindAPIVersion   = Vcn_Kind + "." + CRDGroupVersion.String()
	Vcn_GroupVersionKind = CRDGroupVersion.WithKind(Vcn_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Byoipv6CidrDetailsObservation

type Byoipv6CidrDetailsObservation struct {
}

func (*Byoipv6CidrDetailsObservation) DeepCopy

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

func (*Byoipv6CidrDetailsObservation) DeepCopyInto

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

type Byoipv6CidrDetailsParameters

type Byoipv6CidrDetailsParameters struct {

	// The OCID of the ByoipRange resource to which the CIDR block belongs.
	// +kubebuilder:validation:Required
	Byoipv6RangeID *string `json:"byoipv6rangeId" tf:"byoipv6range_id,omitempty"`

	// An IPv6 CIDR block required to create a VCN with a BYOIP prefix. It could be the whole CIDR block identified in byoipv6RangeId, or a subrange. Example: 2001:0db8:0123::/48
	// +kubebuilder:validation:Required
	Ipv6CidrBlock *string `json:"ipv6cidrBlock" tf:"ipv6cidr_block,omitempty"`
}

func (*Byoipv6CidrDetailsParameters) DeepCopy

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

func (*Byoipv6CidrDetailsParameters) DeepCopyInto

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

type Vcn

type Vcn struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              VcnSpec   `json:"spec"`
	Status            VcnStatus `json:"status,omitempty"`
}

Vcn is the Schema for the Vcns API. Provides the Vcn resource in Oracle Cloud Infrastructure Core service +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,oracle}

func (*Vcn) DeepCopy

func (in *Vcn) DeepCopy() *Vcn

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

func (*Vcn) DeepCopyInto

func (in *Vcn) DeepCopyInto(out *Vcn)

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

func (*Vcn) DeepCopyObject

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

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

func (*Vcn) GetCondition

func (mg *Vcn) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Vcn.

func (*Vcn) GetConnectionDetailsMapping

func (tr *Vcn) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Vcn

func (*Vcn) GetDeletionPolicy

func (mg *Vcn) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Vcn.

func (*Vcn) GetID

func (tr *Vcn) GetID() string

GetID returns ID of underlying Terraform resource of this Vcn

func (*Vcn) GetObservation

func (tr *Vcn) GetObservation() (map[string]any, error)

GetObservation of this Vcn

func (*Vcn) GetParameters

func (tr *Vcn) GetParameters() (map[string]any, error)

GetParameters of this Vcn

func (*Vcn) GetProviderConfigReference

func (mg *Vcn) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Vcn.

func (*Vcn) GetProviderReference

func (mg *Vcn) GetProviderReference() *xpv1.Reference

GetProviderReference of this Vcn. Deprecated: Use GetProviderConfigReference.

func (*Vcn) GetPublishConnectionDetailsTo

func (mg *Vcn) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Vcn.

func (*Vcn) GetTerraformResourceType

func (mg *Vcn) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Vcn

func (*Vcn) GetTerraformSchemaVersion

func (tr *Vcn) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Vcn) GetWriteConnectionSecretToReference

func (mg *Vcn) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Vcn.

func (*Vcn) LateInitialize

func (tr *Vcn) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Vcn using its observed tfState. returns True if there are any spec changes for the resource.

func (*Vcn) SetConditions

func (mg *Vcn) SetConditions(c ...xpv1.Condition)

SetConditions of this Vcn.

func (*Vcn) SetDeletionPolicy

func (mg *Vcn) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Vcn.

func (*Vcn) SetObservation

func (tr *Vcn) SetObservation(obs map[string]any) error

SetObservation for this Vcn

func (*Vcn) SetParameters

func (tr *Vcn) SetParameters(params map[string]any) error

SetParameters for this Vcn

func (*Vcn) SetProviderConfigReference

func (mg *Vcn) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Vcn.

func (*Vcn) SetProviderReference

func (mg *Vcn) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Vcn. Deprecated: Use SetProviderConfigReference.

func (*Vcn) SetPublishConnectionDetailsTo

func (mg *Vcn) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Vcn.

func (*Vcn) SetWriteConnectionSecretToReference

func (mg *Vcn) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Vcn.

type VcnList

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

VcnList contains a list of Vcns

func (*VcnList) DeepCopy

func (in *VcnList) DeepCopy() *VcnList

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

func (*VcnList) DeepCopyInto

func (in *VcnList) DeepCopyInto(out *VcnList)

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

func (*VcnList) DeepCopyObject

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

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

func (*VcnList) GetItems

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

GetItems of this VcnList.

type VcnObservation

type VcnObservation struct {

	// The list of BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges.
	Byoipv6CidrBlocks []*string `json:"byoipv6cidrBlocks,omitempty" tf:"byoipv6cidr_blocks,omitempty"`

	// The OCID for the VCN's default set of DHCP options.
	DefaultDHCPOptionsID *string `json:"defaultDhcpOptionsId,omitempty" tf:"default_dhcp_options_id,omitempty"`

	// The OCID for the VCN's default route table.
	DefaultRouteTableID *string `json:"defaultRouteTableId,omitempty" tf:"default_route_table_id,omitempty"`

	// The OCID for the VCN's default security list.
	DefaultSecurityListID *string `json:"defaultSecurityListId,omitempty" tf:"default_security_list_id,omitempty"`

	// The VCN's Oracle ID (OCID).
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// For an IPv6-enabled VCN, this is the list of IPv6 CIDR blocks for the VCN's IP address space. The CIDRs are provided by Oracle and the sizes are always /56.
	Ipv6CidrBlocks []*string `json:"ipv6cidrBlocks,omitempty" tf:"ipv6cidr_blocks,omitempty"`

	// The VCN's current state.
	State *string `json:"state,omitempty" tf:"state,omitempty"`

	// The date and time the VCN was created, in the format defined by RFC3339.  Example: 2016-08-25T21:10:29.600Z
	TimeCreated *string `json:"timeCreated,omitempty" tf:"time_created,omitempty"`

	// The VCN's domain name, which consists of the VCN's DNS label, and the oraclevcn.com domain.
	VcnDomainName *string `json:"vcnDomainName,omitempty" tf:"vcn_domain_name,omitempty"`
}

func (*VcnObservation) DeepCopy

func (in *VcnObservation) DeepCopy() *VcnObservation

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

func (*VcnObservation) DeepCopyInto

func (in *VcnObservation) DeepCopyInto(out *VcnObservation)

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

type VcnParameters

type VcnParameters struct {

	// The list of BYOIPv6 OCIDs and BYOIPv6 CIDR blocks required to create a VCN that uses BYOIPv6 ranges.
	// +kubebuilder:validation:Optional
	Byoipv6CidrDetails []Byoipv6CidrDetailsParameters `json:"byoipv6cidrDetails,omitempty" tf:"byoipv6cidr_details,omitempty"`

	// Deprecated. Do not set this value. Use cidrBlocks instead. Example: 10.0.0.0/16
	// +kubebuilder:validation:Optional
	CidrBlock *string `json:"cidrBlock,omitempty" tf:"cidr_block,omitempty"`

	// (Updatable) The list of one or more IPv4 CIDR blocks for the VCN that meet the following criteria:
	// +kubebuilder:validation:Optional
	CidrBlocks []*string `json:"cidrBlocks,omitempty" tf:"cidr_blocks,omitempty"`

	// (Updatable) The OCID of the compartment to contain the VCN.
	// +kubebuilder:validation:Required
	CompartmentID *string `json:"compartmentId" tf:"compartment_id,omitempty"`

	// A DNS label for the VCN, used in conjunction with the VNIC's hostname and subnet's DNS label to form a fully qualified domain name (FQDN) for each VNIC within this subnet (for example, bminstance1.subnet123.vcn1.oraclevcn.com). Not required to be unique, but it's a best practice to set unique DNS labels for VCNs in your tenancy. Must be an alphanumeric string that begins with a letter. The value cannot be changed.
	// +kubebuilder:validation:Optional
	DNSLabel *string `json:"dnsLabel,omitempty" tf:"dns_label,omitempty"`

	// (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.  Example: {"Operations.CostCenter": "42"}
	// +kubebuilder:validation:Optional
	DefinedTags map[string]*string `json:"definedTags,omitempty" tf:"defined_tags,omitempty"`

	// (Updatable) A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
	// +kubebuilder:validation:Optional
	DisplayName *string `json:"displayName,omitempty" tf:"display_name,omitempty"`

	// (Updatable) Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.  Example: {"Department": "Finance"}
	// +kubebuilder:validation:Optional
	FreeformTags map[string]*string `json:"freeformTags,omitempty" tf:"freeform_tags,omitempty"`

	// The list of one or more ULA or Private IPv6 CIDR blocks for the vcn that meets the following criteria:
	// +kubebuilder:validation:Optional
	Ipv6PrivateCidrBlocks []*string `json:"ipv6privateCidrBlocks,omitempty" tf:"ipv6private_cidr_blocks,omitempty"`

	// Whether IPv6 is enabled for the VCN. Default is false. If enabled, Oracle will assign the VCN a IPv6 /56 CIDR block. You may skip having Oracle allocate the VCN a IPv6 /56 CIDR block by setting isOracleGuaAllocationEnabled to false. For important details about IPv6 addressing in a VCN, see IPv6 Addresses.  Example: true
	// +kubebuilder:validation:Optional
	IsIpv6Enabled *bool `json:"isIpv6Enabled,omitempty" tf:"is_ipv6enabled,omitempty"`

	// Specifies whether to skip Oracle allocated IPv6 GUA. By default, Oracle will allocate one GUA of /56 size for an IPv6 enabled VCN.
	// +kubebuilder:validation:Optional
	IsOracleGuaAllocationEnabled *bool `json:"isOracleGuaAllocationEnabled,omitempty" tf:"is_oracle_gua_allocation_enabled,omitempty"`
}

func (*VcnParameters) DeepCopy

func (in *VcnParameters) DeepCopy() *VcnParameters

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

func (*VcnParameters) DeepCopyInto

func (in *VcnParameters) DeepCopyInto(out *VcnParameters)

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

type VcnSpec

type VcnSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     VcnParameters `json:"forProvider"`
}

VcnSpec defines the desired state of Vcn

func (*VcnSpec) DeepCopy

func (in *VcnSpec) DeepCopy() *VcnSpec

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

func (*VcnSpec) DeepCopyInto

func (in *VcnSpec) DeepCopyInto(out *VcnSpec)

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

type VcnStatus

type VcnStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        VcnObservation `json:"atProvider,omitempty"`
}

VcnStatus defines the observed state of Vcn.

func (*VcnStatus) DeepCopy

func (in *VcnStatus) DeepCopy() *VcnStatus

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

func (*VcnStatus) DeepCopyInto

func (in *VcnStatus) DeepCopyInto(out *VcnStatus)

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