v1alpha1

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+groupName=network.google.kubeform.com

Index

Constants

This section is empty.

Variables

View Source
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
)
View Source
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 Kind

func Kind(kind string) schema.GroupKind

Kind takes an unqualified kind and returns a Group qualified GroupKind

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTest.

func (*ManagementConnectivityTest) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestList.

func (*ManagementConnectivityTestList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpec.

func (*ManagementConnectivityTestSpec) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpecDestination.

func (*ManagementConnectivityTestSpecDestination) DeepCopyInto

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) Encode

func (ManagementConnectivityTestSpecDestinationCodec) IsEmpty

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpecResource.

func (*ManagementConnectivityTestSpecResource) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestSpecSource.

func (*ManagementConnectivityTestSpecSource) DeepCopyInto

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) Encode

func (ManagementConnectivityTestSpecSourceCodec) IsEmpty

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagementConnectivityTestStatus.

func (*ManagementConnectivityTestStatus) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL