Documentation ¶
Overview ¶
Package v1alpha2 contains managed resources for GCP service networking services such as connections. +kubebuilder:object:generate=true +groupName=servicenetworking.gcp.crossplane.io +versionName=v1alpha2
Index ¶
- Constants
- Variables
- type Connection
- func (in *Connection) DeepCopy() *Connection
- func (in *Connection) DeepCopyInto(out *Connection)
- func (in *Connection) DeepCopyObject() runtime.Object
- func (a *Connection) GetBindingPhase() v1alpha1.BindingPhase
- func (a *Connection) GetClaimReference() *corev1.ObjectReference
- func (a *Connection) GetNonPortableClassReference() *corev1.ObjectReference
- func (a *Connection) GetReclaimPolicy() v1alpha1.ReclaimPolicy
- func (a *Connection) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
- func (a *Connection) SetBindingPhase(p v1alpha1.BindingPhase)
- func (a *Connection) SetClaimReference(r *corev1.ObjectReference)
- func (a *Connection) SetConditions(c ...v1alpha1.Condition)
- func (a *Connection) SetNonPortableClassReference(r *corev1.ObjectReference)
- func (a *Connection) SetReclaimPolicy(p v1alpha1.ReclaimPolicy)
- func (a *Connection) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
- type ConnectionList
- type ConnectionParameters
- type ConnectionSpec
- type ConnectionStatus
Constants ¶
const ( Group = "servicenetworking.gcp.crossplane.io" Version = "v1alpha2" )
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 (a *Connection) GetBindingPhase() v1alpha1.BindingPhase
GetBindingPhase of this Connection.
func (*Connection) GetClaimReference ¶
func (a *Connection) GetClaimReference() *corev1.ObjectReference
GetClaimReference of this Connection.
func (*Connection) GetNonPortableClassReference ¶
func (a *Connection) GetNonPortableClassReference() *corev1.ObjectReference
GetNonPortableClassReference of this Connection.
func (*Connection) GetReclaimPolicy ¶
func (a *Connection) GetReclaimPolicy() v1alpha1.ReclaimPolicy
GetReclaimPolicy of this Connection.
func (*Connection) GetWriteConnectionSecretToReference ¶
func (a *Connection) GetWriteConnectionSecretToReference() corev1.LocalObjectReference
GetWriteConnectionSecretToReference of this Connection.
func (*Connection) SetBindingPhase ¶
func (a *Connection) SetBindingPhase(p v1alpha1.BindingPhase)
SetBindingPhase of this Connection.
func (*Connection) SetClaimReference ¶
func (a *Connection) SetClaimReference(r *corev1.ObjectReference)
SetClaimReference of this Connection.
func (*Connection) SetConditions ¶
func (a *Connection) SetConditions(c ...v1alpha1.Condition)
SetConditions of this Connection.
func (*Connection) SetNonPortableClassReference ¶
func (a *Connection) SetNonPortableClassReference(r *corev1.ObjectReference)
SetNonPortableClassReference of this Connection.
func (*Connection) SetReclaimPolicy ¶
func (a *Connection) SetReclaimPolicy(p v1alpha1.ReclaimPolicy)
SetReclaimPolicy of this Connection.
func (*Connection) SetWriteConnectionSecretToReference ¶
func (a *Connection) SetWriteConnectionSecretToReference(r corev1.LocalObjectReference)
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"` // ReservedPeeringRanges: The name of one or more allocated IP address // ranges for this service producer of type `PEERING`. // +optional ReservedPeeringRanges []string `json:"reservedPeeringRanges"` }
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.