v1beta1

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=servicenetworking.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "servicenetworking.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

View Source
var (
	Connection_Kind             = "Connection"
	Connection_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Connection_Kind}.String()
	Connection_KindAPIVersion   = Connection_Kind + "." + CRDGroupVersion.String()
	Connection_GroupVersionKind = CRDGroupVersion.WithKind(Connection_Kind)
)

Repository type metadata.

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
)

Functions

This section is empty.

Types

type Connection

type Connection struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="self.managementPolicy == 'ObserveOnly' || has(self.forProvider.service)",message="service is a required parameter"
	Spec   ConnectionSpec   `json:"spec"`
	Status ConnectionStatus `json:"status,omitempty"`
}

Connection is the Schema for the Connections API. Manages creating a private VPC connection to a service provider. +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,gcp}

func (*Connection) DeepCopy

func (in *Connection) DeepCopy() *Connection

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

func (*Connection) DeepCopyInto

func (in *Connection) DeepCopyInto(out *Connection)

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

func (*Connection) DeepCopyObject

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

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

func (*Connection) GetCondition

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

GetCondition of this Connection.

func (*Connection) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Connection

func (*Connection) GetDeletionPolicy

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

GetDeletionPolicy of this Connection.

func (*Connection) GetID

func (tr *Connection) GetID() string

GetID returns ID of underlying Terraform resource of this Connection

func (*Connection) GetManagementPolicy added in v0.31.0

func (mg *Connection) GetManagementPolicy() xpv1.ManagementPolicy

GetManagementPolicy of this Connection.

func (*Connection) GetObservation

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

GetObservation of this Connection

func (*Connection) GetParameters

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

GetParameters of this Connection

func (*Connection) GetProviderConfigReference

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

GetProviderConfigReference of this Connection.

func (*Connection) GetProviderReference

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

GetProviderReference of this Connection. Deprecated: Use GetProviderConfigReference.

func (*Connection) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Connection.

func (*Connection) GetTerraformResourceType

func (mg *Connection) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Connection

func (*Connection) GetTerraformSchemaVersion

func (tr *Connection) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Connection) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Connection.

func (*Connection) LateInitialize

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

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

func (*Connection) ResolveReferences

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

ResolveReferences of this Connection.

func (*Connection) SetConditions

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

SetConditions of this Connection.

func (*Connection) SetDeletionPolicy

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

SetDeletionPolicy of this Connection.

func (*Connection) SetManagementPolicy added in v0.31.0

func (mg *Connection) SetManagementPolicy(r xpv1.ManagementPolicy)

SetManagementPolicy of this Connection.

func (*Connection) SetObservation

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

SetObservation for this Connection

func (*Connection) SetParameters

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

SetParameters for this Connection

func (*Connection) SetProviderConfigReference

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

SetProviderConfigReference of this Connection.

func (*Connection) SetProviderReference

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

SetProviderReference of this Connection. Deprecated: Use SetProviderConfigReference.

func (*Connection) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Connection.

func (*Connection) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Connection.

type ConnectionList

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

ConnectionList contains a list of Connections

func (*ConnectionList) DeepCopy

func (in *ConnectionList) DeepCopy() *ConnectionList

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

func (*ConnectionList) DeepCopyInto

func (in *ConnectionList) DeepCopyInto(out *ConnectionList)

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

func (*ConnectionList) DeepCopyObject

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

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

func (*ConnectionList) GetItems

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

GetItems of this ConnectionList.

type ConnectionObservation

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

	// Name of VPC network connected with service producers using VPC peering.
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// (Computed) The name of the VPC Network Peering connection that was created by the service producer.
	Peering *string `json:"peering,omitempty" tf:"peering,omitempty"`

	// Named IP address range(s) of PEERING type reserved for
	// this service provider. Note that invoking this method with a different range when connection
	// is already established will not reallocate already provisioned service producer subnetworks.
	ReservedPeeringRanges []*string `json:"reservedPeeringRanges,omitempty" tf:"reserved_peering_ranges,omitempty"`

	// Provider peering service that is managing peering connectivity for a
	// service provider organization. For Google services that support this functionality it is
	// 'servicenetworking.googleapis.com'.
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*ConnectionObservation) DeepCopy

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

func (*ConnectionObservation) DeepCopyInto

func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation)

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

type ConnectionParameters

type ConnectionParameters struct {

	// Name of VPC network connected with service producers using VPC peering.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.Network
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractResourceID()
	// +kubebuilder:validation:Optional
	Network *string `json:"network,omitempty" tf:"network,omitempty"`

	// Reference to a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkRef *v1.Reference `json:"networkRef,omitempty" tf:"-"`

	// Selector for a Network in compute to populate network.
	// +kubebuilder:validation:Optional
	NetworkSelector *v1.Selector `json:"networkSelector,omitempty" tf:"-"`

	// Named IP address range(s) of PEERING type reserved for
	// this service provider. Note that invoking this method with a different range when connection
	// is already established will not reallocate already provisioned service producer subnetworks.
	// +crossplane:generate:reference:type=github.com/upbound/provider-gcp/apis/compute/v1beta1.GlobalAddress
	// +kubebuilder:validation:Optional
	ReservedPeeringRanges []*string `json:"reservedPeeringRanges,omitempty" tf:"reserved_peering_ranges,omitempty"`

	// References to GlobalAddress in compute to populate reservedPeeringRanges.
	// +kubebuilder:validation:Optional
	ReservedPeeringRangesRefs []v1.Reference `json:"reservedPeeringRangesRefs,omitempty" tf:"-"`

	// Selector for a list of GlobalAddress in compute to populate reservedPeeringRanges.
	// +kubebuilder:validation:Optional
	ReservedPeeringRangesSelector *v1.Selector `json:"reservedPeeringRangesSelector,omitempty" tf:"-"`

	// Provider peering service that is managing peering connectivity for a
	// service provider organization. For Google services that support this functionality it is
	// 'servicenetworking.googleapis.com'.
	// +kubebuilder:validation:Optional
	Service *string `json:"service,omitempty" tf:"service,omitempty"`
}

func (*ConnectionParameters) DeepCopy

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

func (*ConnectionParameters) DeepCopyInto

func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters)

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

type ConnectionSpec

type ConnectionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ConnectionParameters `json:"forProvider"`
}

ConnectionSpec defines the desired state of Connection

func (*ConnectionSpec) DeepCopy

func (in *ConnectionSpec) DeepCopy() *ConnectionSpec

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

func (*ConnectionSpec) DeepCopyInto

func (in *ConnectionSpec) DeepCopyInto(out *ConnectionSpec)

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

type ConnectionStatus

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

ConnectionStatus defines the observed state of Connection.

func (*ConnectionStatus) DeepCopy

func (in *ConnectionStatus) DeepCopy() *ConnectionStatus

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

func (*ConnectionStatus) DeepCopyInto

func (in *ConnectionStatus) DeepCopyInto(out *ConnectionStatus)

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