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/apis/networkconnectivity +k8s:defaulter-gen=TypeMeta +groupName=networkconnectivity.cnrm.cloud.google.com
Index ¶
Constants ¶
This section is empty.
Variables ¶
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(), } )
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 ¶
func (in *HubRoutingVpcsStatus) DeepCopy() *HubRoutingVpcsStatus
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 ¶
func (in *NetworkConnectivityHub) DeepCopy() *NetworkConnectivityHub
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 ¶
func (in *NetworkConnectivityHubList) DeepCopy() *NetworkConnectivityHubList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConnectivityHubList.
func (*NetworkConnectivityHubList) DeepCopyInto ¶
func (in *NetworkConnectivityHubList) DeepCopyInto(out *NetworkConnectivityHubList)
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 ¶
func (in *NetworkConnectivityHubSpec) DeepCopy() *NetworkConnectivityHubSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConnectivityHubSpec.
func (*NetworkConnectivityHubSpec) DeepCopyInto ¶
func (in *NetworkConnectivityHubSpec) DeepCopyInto(out *NetworkConnectivityHubSpec)
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 ¶
func (in *NetworkConnectivityHubStatus) DeepCopy() *NetworkConnectivityHubStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new NetworkConnectivityHubStatus.
func (*NetworkConnectivityHubStatus) DeepCopyInto ¶
func (in *NetworkConnectivityHubStatus) DeepCopyInto(out *NetworkConnectivityHubStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.