Documentation ¶
Overview ¶
Package v1beta1 contains managed resources for GCP service networking services such as connections. +kubebuilder:object:generate=true +groupName=servicenetworking.gcp.crossplane.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 (mg *Connection) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Connection) GetProviderConfigReference() *xpv1.Reference
- func (mg *Connection) GetProviderReference() *xpv1.Reference
- func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Connection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- 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) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Connection) SetProviderReference(r *xpv1.Reference)
- func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Connection) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConnectionList
- type ConnectionObservation
- type ConnectionParameters
- type ConnectionSpec
- type ConnectionStatus
Constants ¶
const ( Group = "servicenetworking.gcp.crossplane.io" Version = "v1beta1" )
Package type metadata.
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{Group: Group, Version: Version} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion} )
var ( ConnectionKind = reflect.TypeOf(Connection{}).Name() ConnectionGroupKind = schema.GroupKind{Group: Group, Kind: ConnectionKind}.String() ConnectionKindAPIVersion = ConnectionKind + "." + SchemeGroupVersion.String() ConnectionGroupVersionKind = SchemeGroupVersion.WithKind(ConnectionKind) )
Connection type metadata.
Functions ¶
This section is empty.
Types ¶
type Connection ¶
type Connection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConnectionSpec `json:"spec"` Status ConnectionStatus `json:"status,omitempty"` }
A Connection is a managed resource that represents a Google Cloud Service Networking Connection. +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:object:root=true +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) GetDeletionPolicy ¶
func (mg *Connection) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy 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) GetWriteConnectionSecretToReference ¶
func (mg *Connection) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Connection.
func (*Connection) ResolveReferences ¶
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) 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 Connection.
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 { // Peering: The name of the VPC Network Peering connection that was created // by the service producer. Peering string `json:"peering,omitempty"` // Service: The name of the peering service that's associated with this // connection, in the following format: `services/{service name}`. Service string `json:"service,omitempty"` }
ConnectionObservation is used to show the observed state of the Connection.
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 { // Parent: The service that is managing peering connectivity for a service // producer's organization. For Google services that support this // functionality, this value is services/servicenetworking.googleapis.com. // +immutable Parent string `json:"parent"` // Network: The name of service consumer's VPC network that's connected // with service producer network, in the following format: // `projects/{project}/global/networks/{network}`. // `{project}` is a project number, such as in `12345` that includes // the VPC service consumer's VPC network. `{network}` is the name of // the service consumer's VPC network. // +optional Network *string `json:"network,omitempty"` // NetworkRef references a Network and retrieves its URI // +optional NetworkRef *xpv1.Reference `json:"networkRef,omitempty"` // NetworkSelector selects a reference to a Network and retrieves its URI // +optional NetworkSelector *xpv1.Selector `json:"networkSelector,omitempty"` // ReservedPeeringRanges: The name of one or more allocated IP address // ranges for this service producer of type `PEERING`. // +optional ReservedPeeringRanges []string `json:"reservedPeeringRanges,omitempty"` // ReservedPeeringRangeRefs is a set of references to GlobalAddress objects // +optional ReservedPeeringRangeRefs []xpv1.Reference `json:"reservedPeeringRangeRefs,omitempty"` // ReservedPeeringRangeSelector selects a set of references to GlobalAddress // objects. // +optional ReservedPeeringRangeSelector xpv1.Selector `json:"reservedPeeringRangeSelector,omitempty"` }
ConnectionParameters define the desired state of a Google Cloud Service Networking Connection. Most fields map direct to a Connection: https://cloud.google.com/service-infrastructure/docs/service-networking/reference/rest/v1/services.connections#Connection
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 { xpv1.ResourceSpec `json:",inline"` ForProvider ConnectionParameters `json:"forProvider"` }
A ConnectionSpec defines the desired state of a 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 { xpv1.ResourceStatus `json:",inline"` AtProvider ConnectionObservation `json:"atProvider,omitempty"` }
A ConnectionStatus represents the observed state of a 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.