Documentation
¶
Overview ¶
Package v1alpha3 contains managed resources for GCP service networking services such as connections. +kubebuilder:object:generate=true +groupName=servicenetworking.gcp.crossplane.io +versionName=v1alpha3
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) GetBindingPhase() runtimev1alpha1.BindingPhase
- func (mg *Connection) GetClaimReference() *corev1.ObjectReference
- func (mg *Connection) GetClassReference() *corev1.ObjectReference
- func (mg *Connection) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
- func (mg *Connection) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
- func (mg *Connection) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
- func (mg *Connection) SetBindingPhase(p runtimev1alpha1.BindingPhase)
- func (mg *Connection) SetClaimReference(r *corev1.ObjectReference)
- func (mg *Connection) SetClassReference(r *corev1.ObjectReference)
- func (mg *Connection) SetConditions(c ...runtimev1alpha1.Condition)
- func (mg *Connection) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
- func (mg *Connection) SetWriteConnectionSecretToReference(r *runtimev1alpha1.SecretReference)
- type ConnectionList
- type ConnectionParameters
- type ConnectionSpec
- type ConnectionStatus
- type GlobalAddressNameReferencerForConnection
- func (v *GlobalAddressNameReferencerForConnection) Assign(res resource.CanReference, value string) error
- func (in *GlobalAddressNameReferencerForConnection) DeepCopy() *GlobalAddressNameReferencerForConnection
- func (in *GlobalAddressNameReferencerForConnection) DeepCopyInto(out *GlobalAddressNameReferencerForConnection)
- type NetworkURIReferencerForConnection
Constants ¶
const ( Group = "servicenetworking.gcp.crossplane.io" Version = "v1alpha3" )
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() 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,omitempty"` Status ConnectionStatus `json:"status,omitempty"` }
A Connection is a managed resource that represents a Google Cloud Service Networking Connection.
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) GetBindingPhase ¶
func (mg *Connection) GetBindingPhase() runtimev1alpha1.BindingPhase
GetBindingPhase of this Connection.
func (*Connection) GetClaimReference ¶
func (mg *Connection) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this Connection.
func (*Connection) GetClassReference ¶
func (mg *Connection) GetClassReference() *corev1.ObjectReference
GetClassReference of this Connection.
func (*Connection) GetCondition ¶
func (mg *Connection) GetCondition(ct runtimev1alpha1.ConditionType) runtimev1alpha1.Condition
GetCondition of this Connection.
func (*Connection) GetReclaimPolicy ¶
func (mg *Connection) GetReclaimPolicy() runtimev1alpha1.ReclaimPolicy
GetReclaimPolicy of this Connection.
func (*Connection) GetWriteConnectionSecretToReference ¶
func (mg *Connection) GetWriteConnectionSecretToReference() *runtimev1alpha1.SecretReference
GetWriteConnectionSecretToReference of this Connection.
func (*Connection) SetBindingPhase ¶
func (mg *Connection) SetBindingPhase(p runtimev1alpha1.BindingPhase)
SetBindingPhase of this Connection.
func (*Connection) SetClaimReference ¶
func (mg *Connection) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this Connection.
func (*Connection) SetClassReference ¶
func (mg *Connection) SetClassReference(r *corev1.ObjectReference)
SetClassReference of this Connection.
func (*Connection) SetConditions ¶
func (mg *Connection) SetConditions(c ...runtimev1alpha1.Condition)
SetConditions of this Connection.
func (*Connection) SetReclaimPolicy ¶
func (mg *Connection) SetReclaimPolicy(r runtimev1alpha1.ReclaimPolicy)
SetReclaimPolicy of this Connection.
func (*Connection) SetWriteConnectionSecretToReference ¶
func (mg *Connection) SetWriteConnectionSecretToReference(r *runtimev1alpha1.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.
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. 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. Network string `json:"network,omitempty"` // NetworkRef references to a Network and retrieves its URI NetworkRef *NetworkURIReferencerForConnection `json:"networkRef,omitempty" resource:"attributereferencer"` // 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 ReservedPeeringRangeRefs []*GlobalAddressNameReferencerForConnection `json:"reservedPeeringRangeRefs,omitempty" resource:"attributereferencer"` }
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 { v1alpha1.ResourceSpec `json:",inline"` ConnectionParameters `json:",inline"` }
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 { v1alpha1.ResourceStatus `json:",inline"` // 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"` }
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.
type GlobalAddressNameReferencerForConnection ¶
type GlobalAddressNameReferencerForConnection struct {
computev1alpha1.GlobalAddressNameReferencer `json:",inline"`
}
GlobalAddressNameReferencerForConnection is an attribute referencer that resolves name from a referenced GlobalAddress and assigns it to a Connection
func (*GlobalAddressNameReferencerForConnection) Assign ¶
func (v *GlobalAddressNameReferencerForConnection) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved global address name to a connection
func (*GlobalAddressNameReferencerForConnection) DeepCopy ¶
func (in *GlobalAddressNameReferencerForConnection) DeepCopy() *GlobalAddressNameReferencerForConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GlobalAddressNameReferencerForConnection.
func (*GlobalAddressNameReferencerForConnection) DeepCopyInto ¶
func (in *GlobalAddressNameReferencerForConnection) DeepCopyInto(out *GlobalAddressNameReferencerForConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type NetworkURIReferencerForConnection ¶
type NetworkURIReferencerForConnection struct {
computev1alpha1.NetworkURIReferencer `json:",inline"`
}
NetworkURIReferencerForConnection is an attribute referencer that resolves network uri from a referenced Network and assigns it to a connection
func (*NetworkURIReferencerForConnection) Assign ¶
func (v *NetworkURIReferencerForConnection) Assign(res resource.CanReference, value string) error
Assign assigns the retrieved network uri to a connection
func (*NetworkURIReferencerForConnection) DeepCopy ¶
func (in *NetworkURIReferencerForConnection) DeepCopy() *NetworkURIReferencerForConnection
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkURIReferencerForConnection.
func (*NetworkURIReferencerForConnection) DeepCopyInto ¶
func (in *NetworkURIReferencerForConnection) DeepCopyInto(out *NetworkURIReferencerForConnection)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.