Documentation ¶
Overview ¶
+kubebuilder:object:generate=true +groupName=networkmanagement.gcp.jet.crossplane.io +versionName=v1alpha1
Index ¶
- Constants
- Variables
- type ConnectivityTest
- func (in *ConnectivityTest) DeepCopy() *ConnectivityTest
- func (in *ConnectivityTest) DeepCopyInto(out *ConnectivityTest)
- func (in *ConnectivityTest) DeepCopyObject() runtime.Object
- func (mg *ConnectivityTest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
- func (tr *ConnectivityTest) GetConnectionDetailsMapping() map[string]string
- func (mg *ConnectivityTest) GetDeletionPolicy() xpv1.DeletionPolicy
- func (tr *ConnectivityTest) GetID() string
- func (tr *ConnectivityTest) GetObservation() (map[string]interface{}, error)
- func (tr *ConnectivityTest) GetParameters() (map[string]interface{}, error)
- func (mg *ConnectivityTest) GetProviderConfigReference() *xpv1.Reference
- func (mg *ConnectivityTest) GetProviderReference() *xpv1.Reference
- func (mg *ConnectivityTest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
- func (mg *ConnectivityTest) GetTerraformResourceType() string
- func (tr *ConnectivityTest) GetTerraformSchemaVersion() int
- func (mg *ConnectivityTest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
- func (tr *ConnectivityTest) LateInitialize(attrs []byte) (bool, error)
- func (mg *ConnectivityTest) SetConditions(c ...xpv1.Condition)
- func (mg *ConnectivityTest) SetDeletionPolicy(r xpv1.DeletionPolicy)
- func (tr *ConnectivityTest) SetObservation(obs map[string]interface{}) error
- func (tr *ConnectivityTest) SetParameters(params map[string]interface{}) error
- func (mg *ConnectivityTest) SetProviderConfigReference(r *xpv1.Reference)
- func (mg *ConnectivityTest) SetProviderReference(r *xpv1.Reference)
- func (mg *ConnectivityTest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
- func (mg *ConnectivityTest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
- type ConnectivityTestList
- type ConnectivityTestObservation
- type ConnectivityTestParameters
- type ConnectivityTestSpec
- type ConnectivityTestStatus
- type DestinationObservation
- type DestinationParameters
- type SourceObservation
- type SourceParameters
Constants ¶
const ( CRDGroup = "networkmanagement.gcp.jet.crossplane.io" CRDVersion = "v1alpha1" )
Package type metadata.
Variables ¶
var ( ConnectivityTest_Kind = "ConnectivityTest" ConnectivityTest_GroupKind = schema.GroupKind{Group: CRDGroup, Kind: ConnectivityTest_Kind}.String() ConnectivityTest_KindAPIVersion = ConnectivityTest_Kind + "." + CRDGroupVersion.String() ConnectivityTest_GroupVersionKind = CRDGroupVersion.WithKind(ConnectivityTest_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 ConnectivityTest ¶
type ConnectivityTest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ConnectivityTestSpec `json:"spec"` Status ConnectivityTestStatus `json:"status,omitempty"` }
ConnectivityTest is the Schema for the ConnectivityTests API +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:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}
func (*ConnectivityTest) DeepCopy ¶
func (in *ConnectivityTest) DeepCopy() *ConnectivityTest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTest.
func (*ConnectivityTest) DeepCopyInto ¶
func (in *ConnectivityTest) DeepCopyInto(out *ConnectivityTest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectivityTest) DeepCopyObject ¶
func (in *ConnectivityTest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConnectivityTest) GetCondition ¶
func (mg *ConnectivityTest) GetCondition(ct xpv1.ConditionType) xpv1.Condition
GetCondition of this ConnectivityTest.
func (*ConnectivityTest) GetConnectionDetailsMapping ¶
func (tr *ConnectivityTest) GetConnectionDetailsMapping() map[string]string
GetConnectionDetailsMapping for this ConnectivityTest
func (*ConnectivityTest) GetDeletionPolicy ¶
func (mg *ConnectivityTest) GetDeletionPolicy() xpv1.DeletionPolicy
GetDeletionPolicy of this ConnectivityTest.
func (*ConnectivityTest) GetID ¶
func (tr *ConnectivityTest) GetID() string
GetID returns ID of underlying Terraform resource of this ConnectivityTest
func (*ConnectivityTest) GetObservation ¶
func (tr *ConnectivityTest) GetObservation() (map[string]interface{}, error)
GetObservation of this ConnectivityTest
func (*ConnectivityTest) GetParameters ¶
func (tr *ConnectivityTest) GetParameters() (map[string]interface{}, error)
GetParameters of this ConnectivityTest
func (*ConnectivityTest) GetProviderConfigReference ¶
func (mg *ConnectivityTest) GetProviderConfigReference() *xpv1.Reference
GetProviderConfigReference of this ConnectivityTest.
func (*ConnectivityTest) GetProviderReference ¶
func (mg *ConnectivityTest) GetProviderReference() *xpv1.Reference
GetProviderReference of this ConnectivityTest. Deprecated: Use GetProviderConfigReference.
func (*ConnectivityTest) GetPublishConnectionDetailsTo ¶
func (mg *ConnectivityTest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo
GetPublishConnectionDetailsTo of this ConnectivityTest.
func (*ConnectivityTest) GetTerraformResourceType ¶
func (mg *ConnectivityTest) GetTerraformResourceType() string
GetTerraformResourceType returns Terraform resource type for this ConnectivityTest
func (*ConnectivityTest) GetTerraformSchemaVersion ¶
func (tr *ConnectivityTest) GetTerraformSchemaVersion() int
GetTerraformSchemaVersion returns the associated Terraform schema version
func (*ConnectivityTest) GetWriteConnectionSecretToReference ¶
func (mg *ConnectivityTest) GetWriteConnectionSecretToReference() *xpv1.SecretReference
GetWriteConnectionSecretToReference of this ConnectivityTest.
func (*ConnectivityTest) LateInitialize ¶
func (tr *ConnectivityTest) LateInitialize(attrs []byte) (bool, error)
LateInitialize this ConnectivityTest using its observed tfState. returns True if there are any spec changes for the resource.
func (*ConnectivityTest) SetConditions ¶
func (mg *ConnectivityTest) SetConditions(c ...xpv1.Condition)
SetConditions of this ConnectivityTest.
func (*ConnectivityTest) SetDeletionPolicy ¶
func (mg *ConnectivityTest) SetDeletionPolicy(r xpv1.DeletionPolicy)
SetDeletionPolicy of this ConnectivityTest.
func (*ConnectivityTest) SetObservation ¶
func (tr *ConnectivityTest) SetObservation(obs map[string]interface{}) error
SetObservation for this ConnectivityTest
func (*ConnectivityTest) SetParameters ¶
func (tr *ConnectivityTest) SetParameters(params map[string]interface{}) error
SetParameters for this ConnectivityTest
func (*ConnectivityTest) SetProviderConfigReference ¶
func (mg *ConnectivityTest) SetProviderConfigReference(r *xpv1.Reference)
SetProviderConfigReference of this ConnectivityTest.
func (*ConnectivityTest) SetProviderReference ¶
func (mg *ConnectivityTest) SetProviderReference(r *xpv1.Reference)
SetProviderReference of this ConnectivityTest. Deprecated: Use SetProviderConfigReference.
func (*ConnectivityTest) SetPublishConnectionDetailsTo ¶
func (mg *ConnectivityTest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)
SetPublishConnectionDetailsTo of this ConnectivityTest.
func (*ConnectivityTest) SetWriteConnectionSecretToReference ¶
func (mg *ConnectivityTest) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)
SetWriteConnectionSecretToReference of this ConnectivityTest.
type ConnectivityTestList ¶
type ConnectivityTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ConnectivityTest `json:"items"` }
ConnectivityTestList contains a list of ConnectivityTests
func (*ConnectivityTestList) DeepCopy ¶
func (in *ConnectivityTestList) DeepCopy() *ConnectivityTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestList.
func (*ConnectivityTestList) DeepCopyInto ¶
func (in *ConnectivityTestList) DeepCopyInto(out *ConnectivityTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ConnectivityTestList) DeepCopyObject ¶
func (in *ConnectivityTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ConnectivityTestList) GetItems ¶
func (l *ConnectivityTestList) GetItems() []resource.Managed
GetItems of this ConnectivityTestList.
type ConnectivityTestObservation ¶
type ConnectivityTestObservation struct {
ID *string `json:"id,omitempty" tf:"id,omitempty"`
}
func (*ConnectivityTestObservation) DeepCopy ¶
func (in *ConnectivityTestObservation) DeepCopy() *ConnectivityTestObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestObservation.
func (*ConnectivityTestObservation) DeepCopyInto ¶
func (in *ConnectivityTestObservation) DeepCopyInto(out *ConnectivityTestObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTestParameters ¶
type ConnectivityTestParameters struct { // The user-supplied description of the Connectivity Test. // Maximum of 512 characters. // +kubebuilder:validation:Optional Description *string `json:"description,omitempty" tf:"description,omitempty"` // Required. Destination specification of the Connectivity Test. // // You can use a combination of destination IP address, Compute // Engine VM instance, or VPC network to uniquely identify the // destination location. // // Even if the destination IP address is not unique, the source IP // location is unique. Usually, the analysis can infer the destination // endpoint from route information. // // If the destination you specify is a VM instance and the instance has // multiple network interfaces, then you must also specify either a // destination IP address or VPC network to identify the destination // interface. // // A reachability analysis proceeds even if the destination location // is ambiguous. However, the result can include endpoints that you // don't intend to test. // +kubebuilder:validation:Required Destination []DestinationParameters `json:"destination" tf:"destination,omitempty"` // Resource labels to represent user-provided metadata. // +kubebuilder:validation:Optional Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"` // Unique name for the connectivity test. // +kubebuilder:validation:Required Name *string `json:"name" tf:"name,omitempty"` // +kubebuilder:validation:Optional Project *string `json:"project,omitempty" tf:"project,omitempty"` // IP Protocol of the test. When not provided, "TCP" is assumed. // +kubebuilder:validation:Optional Protocol *string `json:"protocol,omitempty" tf:"protocol,omitempty"` // Other projects that may be relevant for reachability analysis. // This is applicable to scenarios where a test can cross project // boundaries. // +kubebuilder:validation:Optional RelatedProjects []*string `json:"relatedProjects,omitempty" tf:"related_projects,omitempty"` // Required. Source specification of the Connectivity Test. // // You can use a combination of source IP address, virtual machine // (VM) instance, or Compute Engine network to uniquely identify the // source location. // // Examples: If the source IP address is an internal IP address within // a Google Cloud Virtual Private Cloud (VPC) network, then you must // also specify the VPC network. Otherwise, specify the VM instance, // which already contains its internal IP address and VPC network // information. // // If the source of the test is within an on-premises network, then // you must provide the destination VPC network. // // If the source endpoint is a Compute Engine VM instance with multiple // network interfaces, the instance itself is not sufficient to // identify the endpoint. So, you must also specify the source IP // address or VPC network. // // A reachability analysis proceeds even if the source location is // ambiguous. However, the test result may include endpoints that // you don't intend to test. // +kubebuilder:validation:Required Source []SourceParameters `json:"source" tf:"source,omitempty"` }
func (*ConnectivityTestParameters) DeepCopy ¶
func (in *ConnectivityTestParameters) DeepCopy() *ConnectivityTestParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestParameters.
func (*ConnectivityTestParameters) DeepCopyInto ¶
func (in *ConnectivityTestParameters) DeepCopyInto(out *ConnectivityTestParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTestSpec ¶
type ConnectivityTestSpec struct { v1.ResourceSpec `json:",inline"` ForProvider ConnectivityTestParameters `json:"forProvider"` }
ConnectivityTestSpec defines the desired state of ConnectivityTest
func (*ConnectivityTestSpec) DeepCopy ¶
func (in *ConnectivityTestSpec) DeepCopy() *ConnectivityTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestSpec.
func (*ConnectivityTestSpec) DeepCopyInto ¶
func (in *ConnectivityTestSpec) DeepCopyInto(out *ConnectivityTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConnectivityTestStatus ¶
type ConnectivityTestStatus struct { v1.ResourceStatus `json:",inline"` AtProvider ConnectivityTestObservation `json:"atProvider,omitempty"` }
ConnectivityTestStatus defines the observed state of ConnectivityTest.
func (*ConnectivityTestStatus) DeepCopy ¶
func (in *ConnectivityTestStatus) DeepCopy() *ConnectivityTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConnectivityTestStatus.
func (*ConnectivityTestStatus) DeepCopyInto ¶
func (in *ConnectivityTestStatus) DeepCopyInto(out *ConnectivityTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationObservation ¶
type DestinationObservation struct { }
func (*DestinationObservation) DeepCopy ¶
func (in *DestinationObservation) DeepCopy() *DestinationObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationObservation.
func (*DestinationObservation) DeepCopyInto ¶
func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DestinationParameters ¶
type DestinationParameters struct { // The IP address of the endpoint, which can be an external or // internal IP. An IPv6 address is only allowed when the test's // destination is a global load balancer VIP. // +kubebuilder:validation:Optional IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // A Compute Engine instance URI. // +kubebuilder:validation:Optional Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // A Compute Engine network URI. // +kubebuilder:validation:Optional Network *string `json:"network,omitempty" tf:"network,omitempty"` // The IP protocol port of the endpoint. Only applicable when // protocol is TCP or UDP. // +kubebuilder:validation:Optional Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // Project ID where the endpoint is located. The Project ID can be // derived from the URI if you provide a VM instance or network URI. // The following are two cases where you must provide the project ID: // 1. Only the IP address is specified, and the IP address is within // a GCP project. 2. When you are using Shared VPC and the IP address // that you provide is from the service project. In this case, the // network that the IP address resides in is defined in the host // project. // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` }
func (*DestinationParameters) DeepCopy ¶
func (in *DestinationParameters) DeepCopy() *DestinationParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DestinationParameters.
func (*DestinationParameters) DeepCopyInto ¶
func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceObservation ¶
type SourceObservation struct { }
func (*SourceObservation) DeepCopy ¶
func (in *SourceObservation) DeepCopy() *SourceObservation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceObservation.
func (*SourceObservation) DeepCopyInto ¶
func (in *SourceObservation) DeepCopyInto(out *SourceObservation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SourceParameters ¶
type SourceParameters struct { // The IP address of the endpoint, which can be an external or // internal IP. An IPv6 address is only allowed when the test's // destination is a global load balancer VIP. // +kubebuilder:validation:Optional IPAddress *string `json:"ipAddress,omitempty" tf:"ip_address,omitempty"` // A Compute Engine instance URI. // +kubebuilder:validation:Optional Instance *string `json:"instance,omitempty" tf:"instance,omitempty"` // A Compute Engine network URI. // +kubebuilder:validation:Optional Network *string `json:"network,omitempty" tf:"network,omitempty"` // Type of the network where the endpoint is located. Possible values: ["GCP_NETWORK", "NON_GCP_NETWORK"] // +kubebuilder:validation:Optional NetworkType *string `json:"networkType,omitempty" tf:"network_type,omitempty"` // The IP protocol port of the endpoint. Only applicable when // protocol is TCP or UDP. // +kubebuilder:validation:Optional Port *float64 `json:"port,omitempty" tf:"port,omitempty"` // Project ID where the endpoint is located. The Project ID can be // derived from the URI if you provide a VM instance or network URI. // The following are two cases where you must provide the project ID: // // 1. Only the IP address is specified, and the IP address is // within a GCP project. // 2. When you are using Shared VPC and the IP address // that you provide is from the service project. In this case, // the network that the IP address resides in is defined in the // host project. // +kubebuilder:validation:Optional ProjectID *string `json:"projectId,omitempty" tf:"project_id,omitempty"` }
func (*SourceParameters) DeepCopy ¶
func (in *SourceParameters) DeepCopy() *SourceParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceParameters.
func (*SourceParameters) DeepCopyInto ¶
func (in *SourceParameters) DeepCopyInto(out *SourceParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.