v1alpha1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 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 added in v0.3.0

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 added in v0.3.0

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

func (*ManagementConnectivitytest) DeepCopyInto added in v0.3.0

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

func (*ManagementConnectivitytest) DeepCopyObject added in v0.3.0

func (in *ManagementConnectivitytest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*ManagementConnectivitytest) SetupWebhookWithManager added in v0.3.0

func (r *ManagementConnectivitytest) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ManagementConnectivitytest) ValidateCreate added in v0.3.0

func (r *ManagementConnectivitytest) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*ManagementConnectivitytest) ValidateDelete added in v0.3.0

func (r *ManagementConnectivitytest) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*ManagementConnectivitytest) ValidateUpdate added in v0.3.0

func (r *ManagementConnectivitytest) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type ManagementConnectivitytestList added in v0.3.0

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 added in v0.3.0

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

func (*ManagementConnectivitytestList) DeepCopyInto added in v0.3.0

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

func (*ManagementConnectivitytestList) DeepCopyObject added in v0.3.0

func (in *ManagementConnectivitytestList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type ManagementConnectivitytestSpec added in v0.3.0

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 added in v0.3.0

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

func (*ManagementConnectivitytestSpec) DeepCopyInto added in v0.3.0

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

type ManagementConnectivitytestSpecDestination added in v0.3.0

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 added in v0.3.0

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

func (*ManagementConnectivitytestSpecDestination) DeepCopyInto added in v0.3.0

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

type ManagementConnectivitytestSpecDestinationCodec added in v0.3.0

type ManagementConnectivitytestSpecDestinationCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagementConnectivitytestSpecDestinationCodec) Decode added in v0.3.0

func (ManagementConnectivitytestSpecDestinationCodec) Encode added in v0.3.0

func (ManagementConnectivitytestSpecDestinationCodec) IsEmpty added in v0.3.0

type ManagementConnectivitytestSpecResource added in v0.3.0

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 added in v0.3.0

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

func (*ManagementConnectivitytestSpecResource) DeepCopyInto added in v0.3.0

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

type ManagementConnectivitytestSpecSource added in v0.3.0

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 added in v0.3.0

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

func (*ManagementConnectivitytestSpecSource) DeepCopyInto added in v0.3.0

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

type ManagementConnectivitytestSpecSourceCodec added in v0.3.0

type ManagementConnectivitytestSpecSourceCodec struct {
}

+k8s:deepcopy-gen=false

func (ManagementConnectivitytestSpecSourceCodec) Decode added in v0.3.0

func (ManagementConnectivitytestSpecSourceCodec) Encode added in v0.3.0

func (ManagementConnectivitytestSpecSourceCodec) IsEmpty added in v0.3.0

type ManagementConnectivitytestStatus added in v0.3.0

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 added in v0.3.0

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

func (*ManagementConnectivitytestStatus) DeepCopyInto added in v0.3.0

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