Documentation
¶
Overview ¶
+groupName=network.google.kubeform.com
Index ¶
- Variables
- func GetDecoder() map[string]jsoniter.ValDecoder
- func GetEncoder() map[string]jsoniter.ValEncoder
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type ManagementConnectivityTest
- func (in *ManagementConnectivityTest) DeepCopy() *ManagementConnectivityTest
- func (in *ManagementConnectivityTest) DeepCopyInto(out *ManagementConnectivityTest)
- func (in *ManagementConnectivityTest) DeepCopyObject() runtime.Object
- func (r *ManagementConnectivityTest) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ManagementConnectivityTest) ValidateCreate() error
- func (r *ManagementConnectivityTest) ValidateDelete() error
- func (r *ManagementConnectivityTest) ValidateUpdate(old runtime.Object) error
- type ManagementConnectivityTestList
- type ManagementConnectivityTestSpec
- type ManagementConnectivityTestSpecDestination
- type ManagementConnectivityTestSpecDestinationCodec
- type ManagementConnectivityTestSpecResource
- type ManagementConnectivityTestSpecSource
- type ManagementConnectivityTestSpecSourceCodec
- type ManagementConnectivityTestStatus
Constants ¶
This section is empty.
Variables ¶
var ( // TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api. // localSchemeBuilder and AddToScheme will stay in k8s.io/kubernetes. SchemeBuilder runtime.SchemeBuilder AddToScheme = localSchemeBuilder.AddToScheme )
var SchemeGroupVersion = schema.GroupVersion{Group: network.GroupName, Version: "v1alpha1"}
Functions ¶
func GetDecoder ¶
func GetDecoder() map[string]jsoniter.ValDecoder
func GetEncoder ¶
func GetEncoder() map[string]jsoniter.ValEncoder
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type ManagementConnectivityTest ¶
type ManagementConnectivityTest struct { metav1.TypeMeta `json:",inline,omitempty"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ManagementConnectivityTestSpec `json:"spec,omitempty"` Status ManagementConnectivityTestStatus `json:"status,omitempty"` }
func (*ManagementConnectivityTest) DeepCopy ¶
func (in *ManagementConnectivityTest) DeepCopy() *ManagementConnectivityTest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTest.
func (*ManagementConnectivityTest) DeepCopyInto ¶
func (in *ManagementConnectivityTest) DeepCopyInto(out *ManagementConnectivityTest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementConnectivityTest) DeepCopyObject ¶
func (in *ManagementConnectivityTest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ManagementConnectivityTest) SetupWebhookWithManager ¶
func (r *ManagementConnectivityTest) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ManagementConnectivityTest) ValidateCreate ¶
func (r *ManagementConnectivityTest) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ManagementConnectivityTest) ValidateDelete ¶
func (r *ManagementConnectivityTest) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ManagementConnectivityTest) ValidateUpdate ¶
func (r *ManagementConnectivityTest) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
type ManagementConnectivityTestList ¶
type ManagementConnectivityTestList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` // Items is a list of ManagementConnectivityTest CRD objects Items []ManagementConnectivityTest `json:"items,omitempty"` }
ManagementConnectivityTestList is a list of ManagementConnectivityTests
func (*ManagementConnectivityTestList) DeepCopy ¶
func (in *ManagementConnectivityTestList) DeepCopy() *ManagementConnectivityTestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestList.
func (*ManagementConnectivityTestList) DeepCopyInto ¶
func (in *ManagementConnectivityTestList) DeepCopyInto(out *ManagementConnectivityTestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ManagementConnectivityTestList) DeepCopyObject ¶
func (in *ManagementConnectivityTestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ManagementConnectivityTestSpec ¶
type ManagementConnectivityTestSpec struct { State *ManagementConnectivityTestSpecResource `json:"state,omitempty" tf:"-"` Resource ManagementConnectivityTestSpecResource `json:"resource" tf:"resource"` UpdatePolicy base.UpdatePolicy `json:"updatePolicy,omitempty" tf:"-"` TerminationPolicy base.TerminationPolicy `json:"terminationPolicy,omitempty" tf:"-"` ProviderRef core.LocalObjectReference `json:"providerRef" tf:"-"` }
func (*ManagementConnectivityTestSpec) DeepCopy ¶
func (in *ManagementConnectivityTestSpec) DeepCopy() *ManagementConnectivityTestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpec.
func (*ManagementConnectivityTestSpec) DeepCopyInto ¶
func (in *ManagementConnectivityTestSpec) DeepCopyInto(out *ManagementConnectivityTestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementConnectivityTestSpecDestination ¶
type ManagementConnectivityTestSpecDestination struct { // A Compute Engine instance URI. // +optional Instance *string `json:"instance,omitempty" tf:"instance"` // 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. // +optional IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"` // A Compute Engine network URI. // +optional Network *string `json:"network,omitempty" tf:"network"` // The IP protocol port of the endpoint. Only applicable when // protocol is TCP or UDP. // +optional Port *int64 `json:"port,omitempty" tf:"port"` // 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. // +optional ProjectID *string `json:"projectID,omitempty" tf:"project_id"` }
func (*ManagementConnectivityTestSpecDestination) DeepCopy ¶
func (in *ManagementConnectivityTestSpecDestination) DeepCopy() *ManagementConnectivityTestSpecDestination
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpecDestination.
func (*ManagementConnectivityTestSpecDestination) DeepCopyInto ¶
func (in *ManagementConnectivityTestSpecDestination) DeepCopyInto(out *ManagementConnectivityTestSpecDestination)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementConnectivityTestSpecDestinationCodec ¶
type ManagementConnectivityTestSpecDestinationCodec struct { }
+k8s:deepcopy-gen=false
func (ManagementConnectivityTestSpecDestinationCodec) Decode ¶
func (ManagementConnectivityTestSpecDestinationCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type ManagementConnectivityTestSpecResource ¶
type ManagementConnectivityTestSpecResource struct { Timeouts *base.ResourceTimeout `json:"timeouts,omitempty" tf:"timeouts"` ID string `json:"id,omitempty" tf:"id,omitempty"` // The user-supplied description of the Connectivity Test. // Maximum of 512 characters. // +optional Description *string `json:"description,omitempty" tf:"description"` // 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. Destination *ManagementConnectivityTestSpecDestination `json:"destination" tf:"destination"` // Resource labels to represent user-provided metadata. // +optional Labels *map[string]string `json:"labels,omitempty" tf:"labels"` // Unique name for the connectivity test. Name *string `json:"name" tf:"name"` // +optional Project *string `json:"project,omitempty" tf:"project"` // IP Protocol of the test. When not provided, "TCP" is assumed. // +optional Protocol *string `json:"protocol,omitempty" tf:"protocol"` // Other projects that may be relevant for reachability analysis. // This is applicable to scenarios where a test can cross project // boundaries. // +optional RelatedProjects []string `json:"relatedProjects,omitempty" tf:"related_projects"` // 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. Source *ManagementConnectivityTestSpecSource `json:"source" tf:"source"` }
func (*ManagementConnectivityTestSpecResource) DeepCopy ¶
func (in *ManagementConnectivityTestSpecResource) DeepCopy() *ManagementConnectivityTestSpecResource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpecResource.
func (*ManagementConnectivityTestSpecResource) DeepCopyInto ¶
func (in *ManagementConnectivityTestSpecResource) DeepCopyInto(out *ManagementConnectivityTestSpecResource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementConnectivityTestSpecSource ¶
type ManagementConnectivityTestSpecSource struct { // A Compute Engine instance URI. // +optional Instance *string `json:"instance,omitempty" tf:"instance"` // 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. // +optional IpAddress *string `json:"ipAddress,omitempty" tf:"ip_address"` // A Compute Engine network URI. // +optional Network *string `json:"network,omitempty" tf:"network"` // Type of the network where the endpoint is located. Possible values: ["GCP_NETWORK", "NON_GCP_NETWORK"] // +optional NetworkType *string `json:"networkType,omitempty" tf:"network_type"` // The IP protocol port of the endpoint. Only applicable when // protocol is TCP or UDP. // +optional Port *int64 `json:"port,omitempty" tf:"port"` // 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. // +optional ProjectID *string `json:"projectID,omitempty" tf:"project_id"` }
func (*ManagementConnectivityTestSpecSource) DeepCopy ¶
func (in *ManagementConnectivityTestSpecSource) DeepCopy() *ManagementConnectivityTestSpecSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpecSource.
func (*ManagementConnectivityTestSpecSource) DeepCopyInto ¶
func (in *ManagementConnectivityTestSpecSource) DeepCopyInto(out *ManagementConnectivityTestSpecSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ManagementConnectivityTestSpecSourceCodec ¶
type ManagementConnectivityTestSpecSourceCodec struct { }
+k8s:deepcopy-gen=false
func (ManagementConnectivityTestSpecSourceCodec) Decode ¶
func (ManagementConnectivityTestSpecSourceCodec) Decode(ptr unsafe.Pointer, iter *jsoniter.Iterator)
type ManagementConnectivityTestStatus ¶
type ManagementConnectivityTestStatus struct { // Resource generation, which is updated on mutation by the API Server. // +optional ObservedGeneration int64 `json:"observedGeneration,omitempty"` // +optional Phase status.Status `json:"phase,omitempty"` // +optional Conditions []kmapi.Condition `json:"conditions,omitempty"` }
func (*ManagementConnectivityTestStatus) DeepCopy ¶
func (in *ManagementConnectivityTestStatus) DeepCopy() *ManagementConnectivityTestStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestStatus.
func (*ManagementConnectivityTestStatus) DeepCopyInto ¶
func (in *ManagementConnectivityTestStatus) DeepCopyInto(out *ManagementConnectivityTestStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.