v1alpha1

package
v1.117.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for datastore/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the datastore v1alpha1 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/datastore +k8s:defaulter-gen=TypeMeta +groupName=datastore.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: "datastore.cnrm.cloud.google.com", Version: "v1alpha1"}

	// 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

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

Functions

This section is empty.

Types

type DatastoreIndex

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

	Spec   DatastoreIndexSpec   `json:"spec,omitempty"`
	Status DatastoreIndexStatus `json:"status,omitempty"`
}

DatastoreIndex is the Schema for the datastore API +k8s:openapi-gen=true

func (*DatastoreIndex) DeepCopy

func (in *DatastoreIndex) DeepCopy() *DatastoreIndex

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

func (*DatastoreIndex) DeepCopyInto

func (in *DatastoreIndex) DeepCopyInto(out *DatastoreIndex)

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

func (*DatastoreIndex) DeepCopyObject

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

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

type DatastoreIndexList

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

DatastoreIndexList contains a list of DatastoreIndex

func (*DatastoreIndexList) DeepCopy

func (in *DatastoreIndexList) DeepCopy() *DatastoreIndexList

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

func (*DatastoreIndexList) DeepCopyInto

func (in *DatastoreIndexList) DeepCopyInto(out *DatastoreIndexList)

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

func (*DatastoreIndexList) DeepCopyObject

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

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

type DatastoreIndexSpec

type DatastoreIndexSpec struct {
	/* Immutable. Policy for including ancestors in the index. Default value: "NONE" Possible values: ["NONE", "ALL_ANCESTORS"]. */
	// +optional
	Ancestor *string `json:"ancestor,omitempty"`

	/* Immutable. The entity kind which the index applies to. */
	Kind string `json:"kind"`

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

	/* Immutable. An ordered list of properties to index on. */
	// +optional
	Properties []IndexProperties `json:"properties,omitempty"`

	/* Immutable. Optional. The service-generated indexId of the resource. Used for acquisition only. Leave unset to create a new resource. */
	// +optional
	ResourceID *string `json:"resourceID,omitempty"`
}

func (*DatastoreIndexSpec) DeepCopy

func (in *DatastoreIndexSpec) DeepCopy() *DatastoreIndexSpec

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

func (*DatastoreIndexSpec) DeepCopyInto

func (in *DatastoreIndexSpec) DeepCopyInto(out *DatastoreIndexSpec)

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

type DatastoreIndexStatus

type DatastoreIndexStatus struct {
	/* Conditions represent the latest available observations of the
	   DatastoreIndex's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The index id. */
	// +optional
	IndexId *string `json:"indexId,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 (*DatastoreIndexStatus) DeepCopy

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

func (*DatastoreIndexStatus) DeepCopyInto

func (in *DatastoreIndexStatus) DeepCopyInto(out *DatastoreIndexStatus)

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

type IndexProperties

type IndexProperties struct {
	/* Immutable. The direction the index should optimize for sorting. Possible values: ["ASCENDING", "DESCENDING"]. */
	Direction string `json:"direction"`

	/* Immutable. The property name to index. */
	Name string `json:"name"`
}

func (*IndexProperties) DeepCopy

func (in *IndexProperties) DeepCopy() *IndexProperties

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

func (*IndexProperties) DeepCopyInto

func (in *IndexProperties) DeepCopyInto(out *IndexProperties)

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