v1beta1

package
v1.124.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package v1beta1 contains API Schema definitions for the edgenetwork v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/clients/generated/pkg/apis/edgenetwork +k8s:defaulter-gen=TypeMeta +groupName=edgenetwork.cnrm.cloud.google.com

Index

Constants

This section is empty.

Variables

View Source
var (
	// SchemeGroupVersion is the group version used to register these objects.
	SchemeGroupVersion = schema.GroupVersion{Group: "edgenetwork.cnrm.cloud.google.com", Version: "v1beta1"}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme.
	SchemeBuilder = &scheme.Builder{GroupVersion: SchemeGroupVersion}

	// AddToScheme is a global function that registers this API group & version to a scheme
	AddToScheme = SchemeBuilder.AddToScheme

	EdgeNetworkNetworkGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(EdgeNetworkNetwork{}).Name(),
	}

	EdgeNetworkSubnetGVK = schema.GroupVersionKind{
		Group:   SchemeGroupVersion.Group,
		Version: SchemeGroupVersion.Version,
		Kind:    reflect.TypeOf(EdgeNetworkSubnet{}).Name(),
	}
)

Functions

This section is empty.

Types

type EdgeNetworkNetwork

type EdgeNetworkNetwork struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EdgeNetworkNetworkSpec   `json:"spec,omitempty"`
	Status EdgeNetworkNetworkStatus `json:"status,omitempty"`
}

EdgeNetworkNetwork is the Schema for the edgenetwork API +k8s:openapi-gen=true

func (*EdgeNetworkNetwork) DeepCopy

func (in *EdgeNetworkNetwork) DeepCopy() *EdgeNetworkNetwork

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

func (*EdgeNetworkNetwork) DeepCopyInto

func (in *EdgeNetworkNetwork) DeepCopyInto(out *EdgeNetworkNetwork)

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

func (*EdgeNetworkNetwork) DeepCopyObject

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

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

type EdgeNetworkNetworkList

type EdgeNetworkNetworkList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EdgeNetworkNetwork `json:"items"`
}

EdgeNetworkNetworkList contains a list of EdgeNetworkNetwork

func (*EdgeNetworkNetworkList) DeepCopy

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

func (*EdgeNetworkNetworkList) DeepCopyInto

func (in *EdgeNetworkNetworkList) DeepCopyInto(out *EdgeNetworkNetworkList)

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

func (*EdgeNetworkNetworkList) DeepCopyObject

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

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

type EdgeNetworkNetworkSpec

type EdgeNetworkNetworkSpec struct {
	/* Immutable. A free-text description of the resource. Max length 1024 characters. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. The Google Cloud region to which the target Distributed Cloud Edge zone belongs. */
	Location string `json:"location"`

	/* Immutable. IP (L3) MTU value of the network. Default value is '1500'. Possible values are: '1500', '9000'. */
	// +optional
	Mtu *int64 `json:"mtu,omitempty"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The networkId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. The name of the target Distributed Cloud Edge zone. */
	Zone string `json:"zone"`
}

func (*EdgeNetworkNetworkSpec) DeepCopy

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

func (*EdgeNetworkNetworkSpec) DeepCopyInto

func (in *EdgeNetworkNetworkSpec) DeepCopyInto(out *EdgeNetworkNetworkSpec)

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

type EdgeNetworkNetworkStatus

type EdgeNetworkNetworkStatus struct {
	/* Conditions represent the latest available observations of the
	   EdgeNetworkNetwork's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time when the subnet was created.
	A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* The canonical name of this resource, with format
	'projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}'. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* The time when the subnet was last updated.
	A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*EdgeNetworkNetworkStatus) DeepCopy

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

func (*EdgeNetworkNetworkStatus) DeepCopyInto

func (in *EdgeNetworkNetworkStatus) DeepCopyInto(out *EdgeNetworkNetworkStatus)

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

type EdgeNetworkSubnet

type EdgeNetworkSubnet struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   EdgeNetworkSubnetSpec   `json:"spec,omitempty"`
	Status EdgeNetworkSubnetStatus `json:"status,omitempty"`
}

EdgeNetworkSubnet is the Schema for the edgenetwork API +k8s:openapi-gen=true

func (*EdgeNetworkSubnet) DeepCopy

func (in *EdgeNetworkSubnet) DeepCopy() *EdgeNetworkSubnet

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

func (*EdgeNetworkSubnet) DeepCopyInto

func (in *EdgeNetworkSubnet) DeepCopyInto(out *EdgeNetworkSubnet)

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

func (*EdgeNetworkSubnet) DeepCopyObject

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

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

type EdgeNetworkSubnetList

type EdgeNetworkSubnetList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []EdgeNetworkSubnet `json:"items"`
}

EdgeNetworkSubnetList contains a list of EdgeNetworkSubnet

func (*EdgeNetworkSubnetList) DeepCopy

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

func (*EdgeNetworkSubnetList) DeepCopyInto

func (in *EdgeNetworkSubnetList) DeepCopyInto(out *EdgeNetworkSubnetList)

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

func (*EdgeNetworkSubnetList) DeepCopyObject

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

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

type EdgeNetworkSubnetSpec

type EdgeNetworkSubnetSpec struct {
	/* Immutable. A free-text description of the resource. Max length 1024 characters. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. The ranges of ipv4 addresses that are owned by this subnetwork, in CIDR format. */
	// +optional
	Ipv4Cidr []string `json:"ipv4Cidr,omitempty"`

	/* Immutable. The ranges of ipv6 addresses that are owned by this subnetwork, in CIDR format. */
	// +optional
	Ipv6Cidr []string `json:"ipv6Cidr,omitempty"`

	/* Immutable. The Google Cloud region to which the target Distributed Cloud Edge zone belongs. */
	Location string `json:"location"`

	NetworkRef v1alpha1.ResourceRef `json:"networkRef"`

	/* The project that this resource belongs to. */
	ProjectRef v1alpha1.ResourceRef `json:"projectRef"`

	/* Immutable. Optional. The subnetId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`

	/* Immutable. VLAN ID for this subnetwork. If not specified, one is assigned automatically. */
	// +optional
	VlanId *int64 `json:"vlanId,omitempty"`

	/* Immutable. The name of the target Distributed Cloud Edge zone. */
	Zone string `json:"zone"`
}

func (*EdgeNetworkSubnetSpec) DeepCopy

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

func (*EdgeNetworkSubnetSpec) DeepCopyInto

func (in *EdgeNetworkSubnetSpec) DeepCopyInto(out *EdgeNetworkSubnetSpec)

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

type EdgeNetworkSubnetStatus

type EdgeNetworkSubnetStatus struct {
	/* Conditions represent the latest available observations of the
	   EdgeNetworkSubnet's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The time when the subnet was created.
	A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. */
	// +optional
	CreateTime *string `json:"createTime,omitempty"`

	/* The canonical name of this resource, with format
	'projects/{{project}}/locations/{{location}}/zones/{{zone}}/subnets/{{subnet_id}}'. */
	// +optional
	Name *string `json:"name,omitempty"`

	/* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */
	// +optional
	ObservedGeneration *int64 `json:"observedGeneration,omitempty"`

	/* Current stage of the resource to the device by config push. */
	// +optional
	State *string `json:"state,omitempty"`

	/* The time when the subnet was last updated.
	A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
	fractional digits. Examples: '2014-10-02T15:01:23Z' and '2014-10-02T15:01:23.045123456Z'. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*EdgeNetworkSubnetStatus) DeepCopy

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

func (*EdgeNetworkSubnetStatus) DeepCopyInto

func (in *EdgeNetworkSubnetStatus) DeepCopyInto(out *EdgeNetworkSubnetStatus)

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