v1alpha1

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

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=peering.rediscloud.upbound.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "peering.rediscloud.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 (
	Peering_Kind             = "Peering"
	Peering_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Peering_Kind}.String()
	Peering_KindAPIVersion   = Peering_Kind + "." + CRDGroupVersion.String()
	Peering_GroupVersionKind = CRDGroupVersion.WithKind(Peering_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Peering

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

Peering is the Schema for the Peerings API. <no value> +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,rediscloud}

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) GetCondition

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

GetCondition of this Peering.

func (*Peering) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Peering

func (*Peering) GetDeletionPolicy

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

GetDeletionPolicy of this Peering.

func (*Peering) GetID

func (tr *Peering) GetID() string

GetID returns ID of underlying Terraform resource of this Peering

func (*Peering) GetObservation

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

GetObservation of this Peering

func (*Peering) GetParameters

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

GetParameters of this Peering

func (*Peering) GetProviderConfigReference

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

GetProviderConfigReference of this Peering.

func (*Peering) GetProviderReference

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

GetProviderReference of this Peering. Deprecated: Use GetProviderConfigReference.

func (*Peering) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Peering.

func (*Peering) GetTerraformResourceType

func (mg *Peering) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Peering

func (*Peering) GetTerraformSchemaVersion

func (tr *Peering) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Peering) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Peering.

func (*Peering) LateInitialize

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

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

func (*Peering) SetConditions

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

SetConditions of this Peering.

func (*Peering) SetDeletionPolicy

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

SetDeletionPolicy of this Peering.

func (*Peering) SetObservation

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

SetObservation for this Peering

func (*Peering) SetParameters

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

SetParameters for this Peering

func (*Peering) SetProviderConfigReference

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

SetProviderConfigReference of this Peering.

func (*Peering) SetProviderReference

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

SetProviderReference of this Peering. Deprecated: Use SetProviderConfigReference.

func (*Peering) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Peering.

func (*Peering) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Peering.

type PeeringList

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

PeeringList contains 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.

func (*PeeringList) GetItems

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

GetItems of this PeeringList.

type PeeringObservation

type PeeringObservation struct {

	// Identifier of the AWS cloud peering
	AwsPeeringID *string `json:"awsPeeringId,omitempty" tf:"aws_peering_id,omitempty"`

	// Identifier of the cloud peering
	GCPPeeringID *string `json:"gcpPeeringId,omitempty" tf:"gcp_peering_id,omitempty"`

	// The name of the Redis Enterprise Cloud network to be peered
	GCPRedisNetworkName *string `json:"gcpRedisNetworkName,omitempty" tf:"gcp_redis_network_name,omitempty"`

	// Identifier of the Redis Enterprise Cloud GCP project to be peered
	GCPRedisProjectID *string `json:"gcpRedisProjectId,omitempty" tf:"gcp_redis_project_id,omitempty"`

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

	// Current status of the account - `initiating-request`, `pending-acceptance`, `active`, `inactive` or `failed`
	Status *string `json:"status,omitempty" tf:"status,omitempty"`
}

func (*PeeringObservation) DeepCopy

func (in *PeeringObservation) DeepCopy() *PeeringObservation

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

func (*PeeringObservation) DeepCopyInto

func (in *PeeringObservation) DeepCopyInto(out *PeeringObservation)

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

type PeeringParameters

type PeeringParameters struct {

	// AWS account id that the VPC to be peered lives in
	// +kubebuilder:validation:Optional
	AwsAccountID *string `json:"awsAccountId,omitempty" tf:"aws_account_id,omitempty"`

	// The name of the network to be peered
	// +kubebuilder:validation:Optional
	GCPNetworkName *string `json:"gcpNetworkName,omitempty" tf:"gcp_network_name,omitempty"`

	// GCP project ID that the VPC to be peered lives in
	// +kubebuilder:validation:Optional
	GCPProjectID *string `json:"gcpProjectId,omitempty" tf:"gcp_project_id,omitempty"`

	// The cloud provider to use with the vpc peering, (either `AWS` or `GCP`)
	// +kubebuilder:validation:Optional
	ProviderName *string `json:"providerName,omitempty" tf:"provider_name,omitempty"`

	// AWS Region that the VPC to be peered lives in
	// +kubebuilder:validation:Optional
	Region *string `json:"region,omitempty" tf:"region,omitempty"`

	// A valid subscription predefined in the current account
	// +kubebuilder:validation:Required
	SubscriptionID *string `json:"subscriptionId" tf:"subscription_id,omitempty"`

	// CIDR range of the VPC to be peered
	// +kubebuilder:validation:Optional
	VPCCidr *string `json:"vpcCidr,omitempty" tf:"vpc_cidr,omitempty"`

	// Identifier of the VPC to be peered
	// +kubebuilder:validation:Optional
	VPCID *string `json:"vpcId,omitempty" tf:"vpc_id,omitempty"`
}

func (*PeeringParameters) DeepCopy

func (in *PeeringParameters) DeepCopy() *PeeringParameters

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

func (*PeeringParameters) DeepCopyInto

func (in *PeeringParameters) DeepCopyInto(out *PeeringParameters)

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

type PeeringSpec

type PeeringSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     PeeringParameters `json:"forProvider"`
}

PeeringSpec defines the desired state of Peering

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 PeeringStatus

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

PeeringStatus defines the observed state of Peering.

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