Documentation ¶
Overview ¶
Generate deepcopy object for servicedirectory/v1beta1 API group
Package v1beta1 contains API Schema definitions for the servicedirectory 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/servicedirectory +k8s:defaulter-gen=TypeMeta +groupName=servicedirectory.cnrm.cloud.google.com
Index ¶
- Variables
- type ServiceDirectoryEndpoint
- type ServiceDirectoryEndpointList
- type ServiceDirectoryEndpointSpec
- type ServiceDirectoryEndpointStatus
- type ServiceDirectoryNamespace
- type ServiceDirectoryNamespaceList
- type ServiceDirectoryNamespaceSpec
- type ServiceDirectoryNamespaceStatus
- type ServiceDirectoryService
- type ServiceDirectoryServiceList
- type ServiceDirectoryServiceSpec
- type ServiceDirectoryServiceStatus
Constants ¶
This section is empty.
Variables ¶
var ( // SchemeGroupVersion is the group version used to register these objects. SchemeGroupVersion = schema.GroupVersion{Group: "servicedirectory.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 ServiceDirectoryEndpointGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ServiceDirectoryEndpoint{}).Name(), } ServiceDirectoryNamespaceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ServiceDirectoryNamespace{}).Name(), } ServiceDirectoryServiceGVK = schema.GroupVersionKind{ Group: SchemeGroupVersion.Group, Version: SchemeGroupVersion.Version, Kind: reflect.TypeOf(ServiceDirectoryService{}).Name(), } )
Functions ¶
This section is empty.
Types ¶
type ServiceDirectoryEndpoint ¶ added in v1.90.0
type ServiceDirectoryEndpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceDirectoryEndpointSpec `json:"spec,omitempty"` Status ServiceDirectoryEndpointStatus `json:"status,omitempty"` }
ServiceDirectoryEndpoint is the Schema for the servicedirectory API +k8s:openapi-gen=true
func (*ServiceDirectoryEndpoint) DeepCopy ¶ added in v1.90.0
func (in *ServiceDirectoryEndpoint) DeepCopy() *ServiceDirectoryEndpoint
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryEndpoint.
func (*ServiceDirectoryEndpoint) DeepCopyInto ¶ added in v1.90.0
func (in *ServiceDirectoryEndpoint) DeepCopyInto(out *ServiceDirectoryEndpoint)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDirectoryEndpoint) DeepCopyObject ¶ added in v1.90.0
func (in *ServiceDirectoryEndpoint) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDirectoryEndpointList ¶ added in v1.90.0
type ServiceDirectoryEndpointList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceDirectoryEndpoint `json:"items"` }
ServiceDirectoryEndpointList contains a list of ServiceDirectoryEndpoint
func (*ServiceDirectoryEndpointList) DeepCopy ¶ added in v1.90.0
func (in *ServiceDirectoryEndpointList) DeepCopy() *ServiceDirectoryEndpointList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryEndpointList.
func (*ServiceDirectoryEndpointList) DeepCopyInto ¶ added in v1.90.0
func (in *ServiceDirectoryEndpointList) DeepCopyInto(out *ServiceDirectoryEndpointList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDirectoryEndpointList) DeepCopyObject ¶ added in v1.90.0
func (in *ServiceDirectoryEndpointList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDirectoryEndpointSpec ¶ added in v1.90.0
type ServiceDirectoryEndpointSpec struct { // +optional AddressRef *v1alpha1.ResourceRef `json:"addressRef,omitempty"` /* Only the `external` field is supported to configure the reference. Immutable. The Google Compute Engine network (VPC) of the endpoint in the format projects/<project number>/locations/global/networks/*. The project must be specified by project number (project id is rejected). Incorrectly formatted networks are rejected, but no other validation is performed on this field (ex. network or project existence, reachability, or permissions). */ // +optional NetworkRef *v1alpha1.ResourceRef `json:"networkRef,omitempty"` /* Port that the endpoint is running on, must be in the range of [0, 65535]. If unspecified, the default is 0. */ // +optional Port *int `json:"port,omitempty"` /* Immutable. Optional. The endpointId 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"` /* The ServiceDirectoryService that this endpoint belongs to. */ ServiceRef v1alpha1.ResourceRef `json:"serviceRef"` }
func (*ServiceDirectoryEndpointSpec) DeepCopy ¶ added in v1.90.0
func (in *ServiceDirectoryEndpointSpec) DeepCopy() *ServiceDirectoryEndpointSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryEndpointSpec.
func (*ServiceDirectoryEndpointSpec) DeepCopyInto ¶ added in v1.90.0
func (in *ServiceDirectoryEndpointSpec) DeepCopyInto(out *ServiceDirectoryEndpointSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDirectoryEndpointStatus ¶ added in v1.90.0
type ServiceDirectoryEndpointStatus struct { /* Conditions represent the latest available observations of the ServiceDirectoryEndpoint's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The resource name for the endpoint in the format 'projects/* /locations/* /namespaces/* /services/* /endpoints/*'. */ // +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 *int `json:"observedGeneration,omitempty"` }
func (*ServiceDirectoryEndpointStatus) DeepCopy ¶ added in v1.90.0
func (in *ServiceDirectoryEndpointStatus) DeepCopy() *ServiceDirectoryEndpointStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryEndpointStatus.
func (*ServiceDirectoryEndpointStatus) DeepCopyInto ¶ added in v1.90.0
func (in *ServiceDirectoryEndpointStatus) DeepCopyInto(out *ServiceDirectoryEndpointStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDirectoryNamespace ¶
type ServiceDirectoryNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceDirectoryNamespaceSpec `json:"spec,omitempty"` Status ServiceDirectoryNamespaceStatus `json:"status,omitempty"` }
ServiceDirectoryNamespace is the Schema for the servicedirectory API +k8s:openapi-gen=true
func (*ServiceDirectoryNamespace) DeepCopy ¶
func (in *ServiceDirectoryNamespace) DeepCopy() *ServiceDirectoryNamespace
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryNamespace.
func (*ServiceDirectoryNamespace) DeepCopyInto ¶
func (in *ServiceDirectoryNamespace) DeepCopyInto(out *ServiceDirectoryNamespace)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDirectoryNamespace) DeepCopyObject ¶
func (in *ServiceDirectoryNamespace) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDirectoryNamespaceList ¶
type ServiceDirectoryNamespaceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceDirectoryNamespace `json:"items"` }
ServiceDirectoryNamespaceList contains a list of ServiceDirectoryNamespace
func (*ServiceDirectoryNamespaceList) DeepCopy ¶
func (in *ServiceDirectoryNamespaceList) DeepCopy() *ServiceDirectoryNamespaceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryNamespaceList.
func (*ServiceDirectoryNamespaceList) DeepCopyInto ¶
func (in *ServiceDirectoryNamespaceList) DeepCopyInto(out *ServiceDirectoryNamespaceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDirectoryNamespaceList) DeepCopyObject ¶
func (in *ServiceDirectoryNamespaceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDirectoryNamespaceSpec ¶
type ServiceDirectoryNamespaceSpec struct { /* The location for the Namespace. A full list of valid locations can be found by running 'gcloud beta service-directory locations list'. */ Location string `json:"location"` /* The project that this resource belongs to. */ ProjectRef v1alpha1.ResourceRef `json:"projectRef"` /* Immutable. Optional. The namespaceId 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 (*ServiceDirectoryNamespaceSpec) DeepCopy ¶
func (in *ServiceDirectoryNamespaceSpec) DeepCopy() *ServiceDirectoryNamespaceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryNamespaceSpec.
func (*ServiceDirectoryNamespaceSpec) DeepCopyInto ¶
func (in *ServiceDirectoryNamespaceSpec) DeepCopyInto(out *ServiceDirectoryNamespaceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDirectoryNamespaceStatus ¶
type ServiceDirectoryNamespaceStatus struct { /* Conditions represent the latest available observations of the ServiceDirectoryNamespace's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The resource name for the namespace in the format 'projects/* /locations/* /namespaces/*'. */ // +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 *int `json:"observedGeneration,omitempty"` }
func (*ServiceDirectoryNamespaceStatus) DeepCopy ¶
func (in *ServiceDirectoryNamespaceStatus) DeepCopy() *ServiceDirectoryNamespaceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryNamespaceStatus.
func (*ServiceDirectoryNamespaceStatus) DeepCopyInto ¶
func (in *ServiceDirectoryNamespaceStatus) DeepCopyInto(out *ServiceDirectoryNamespaceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDirectoryService ¶
type ServiceDirectoryService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ServiceDirectoryServiceSpec `json:"spec,omitempty"` Status ServiceDirectoryServiceStatus `json:"status,omitempty"` }
ServiceDirectoryService is the Schema for the servicedirectory API +k8s:openapi-gen=true
func (*ServiceDirectoryService) DeepCopy ¶
func (in *ServiceDirectoryService) DeepCopy() *ServiceDirectoryService
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryService.
func (*ServiceDirectoryService) DeepCopyInto ¶
func (in *ServiceDirectoryService) DeepCopyInto(out *ServiceDirectoryService)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDirectoryService) DeepCopyObject ¶
func (in *ServiceDirectoryService) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDirectoryServiceList ¶
type ServiceDirectoryServiceList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ServiceDirectoryService `json:"items"` }
ServiceDirectoryServiceList contains a list of ServiceDirectoryService
func (*ServiceDirectoryServiceList) DeepCopy ¶
func (in *ServiceDirectoryServiceList) DeepCopy() *ServiceDirectoryServiceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryServiceList.
func (*ServiceDirectoryServiceList) DeepCopyInto ¶
func (in *ServiceDirectoryServiceList) DeepCopyInto(out *ServiceDirectoryServiceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ServiceDirectoryServiceList) DeepCopyObject ¶
func (in *ServiceDirectoryServiceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ServiceDirectoryServiceSpec ¶
type ServiceDirectoryServiceSpec struct { /* The ServiceDirectoryNamespace that this service belongs to. */ NamespaceRef v1alpha1.ResourceRef `json:"namespaceRef"` /* Immutable. Optional. The serviceId 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 (*ServiceDirectoryServiceSpec) DeepCopy ¶
func (in *ServiceDirectoryServiceSpec) DeepCopy() *ServiceDirectoryServiceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryServiceSpec.
func (*ServiceDirectoryServiceSpec) DeepCopyInto ¶
func (in *ServiceDirectoryServiceSpec) DeepCopyInto(out *ServiceDirectoryServiceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceDirectoryServiceStatus ¶
type ServiceDirectoryServiceStatus struct { /* Conditions represent the latest available observations of the ServiceDirectoryService's current state. */ Conditions []v1alpha1.Condition `json:"conditions,omitempty"` /* The resource name for the service in the format 'projects/* /locations/* /namespaces/* /services/*'. */ // +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 *int `json:"observedGeneration,omitempty"` }
func (*ServiceDirectoryServiceStatus) DeepCopy ¶
func (in *ServiceDirectoryServiceStatus) DeepCopy() *ServiceDirectoryServiceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceDirectoryServiceStatus.
func (*ServiceDirectoryServiceStatus) DeepCopyInto ¶
func (in *ServiceDirectoryServiceStatus) DeepCopyInto(out *ServiceDirectoryServiceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.