Documentation ¶
Overview ¶
Package v1beta1 contains managed resources for GCP vpc peering services such as connections. +kubebuilder:object:generate=true +groupName=vpcpeering.gcp.crossplane.io +versionName=v1beta1
Index ¶
- Constants
- Variables
- type Peering
- func (in *Peering) DeepCopy() *Peering
- func (in *Peering) DeepCopyInto(out *Peering)
- func (in *Peering) DeepCopyObject() runtime.Object
- func (mg *Peering) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (mg *Peering) GetDeletionPolicy() xpv1.DeletionPolicy
- func (mg *Peering) GetProviderConfigReference() *xpv1.Reference
- func (mg *Peering) GetProviderReference() *xpv1.Reference
- func (mg *Peering) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *Peering) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (mg *Peering) SetConditions(c ...xpv1.Condition)
- func (mg *Peering) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (mg *Peering) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *Peering) SetProviderReference(r *xpv1.Reference)
- func (mg *Peering) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *Peering) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type PeeringList
- type PeeringObservation
- type PeeringParameters
- type PeeringSpec
- type PeeringStatus
Constants ¶
const ( Group = "vpcpeering.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 ( PeeringKind = reflect.TypeOf(Peering{}).Name() PeeringGroupKind = schema.GroupKind{Group: Group, Kind: PeeringKind}.String() PeeringKindAPIVersion = PeeringKind + "." + SchemeGroupVersion.String() PeeringGroupVersionKind = SchemeGroupVersion.WithKind(PeeringKind) )
Peering type metadata.
Functions ¶
This section is empty.
Types ¶
type Peering ¶
type Peering struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec PeeringSpec `json:"spec"` Status PeeringStatus `json:"status,omitempty"` }
A Peering is a managed resource that represents a Google Cloud Service Networking Peering. +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 (*Peering) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Peering.
func (*Peering) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Peering) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Peering) GetCondition ¶
func (mg *Peering) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this Peering.
func (*Peering) GetDeletionPolicy ¶
func (mg *Peering) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this Peering.
func (*Peering) GetProviderConfigReference ¶
GetProviderConfigReference of this Peering.
func (*Peering) GetProviderReference ¶
GetProviderReference of this Peering. Deprecated: Use GetProviderConfigReference.
func (*Peering) GetPublishConnectionDetailsTo ¶
func (mg *Peering) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this Peering.
func (*Peering) GetWriteConnectionSecretToReference ¶
func (mg *Peering) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this Peering.
func (*Peering) SetConditions ¶
SetConditions of this Peering.
func (*Peering) SetDeletionPolicy ¶
func (mg *Peering) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this Peering.
func (*Peering) SetProviderConfigReference ¶
SetProviderConfigReference of this Peering.
func (*Peering) SetProviderReference ¶
SetProviderReference of this Peering. Deprecated: Use SetProviderConfigReference.
func (*Peering) SetPublishConnectionDetailsTo ¶
func (mg *Peering) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this Peering.
func (*Peering) SetWriteConnectionSecretToReference ¶
func (mg *Peering) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this Peering.
type PeeringList ¶
type PeeringList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Peering `json:"items"` }
PeeringList contains a list of Peering.
func (*PeeringList) DeepCopy ¶
func (in *PeeringList) DeepCopy() *PeeringList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringList.
func (*PeeringList) DeepCopyInto ¶
func (in *PeeringList) DeepCopyInto(out *PeeringList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*PeeringList) DeepCopyObject ¶
func (in *PeeringList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*PeeringList) GetItems ¶
func (l *PeeringList) GetItems() []resource.Managed
GetItems of this PeeringList.
type PeeringObservation ¶
type PeeringObservation struct { // Peering: The name of the VPC Network Peering Peering that was created // by the service producer. Peering string `json:"peering,omitempty"` // Service: The name of the peering service that's associated with this // Peering, in the following format: `services/{service name}`. Service string `json:"service,omitempty"` }
PeeringObservation is used to show the observed state of the Peering.
func (*PeeringObservation) DeepCopy ¶
func (in *PeeringObservation) DeepCopy() *PeeringObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringObservation.
func (*PeeringObservation) DeepCopyInto ¶
func (in *PeeringObservation) DeepCopyInto(out *PeeringObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringParameters ¶
type PeeringParameters struct { Project string `json:"project"` Network string `json:"network"` // Name: Name of the peering, which should conform to RFC1035. Name string `json:"name,omitempty"` // PeerNetwork: URL of the peer network. It can be either full URL or // partial URL. The peer network may belong to a different project. If // the partial URL does not contain project, it is assumed that the peer // network is in the same project as the current network. PeerNetwork string `json:"peerNetwork,omitempty"` // AutoCreateRoutes: This field will be deprecated soon. Use // exchange_subnet_routes in network_peering instead. Indicates whether // full mesh connectivity is created and managed automatically between // peered networks. Currently this field should always be true since // Google Compute Engine will automatically create and manage subnetwork // routes between two networks when peering state is ACTIVE. AutoCreateRoutes bool `json:"autoCreateRoutes,omitempty"` // ImportCustomRoutes: Whether to import the custom routes from peer // network. The default value is false. // NOTE: only used when creating the peering. ImportCustomRoutes bool `json:"importCustomRoutes,omitempty"` // ImportSubnetRoutesWithPublicIp: Whether subnet routes with public IP // range are imported. The default value is false. IPv4 special-use // ranges are always imported from peers and are not controlled by this // field. // NOTE: only used when creating the peering. ImportSubnetRoutesWithPublicIp bool `json:"importSubnetRoutesWithPublicIp,omitempty"` }
func (*PeeringParameters) DeepCopy ¶
func (in *PeeringParameters) DeepCopy() *PeeringParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringParameters.
func (*PeeringParameters) DeepCopyInto ¶
func (in *PeeringParameters) DeepCopyInto(out *PeeringParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringSpec ¶
type PeeringSpec struct { xpv1.ResourceSpec `json:",inline"` ForProvider PeeringParameters `json:"forProvider"` }
A PeeringSpec defines the desired state of a Peering.
func (*PeeringSpec) DeepCopy ¶
func (in *PeeringSpec) DeepCopy() *PeeringSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringSpec.
func (*PeeringSpec) DeepCopyInto ¶
func (in *PeeringSpec) DeepCopyInto(out *PeeringSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PeeringStatus ¶
type PeeringStatus struct { xpv1.ResourceStatus `json:",inline"` AtProvider PeeringObservation `json:"atProvider,omitempty"` }
A PeeringStatus represents the observed state of a Peering.
func (*PeeringStatus) DeepCopy ¶
func (in *PeeringStatus) DeepCopy() *PeeringStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PeeringStatus.
func (*PeeringStatus) DeepCopyInto ¶
func (in *PeeringStatus) DeepCopyInto(out *PeeringStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.