v1beta1

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for bigtable/v1beta1 API group

Package v1beta1 contains API Schema definitions for the bigtable v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/bigtable +k8s:defaulter-gen=TypeMeta +groupName=bigtable.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: "bigtable.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

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

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

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

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

Functions

This section is empty.

Types

type BigtableAppProfile

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

	Spec   BigtableAppProfileSpec   `json:"spec,omitempty"`
	Status BigtableAppProfileStatus `json:"status,omitempty"`
}

BigtableAppProfile is the Schema for the bigtable API +k8s:openapi-gen=true

func (*BigtableAppProfile) DeepCopy

func (in *BigtableAppProfile) DeepCopy() *BigtableAppProfile

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

func (*BigtableAppProfile) DeepCopyInto

func (in *BigtableAppProfile) DeepCopyInto(out *BigtableAppProfile)

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

func (*BigtableAppProfile) DeepCopyObject

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

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

type BigtableAppProfileList

type BigtableAppProfileList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []BigtableAppProfile `json:"items"`
}

BigtableAppProfileList contains a list of BigtableAppProfile

func (*BigtableAppProfileList) DeepCopy

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

func (*BigtableAppProfileList) DeepCopyInto

func (in *BigtableAppProfileList) DeepCopyInto(out *BigtableAppProfileList)

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

func (*BigtableAppProfileList) DeepCopyObject

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

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

type BigtableAppProfileSpec

type BigtableAppProfileSpec struct {
	/* Long form description of the use case for this app profile. */
	Description string `json:"description,omitempty"`
	/* The instance to create the app profile within. */
	InstanceRef v1alpha1.ResourceRef `json:"instanceRef,omitempty"`
	/* Immutable. If true, read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available
	in the event of transient errors or delays. Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes
	consistency to improve availability. */
	MultiClusterRoutingUseAny bool `json:"multiClusterRoutingUseAny,omitempty"`
	/* Immutable. Optional. The appProfileId of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	ResourceID string `json:"resourceID,omitempty"`
	/* Use a single-cluster routing policy. */
	SingleClusterRouting SingleClusterRouting `json:"singleClusterRouting,omitempty"`
}

func (*BigtableAppProfileSpec) DeepCopy

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

func (*BigtableAppProfileSpec) DeepCopyInto

func (in *BigtableAppProfileSpec) DeepCopyInto(out *BigtableAppProfileSpec)

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

type BigtableAppProfileStatus

type BigtableAppProfileStatus struct {
	/* Conditions represents the latest available observations of the
	   BigtableAppProfile's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The unique name of the requested app profile. Values are of the form 'projects/<project>/instances/<instance>/appProfiles/<appProfileId>'. */
	Name string `json:"name,omitempty"`
}

func (*BigtableAppProfileStatus) DeepCopy

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

func (*BigtableAppProfileStatus) DeepCopyInto

func (in *BigtableAppProfileStatus) DeepCopyInto(out *BigtableAppProfileStatus)

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

type BigtableGCPolicy

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

	Spec   BigtableGCPolicySpec   `json:"spec,omitempty"`
	Status BigtableGCPolicyStatus `json:"status,omitempty"`
}

BigtableGCPolicy is the Schema for the bigtable API +k8s:openapi-gen=true

func (*BigtableGCPolicy) DeepCopy

func (in *BigtableGCPolicy) DeepCopy() *BigtableGCPolicy

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

func (*BigtableGCPolicy) DeepCopyInto

func (in *BigtableGCPolicy) DeepCopyInto(out *BigtableGCPolicy)

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

func (*BigtableGCPolicy) DeepCopyObject

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

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

type BigtableGCPolicyList

type BigtableGCPolicyList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []BigtableGCPolicy `json:"items"`
}

BigtableGCPolicyList contains a list of BigtableGCPolicy

func (*BigtableGCPolicyList) DeepCopy

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

func (*BigtableGCPolicyList) DeepCopyInto

func (in *BigtableGCPolicyList) DeepCopyInto(out *BigtableGCPolicyList)

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

func (*BigtableGCPolicyList) DeepCopyObject

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

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

type BigtableGCPolicySpec

type BigtableGCPolicySpec struct {
	/* Immutable. The name of the column family. */
	ColumnFamily string `json:"columnFamily,omitempty"`
	/* The name of the Bigtable instance. */
	InstanceRef v1alpha1.ResourceRef `json:"instanceRef,omitempty"`
	/* Immutable. GC policy that applies to all cells older than the given age. */
	MaxAge []MaxAge `json:"maxAge,omitempty"`
	/* Immutable. GC policy that applies to all versions of a cell except for the most recent. */
	MaxVersion []MaxVersion `json:"maxVersion,omitempty"`
	/* Immutable. If multiple policies are set, you should choose between UNION OR INTERSECTION. */
	Mode string `json:"mode,omitempty"`
	/* The name of the table. */
	TableRef v1alpha1.ResourceRef `json:"tableRef,omitempty"`
}

func (*BigtableGCPolicySpec) DeepCopy

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

func (*BigtableGCPolicySpec) DeepCopyInto

func (in *BigtableGCPolicySpec) DeepCopyInto(out *BigtableGCPolicySpec)

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

type BigtableGCPolicyStatus

type BigtableGCPolicyStatus struct {
	/* Conditions represents the latest available observations of the
	   BigtableGCPolicy's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
}

func (*BigtableGCPolicyStatus) DeepCopy

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

func (*BigtableGCPolicyStatus) DeepCopyInto

func (in *BigtableGCPolicyStatus) DeepCopyInto(out *BigtableGCPolicyStatus)

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

type BigtableInstance

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

	Spec   BigtableInstanceSpec   `json:"spec,omitempty"`
	Status BigtableInstanceStatus `json:"status,omitempty"`
}

BigtableInstance is the Schema for the bigtable API +k8s:openapi-gen=true

func (*BigtableInstance) DeepCopy

func (in *BigtableInstance) DeepCopy() *BigtableInstance

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

func (*BigtableInstance) DeepCopyInto

func (in *BigtableInstance) DeepCopyInto(out *BigtableInstance)

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

func (*BigtableInstance) DeepCopyObject

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

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

type BigtableInstanceList

type BigtableInstanceList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []BigtableInstance `json:"items"`
}

BigtableInstanceList contains a list of BigtableInstance

func (*BigtableInstanceList) DeepCopy

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

func (*BigtableInstanceList) DeepCopyInto

func (in *BigtableInstanceList) DeepCopyInto(out *BigtableInstanceList)

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

func (*BigtableInstanceList) DeepCopyObject

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

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

type BigtableInstanceSpec

type BigtableInstanceSpec struct {
	/* A block of cluster configuration options. This can be specified at least once. */
	Cluster []Cluster `json:"cluster,omitempty"`
	/*  */
	DeletionProtection bool `json:"deletionProtection,omitempty"`
	/* The human-readable display name of the Bigtable instance. Defaults to the instance name. */
	DisplayName string `json:"displayName,omitempty"`
	/* DEPRECATED — It is recommended to leave this field unspecified since the distinction between "DEVELOPMENT" and "PRODUCTION" instances is going away, and all instances will become "PRODUCTION" instances. This means that new and existing "DEVELOPMENT" instances will be converted to "PRODUCTION" instances. It is recommended for users to use "PRODUCTION" instances in any case, since a 1-node "PRODUCTION" instance is functionally identical to a "DEVELOPMENT" instance, but without the accompanying restrictions. The instance type to create. One of "DEVELOPMENT" or "PRODUCTION". Defaults to "PRODUCTION". */
	InstanceType string `json:"instanceType,omitempty"`
	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	ResourceID string `json:"resourceID,omitempty"`
}

func (*BigtableInstanceSpec) DeepCopy

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

func (*BigtableInstanceSpec) DeepCopyInto

func (in *BigtableInstanceSpec) DeepCopyInto(out *BigtableInstanceSpec)

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

type BigtableInstanceStatus

type BigtableInstanceStatus struct {
	/* Conditions represents the latest available observations of the
	   BigtableInstance's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
}

func (*BigtableInstanceStatus) DeepCopy

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

func (*BigtableInstanceStatus) DeepCopyInto

func (in *BigtableInstanceStatus) DeepCopyInto(out *BigtableInstanceStatus)

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

type BigtableTable

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

	Spec   BigtableTableSpec   `json:"spec,omitempty"`
	Status BigtableTableStatus `json:"status,omitempty"`
}

BigtableTable is the Schema for the bigtable API +k8s:openapi-gen=true

func (*BigtableTable) DeepCopy

func (in *BigtableTable) DeepCopy() *BigtableTable

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

func (*BigtableTable) DeepCopyInto

func (in *BigtableTable) DeepCopyInto(out *BigtableTable)

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

func (*BigtableTable) DeepCopyObject

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

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

type BigtableTableList

type BigtableTableList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []BigtableTable `json:"items"`
}

BigtableTableList contains a list of BigtableTable

func (*BigtableTableList) DeepCopy

func (in *BigtableTableList) DeepCopy() *BigtableTableList

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

func (*BigtableTableList) DeepCopyInto

func (in *BigtableTableList) DeepCopyInto(out *BigtableTableList)

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

func (*BigtableTableList) DeepCopyObject

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

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

type BigtableTableSpec

type BigtableTableSpec struct {
	/* A group of columns within a table which share a common configuration. This can be specified multiple times. */
	ColumnFamily []ColumnFamily `json:"columnFamily,omitempty"`
	/* The name of the Bigtable instance. */
	InstanceRef v1alpha1.ResourceRef `json:"instanceRef,omitempty"`
	/* Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of `metadata.name` is used as the default. */
	ResourceID string `json:"resourceID,omitempty"`
	/*  */
	SplitKeys []string `json:"splitKeys,omitempty"`
}

func (*BigtableTableSpec) DeepCopy

func (in *BigtableTableSpec) DeepCopy() *BigtableTableSpec

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

func (*BigtableTableSpec) DeepCopyInto

func (in *BigtableTableSpec) DeepCopyInto(out *BigtableTableSpec)

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

type BigtableTableStatus

type BigtableTableStatus struct {
	/* Conditions represents the latest available observations of the
	   BigtableTable's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
}

func (*BigtableTableStatus) DeepCopy

func (in *BigtableTableStatus) DeepCopy() *BigtableTableStatus

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

func (*BigtableTableStatus) DeepCopyInto

func (in *BigtableTableStatus) DeepCopyInto(out *BigtableTableStatus)

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

type Cluster

type Cluster struct {
	/* The ID of the Cloud Bigtable cluster. */
	ClusterId string `json:"clusterId,omitempty"`
	/* The number of nodes in your Cloud Bigtable cluster. For PRODUCTION instances where the numNodes will be managed by Config Connector, this field is required with a minimum of 1. For a DEVELOPMENT instance or for an existing instance where the numNodes is managed outside of Config Connector, this field must be left unset. */
	NumNodes int `json:"numNodes,omitempty"`
	/* The storage type to use. One of "SSD" or "HDD". Defaults to "SSD". */
	StorageType string `json:"storageType,omitempty"`
	/* The zone to create the Cloud Bigtable cluster in. Each cluster must have a different zone in the same region. Zones that support Bigtable instances are noted on the Cloud Bigtable locations page. */
	Zone string `json:"zone,omitempty"`
}

func (*Cluster) DeepCopy

func (in *Cluster) DeepCopy() *Cluster

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

func (*Cluster) DeepCopyInto

func (in *Cluster) DeepCopyInto(out *Cluster)

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

type ColumnFamily

type ColumnFamily struct {
	/* The name of the column family. */
	Family string `json:"family,omitempty"`
}

func (*ColumnFamily) DeepCopy

func (in *ColumnFamily) DeepCopy() *ColumnFamily

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

func (*ColumnFamily) DeepCopyInto

func (in *ColumnFamily) DeepCopyInto(out *ColumnFamily)

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

type MaxAge

type MaxAge struct {
	/* DEPRECATED — Deprecated in favor of duration. Number of days before applying GC policy. */
	Days int `json:"days,omitempty"`
	/* Duration before applying GC policy */
	Duration string `json:"duration,omitempty"`
}

func (*MaxAge) DeepCopy

func (in *MaxAge) DeepCopy() *MaxAge

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

func (*MaxAge) DeepCopyInto

func (in *MaxAge) DeepCopyInto(out *MaxAge)

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

type MaxVersion

type MaxVersion struct {
	/* Number of version before applying the GC policy. */
	Number int `json:"number,omitempty"`
}

func (*MaxVersion) DeepCopy

func (in *MaxVersion) DeepCopy() *MaxVersion

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

func (*MaxVersion) DeepCopyInto

func (in *MaxVersion) DeepCopyInto(out *MaxVersion)

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

type SingleClusterRouting

type SingleClusterRouting struct {
	/* If true, CheckAndMutateRow and ReadModifyWriteRow requests are allowed by this app profile.
	It is unsafe to send these requests to the same table/row/column in multiple clusters. */
	AllowTransactionalWrites bool `json:"allowTransactionalWrites,omitempty"`
	/* The cluster to which read/write requests should be routed. */
	ClusterId string `json:"clusterId,omitempty"`
}

func (*SingleClusterRouting) DeepCopy

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

func (*SingleClusterRouting) DeepCopyInto

func (in *SingleClusterRouting) DeepCopyInto(out *SingleClusterRouting)

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