Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=servicenetworking.gcp.upbound.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Connection
- func (in *Connection) DeepCopy() *Connection
- func (in *Connection) DeepCopyInto(out *Connection)
- func (in *Connection) DeepCopyObject() runtime.Object
- func (mg *Connection) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *Connection) GetConnectionDetailsMapping() map[string]string
- func (mg *Connection) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *Connection) GetID() string
- func (tr *Connection) GetInitParameters() (map[string]any, error)
- func (mg *Connection) GetManagementPolicies() xpv1.ManagementPolicies
- func (tr *Connection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
- func (tr *Connection) GetObservation() (map[string]any, error)
- func (tr *Connection) GetParameters() (map[string]any, error)
- func (mg *Connection) GetProviderConfigReference() *xpv1.Reference
- func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Connection) GetTerraformResourceType() string
- func (tr *Connection) GetTerraformSchemaVersion() int
- func (mg *Connection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *Connection) Hub()
- func (tr *Connection) LateInitialize(attrs []byte) (bool, error)
- func (mg *Connection) ResolveReferences(ctx context.Context, c client.Reader) error
- func (mg *Connection) SetConditions(c ...xpv1.Condition)
- func (mg *Connection) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Connection) SetManagementPolicies(r xpv1.ManagementPolicies)
- func (tr *Connection) SetObservation(obs map[string]any) error
- func (tr *Connection) SetParameters(params map[string]any) error
- func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Connection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConnectionInitParameters
- type ConnectionList
- type ConnectionObservation
- type ConnectionParameters
- type ConnectionSpec
- type ConnectionStatus
Constants ¶
const ( CRDGroup = "servicenetworking.gcp.upbound.io" CRDVersion = "v1beta1" )
Package type metadata.
Variables ¶
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.
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="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.service) || (has(self.initProvider) && has(self.initProvider.service))",message="spec.forProvider.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: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) GetInitParameters ¶ added in v0.35.0
func (tr *Connection) GetInitParameters() (map[string]any, error)
GetInitParameters of this Connection
func (*Connection) GetManagementPolicies ¶ added in v0.35.0
func (mg *Connection) GetManagementPolicies() xpv1.ManagementPolicies
GetManagementPolicies of this Connection.
func (*Connection) GetMergedParameters ¶ added in v0.40.0
func (tr *Connection) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)
GetInitParameters 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) 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) Hub ¶ added in v0.41.2
func (tr *Connection) Hub()
Hub marks this type as a conversion hub.
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 (*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) SetManagementPolicies ¶ added in v0.35.0
func (mg *Connection) SetManagementPolicies(r xpv1.ManagementPolicies)
SetManagementPolicies 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) 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 ConnectionInitParameters ¶ added in v0.35.0
type ConnectionInitParameters struct { // The deletion policy for the service networking connection. Setting to ABANDON allows the resource to be abandoned rather than deleted. Use with care as it can lead to dangling resources. DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // 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/crossplane/upjet/pkg/resource.ExtractResourceID() 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 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'. Service *string `json:"service,omitempty" tf:"service,omitempty"` }
func (*ConnectionInitParameters) DeepCopy ¶ added in v0.35.0
func (in *ConnectionInitParameters) DeepCopy() *ConnectionInitParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectionInitParameters.
func (*ConnectionInitParameters) DeepCopyInto ¶ added in v0.35.0
func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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 { // The deletion policy for the service networking connection. Setting to ABANDON allows the resource to be abandoned rather than deleted. Use with care as it can lead to dangling resources. DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` 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 ¶
func (in *ConnectionObservation) DeepCopy() *ConnectionObservation
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 { // The deletion policy for the service networking connection. Setting to ABANDON allows the resource to be abandoned rather than deleted. Use with care as it can lead to dangling resources. // +kubebuilder:validation:Optional DeletionPolicy *string `json:"deletionPolicy,omitempty" tf:"deletion_policy,omitempty"` // 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/crossplane/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 ¶
func (in *ConnectionParameters) DeepCopy() *ConnectionParameters
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"` // THIS IS A BETA FIELD. It will be honored // unless the Management Policies feature flag is disabled. // InitProvider holds the same fields as ForProvider, with the exception // of Identifier and other resource reference fields. The fields that are // in InitProvider are merged into ForProvider when the resource is created. // The same fields are also added to the terraform ignore_changes hook, to // avoid updating them after creation. This is useful for fields that are // required on creation, but we do not desire to update them after creation, // for example because of an external controller is managing them, like an // autoscaler. InitProvider ConnectionInitParameters `json:"initProvider,omitempty"` }
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.