v1beta1

package
v1.122.0 Latest Latest
Warning

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

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

Documentation

Overview

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

Constants

This section is empty.

Variables

View Source
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

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

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

func (*ServiceDirectoryEndpointList) DeepCopyInto added in v1.90.0

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 *int64 `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

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

func (*ServiceDirectoryEndpointSpec) DeepCopyInto added in v1.90.0

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 *int64 `json:"observedGeneration,omitempty"`
}

func (*ServiceDirectoryEndpointStatus) DeepCopy added in v1.90.0

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

func (*ServiceDirectoryEndpointStatus) DeepCopyInto added in v1.90.0

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

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

func (*ServiceDirectoryNamespace) DeepCopyInto

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

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

func (*ServiceDirectoryNamespaceList) DeepCopyInto

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 {
	/* Immutable. 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

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

func (*ServiceDirectoryNamespaceSpec) DeepCopyInto

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 *int64 `json:"observedGeneration,omitempty"`
}

func (*ServiceDirectoryNamespaceStatus) DeepCopy

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

func (*ServiceDirectoryNamespaceStatus) DeepCopyInto

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

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

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

func (*ServiceDirectoryServiceList) DeepCopyInto

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

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

func (*ServiceDirectoryServiceSpec) DeepCopyInto

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 *int64 `json:"observedGeneration,omitempty"`
}

func (*ServiceDirectoryServiceStatus) DeepCopy

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

func (*ServiceDirectoryServiceStatus) DeepCopyInto

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