v1beta1

package
v1.82.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for networkconnectivity/v1beta1 API group

Package v1beta1 contains API Schema definitions for the networkconnectivity 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/networkconnectivity +k8s:defaulter-gen=TypeMeta +groupName=networkconnectivity.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: "networkconnectivity.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

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

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

Functions

This section is empty.

Types

type HubRoutingVpcsStatus

type HubRoutingVpcsStatus struct {
	/* The URI of the VPC network. */
	Uri string `json:"uri,omitempty"`
}

func (*HubRoutingVpcsStatus) DeepCopy

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

func (*HubRoutingVpcsStatus) DeepCopyInto

func (in *HubRoutingVpcsStatus) DeepCopyInto(out *HubRoutingVpcsStatus)

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

type NetworkConnectivityHub

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

	Spec   NetworkConnectivityHubSpec   `json:"spec,omitempty"`
	Status NetworkConnectivityHubStatus `json:"status,omitempty"`
}

NetworkConnectivityHub is the Schema for the networkconnectivity API +k8s:openapi-gen=true

func (*NetworkConnectivityHub) DeepCopy

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

func (*NetworkConnectivityHub) DeepCopyInto

func (in *NetworkConnectivityHub) DeepCopyInto(out *NetworkConnectivityHub)

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

func (*NetworkConnectivityHub) DeepCopyObject

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

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

type NetworkConnectivityHubList

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

NetworkConnectivityHubList contains a list of NetworkConnectivityHub

func (*NetworkConnectivityHubList) DeepCopy

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

func (*NetworkConnectivityHubList) DeepCopyInto

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

func (*NetworkConnectivityHubList) DeepCopyObject

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

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

type NetworkConnectivityHubSpec

type NetworkConnectivityHubSpec struct {
	/* An optional description of the hub. */
	// +optional
	Description *string `json:"description,omitempty"`

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

	/* Immutable. Optional. The name 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"`
}

func (*NetworkConnectivityHubSpec) DeepCopy

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

func (*NetworkConnectivityHubSpec) DeepCopyInto

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

type NetworkConnectivityHubStatus

type NetworkConnectivityHubStatus struct {
	/* Conditions represent the latest available observations of the
	   NetworkConnectivityHub's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The time the hub was created. */
	CreateTime string `json:"createTime,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. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
	/* The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub. */
	RoutingVpcs []HubRoutingVpcsStatus `json:"routingVpcs,omitempty"`
	/* Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING */
	State string `json:"state,omitempty"`
	/* Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id. */
	UniqueId string `json:"uniqueId,omitempty"`
	/* Output only. The time the hub was last updated. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*NetworkConnectivityHubStatus) DeepCopy

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

func (*NetworkConnectivityHubStatus) DeepCopyInto

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

type NetworkConnectivitySpoke

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

	Spec   NetworkConnectivitySpokeSpec   `json:"spec,omitempty"`
	Status NetworkConnectivitySpokeStatus `json:"status,omitempty"`
}

NetworkConnectivitySpoke is the Schema for the networkconnectivity API +k8s:openapi-gen=true

func (*NetworkConnectivitySpoke) DeepCopy

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

func (*NetworkConnectivitySpoke) DeepCopyInto

func (in *NetworkConnectivitySpoke) DeepCopyInto(out *NetworkConnectivitySpoke)

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

func (*NetworkConnectivitySpoke) DeepCopyObject

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

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

type NetworkConnectivitySpokeList

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

NetworkConnectivitySpokeList contains a list of NetworkConnectivitySpoke

func (*NetworkConnectivitySpokeList) DeepCopy

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

func (*NetworkConnectivitySpokeList) DeepCopyInto

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

func (*NetworkConnectivitySpokeList) DeepCopyObject

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

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

type NetworkConnectivitySpokeSpec

type NetworkConnectivitySpokeSpec struct {
	/* An optional description of the spoke. */
	// +optional
	Description *string `json:"description,omitempty"`

	/*  */
	HubRef v1alpha1.ResourceRef `json:"hubRef"`

	/* A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes. */
	// +optional
	LinkedInterconnectAttachments *SpokeLinkedInterconnectAttachments `json:"linkedInterconnectAttachments,omitempty"`

	/* The URIs of linked Router appliance resources */
	// +optional
	LinkedRouterApplianceInstances *SpokeLinkedRouterApplianceInstances `json:"linkedRouterApplianceInstances,omitempty"`

	/* The URIs of linked VPN tunnel resources */
	// +optional
	LinkedVpnTunnels *SpokeLinkedVpnTunnels `json:"linkedVpnTunnels,omitempty"`

	/* The location for the resource */
	Location string `json:"location"`

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

	/* Immutable. Optional. The name 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"`
}

func (*NetworkConnectivitySpokeSpec) DeepCopy

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

func (*NetworkConnectivitySpokeSpec) DeepCopyInto

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

type NetworkConnectivitySpokeStatus

type NetworkConnectivitySpokeStatus struct {
	/* Conditions represent the latest available observations of the
	   NetworkConnectivitySpoke's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* Output only. The time the spoke was created. */
	CreateTime string `json:"createTime,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. */
	ObservedGeneration int `json:"observedGeneration,omitempty"`
	/* Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING */
	State string `json:"state,omitempty"`
	/* Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id. */
	UniqueId string `json:"uniqueId,omitempty"`
	/* Output only. The time the spoke was last updated. */
	UpdateTime string `json:"updateTime,omitempty"`
}

func (*NetworkConnectivitySpokeStatus) DeepCopy

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

func (*NetworkConnectivitySpokeStatus) DeepCopyInto

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

type SpokeInstances

type SpokeInstances struct {
	/* The IP address on the VM to use for peering. */
	// +optional
	IpAddress *string `json:"ipAddress,omitempty"`

	/*  */
	// +optional
	VirtualMachineRef *v1alpha1.ResourceRef `json:"virtualMachineRef,omitempty"`
}

func (*SpokeInstances) DeepCopy

func (in *SpokeInstances) DeepCopy() *SpokeInstances

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

func (*SpokeInstances) DeepCopyInto

func (in *SpokeInstances) DeepCopyInto(out *SpokeInstances)

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

type SpokeLinkedInterconnectAttachments

type SpokeLinkedInterconnectAttachments struct {
	/* A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. */
	SiteToSiteDataTransfer bool `json:"siteToSiteDataTransfer"`

	/*  */
	Uris []v1alpha1.ResourceRef `json:"uris"`
}

func (*SpokeLinkedInterconnectAttachments) DeepCopy

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

func (*SpokeLinkedInterconnectAttachments) DeepCopyInto

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

type SpokeLinkedRouterApplianceInstances

type SpokeLinkedRouterApplianceInstances struct {
	/* The list of router appliance instances */
	Instances []SpokeInstances `json:"instances"`

	/* A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. */
	SiteToSiteDataTransfer bool `json:"siteToSiteDataTransfer"`
}

func (*SpokeLinkedRouterApplianceInstances) DeepCopy

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

func (*SpokeLinkedRouterApplianceInstances) DeepCopyInto

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

type SpokeLinkedVpnTunnels

type SpokeLinkedVpnTunnels struct {
	/* A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations. */
	SiteToSiteDataTransfer bool `json:"siteToSiteDataTransfer"`

	/*  */
	Uris []v1alpha1.ResourceRef `json:"uris"`
}

func (*SpokeLinkedVpnTunnels) DeepCopy

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

func (*SpokeLinkedVpnTunnels) DeepCopyInto

func (in *SpokeLinkedVpnTunnels) DeepCopyInto(out *SpokeLinkedVpnTunnels)

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