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.mongodbatlas.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 Container

type Container struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ContainerSpec   `json:"spec,omitempty"`
	Status            ContainerStatus `json:"status,omitempty"`
}

func (*Container) DeepCopy

func (in *Container) DeepCopy() *Container

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

func (*Container) DeepCopyInto

func (in *Container) DeepCopyInto(out *Container)

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

func (*Container) DeepCopyObject

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

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

func (*Container) SetupWebhookWithManager

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

func (*Container) ValidateCreate

func (r *Container) ValidateCreate() error

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

func (*Container) ValidateDelete

func (r *Container) ValidateDelete() error

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

func (*Container) ValidateUpdate

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

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

type ContainerList

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

ContainerList is a list of Containers

func (*ContainerList) DeepCopy

func (in *ContainerList) DeepCopy() *ContainerList

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

func (*ContainerList) DeepCopyInto

func (in *ContainerList) DeepCopyInto(out *ContainerList)

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

func (*ContainerList) DeepCopyObject

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

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

type ContainerSpec

type ContainerSpec struct {
	State *ContainerSpecResource `json:"state,omitempty" tf:"-"`

	Resource ContainerSpecResource `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 (*ContainerSpec) DeepCopy

func (in *ContainerSpec) DeepCopy() *ContainerSpec

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

func (*ContainerSpec) DeepCopyInto

func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)

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

type ContainerSpecResource

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

	AtlasCIDRBlock *string `json:"atlasCIDRBlock" tf:"atlas_cidr_block"`
	// +optional
	AzureSubscriptionID *string `json:"azureSubscriptionID,omitempty" tf:"azure_subscription_id"`
	// +optional
	ContainerID *string `json:"containerID,omitempty" tf:"container_id"`
	// +optional
	GcpProjectID *string `json:"gcpProjectID,omitempty" tf:"gcp_project_id"`
	// +optional
	NetworkName *string `json:"networkName,omitempty" tf:"network_name"`
	ProjectID   *string `json:"projectID" tf:"project_id"`
	// +optional
	ProviderName *string `json:"providerName,omitempty" tf:"provider_name"`
	// +optional
	Provisioned *bool `json:"provisioned,omitempty" tf:"provisioned"`
	// +optional
	Region *string `json:"region,omitempty" tf:"region"`
	// +optional
	RegionName *string `json:"regionName,omitempty" tf:"region_name"`
	// +optional
	Regions []string `json:"regions,omitempty" tf:"regions"`
	// +optional
	VnetName *string `json:"vnetName,omitempty" tf:"vnet_name"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
}

func (*ContainerSpecResource) DeepCopy

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

func (*ContainerSpecResource) DeepCopyInto

func (in *ContainerSpecResource) DeepCopyInto(out *ContainerSpecResource)

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

type ContainerStatus

type ContainerStatus 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 (*ContainerStatus) DeepCopy

func (in *ContainerStatus) DeepCopy() *ContainerStatus

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

func (*ContainerStatus) DeepCopyInto

func (in *ContainerStatus) DeepCopyInto(out *ContainerStatus)

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

type Peering

type Peering struct {
	metav1.TypeMeta   `json:",inline,omitempty"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              PeeringSpec   `json:"spec,omitempty"`
	Status            PeeringStatus `json:"status,omitempty"`
}

func (*Peering) DeepCopy

func (in *Peering) DeepCopy() *Peering

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

func (*Peering) DeepCopyInto

func (in *Peering) DeepCopyInto(out *Peering)

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

func (*Peering) DeepCopyObject

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

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

func (*Peering) SetupWebhookWithManager

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

func (*Peering) ValidateCreate

func (r *Peering) ValidateCreate() error

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

func (*Peering) ValidateDelete

func (r *Peering) ValidateDelete() error

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

func (*Peering) ValidateUpdate

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

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

type PeeringList

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

PeeringList is a list of Peerings

func (*PeeringList) DeepCopy

func (in *PeeringList) DeepCopy() *PeeringList

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

func (*PeeringList) DeepCopyInto

func (in *PeeringList) DeepCopyInto(out *PeeringList)

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

func (*PeeringList) DeepCopyObject

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

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

type PeeringSpec

type PeeringSpec struct {
	State *PeeringSpecResource `json:"state,omitempty" tf:"-"`

	Resource PeeringSpecResource `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 (*PeeringSpec) DeepCopy

func (in *PeeringSpec) DeepCopy() *PeeringSpec

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

func (*PeeringSpec) DeepCopyInto

func (in *PeeringSpec) DeepCopyInto(out *PeeringSpec)

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

type PeeringSpecResource

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

	// +optional
	AccepterRegionName *string `json:"accepterRegionName,omitempty" tf:"accepter_region_name"`
	// +optional
	AtlasCIDRBlock *string `json:"atlasCIDRBlock,omitempty" tf:"atlas_cidr_block"`
	// +optional
	AtlasGcpProjectID *string `json:"atlasGcpProjectID,omitempty" tf:"atlas_gcp_project_id"`
	// +optional
	AtlasID *string `json:"atlasID,omitempty" tf:"atlas_id"`
	// +optional
	AtlasVpcName *string `json:"atlasVpcName,omitempty" tf:"atlas_vpc_name"`
	// +optional
	AwsAccountID *string `json:"awsAccountID,omitempty" tf:"aws_account_id"`
	// +optional
	AzureDirectoryID *string `json:"azureDirectoryID,omitempty" tf:"azure_directory_id"`
	// +optional
	AzureSubscriptionID *string `json:"azureSubscriptionID,omitempty" tf:"azure_subscription_id"`
	// +optional
	ConnectionID *string `json:"connectionID,omitempty" tf:"connection_id"`
	ContainerID  *string `json:"containerID" tf:"container_id"`
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty" tf:"error_message"`
	// +optional
	ErrorState *string `json:"errorState,omitempty" tf:"error_state"`
	// +optional
	ErrorStateName *string `json:"errorStateName,omitempty" tf:"error_state_name"`
	// +optional
	GcpProjectID *string `json:"gcpProjectID,omitempty" tf:"gcp_project_id"`
	// +optional
	NetworkName *string `json:"networkName,omitempty" tf:"network_name"`
	// +optional
	PeerID       *string `json:"peerID,omitempty" tf:"peer_id"`
	ProjectID    *string `json:"projectID" tf:"project_id"`
	ProviderName *string `json:"providerName" tf:"provider_name"`
	// +optional
	ResourceGroupName *string `json:"resourceGroupName,omitempty" tf:"resource_group_name"`
	// +optional
	RouteTableCIDRBlock *string `json:"routeTableCIDRBlock,omitempty" tf:"route_table_cidr_block"`
	// +optional
	Status *string `json:"status,omitempty" tf:"status"`
	// +optional
	StatusName *string `json:"statusName,omitempty" tf:"status_name"`
	// +optional
	VnetName *string `json:"vnetName,omitempty" tf:"vnet_name"`
	// +optional
	VpcID *string `json:"vpcID,omitempty" tf:"vpc_id"`
}

func (*PeeringSpecResource) DeepCopy

func (in *PeeringSpecResource) DeepCopy() *PeeringSpecResource

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

func (*PeeringSpecResource) DeepCopyInto

func (in *PeeringSpecResource) DeepCopyInto(out *PeeringSpecResource)

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

type PeeringStatus

type PeeringStatus 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 (*PeeringStatus) DeepCopy

func (in *PeeringStatus) DeepCopy() *PeeringStatus

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

func (*PeeringStatus) DeepCopyInto

func (in *PeeringStatus) DeepCopyInto(out *PeeringStatus)

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