v1alpha1

package
v0.2.0-preview Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=firestore.gcp.jet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "firestore.gcp.jet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Document_Kind             = "Document"
	Document_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Document_Kind}.String()
	Document_KindAPIVersion   = Document_Kind + "." + CRDGroupVersion.String()
	Document_GroupVersionKind = CRDGroupVersion.WithKind(Document_Kind)
)

Repository type metadata.

View Source
var (
	// CRDGroupVersion is the API Group Version used to register the objects
	CRDGroupVersion = schema.GroupVersion{Group: CRDGroup, Version: CRDVersion}

	// SchemeBuilder is used to add go types to the GroupVersionKind scheme
	SchemeBuilder = &scheme.Builder{GroupVersion: CRDGroupVersion}

	// AddToScheme adds the types in this group-version to the given scheme.
	AddToScheme = SchemeBuilder.AddToScheme
)
View Source
var (
	Index_Kind             = "Index"
	Index_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Index_Kind}.String()
	Index_KindAPIVersion   = Index_Kind + "." + CRDGroupVersion.String()
	Index_GroupVersionKind = CRDGroupVersion.WithKind(Index_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Document

type Document struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              DocumentSpec   `json:"spec"`
	Status            DocumentStatus `json:"status,omitempty"`
}

Document is the Schema for the Documents API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*Document) DeepCopy

func (in *Document) DeepCopy() *Document

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

func (*Document) DeepCopyInto

func (in *Document) DeepCopyInto(out *Document)

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

func (*Document) DeepCopyObject

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

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

func (*Document) GetCondition

func (mg *Document) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Document.

func (*Document) GetConnectionDetailsMapping

func (tr *Document) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Document

func (*Document) GetDeletionPolicy

func (mg *Document) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Document.

func (*Document) GetID

func (tr *Document) GetID() string

GetID returns ID of underlying Terraform resource of this Document

func (*Document) GetObservation

func (tr *Document) GetObservation() (map[string]interface{}, error)

GetObservation of this Document

func (*Document) GetParameters

func (tr *Document) GetParameters() (map[string]interface{}, error)

GetParameters of this Document

func (*Document) GetProviderConfigReference

func (mg *Document) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Document.

func (*Document) GetProviderReference

func (mg *Document) GetProviderReference() *xpv1.Reference

GetProviderReference of this Document. Deprecated: Use GetProviderConfigReference.

func (*Document) GetTerraformResourceType

func (mg *Document) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Document

func (*Document) GetTerraformSchemaVersion

func (tr *Document) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Document) GetWriteConnectionSecretToReference

func (mg *Document) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Document.

func (*Document) LateInitialize

func (tr *Document) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Document using its observed tfState. returns True if there are any spec changes for the resource.

func (*Document) SetConditions

func (mg *Document) SetConditions(c ...xpv1.Condition)

SetConditions of this Document.

func (*Document) SetDeletionPolicy

func (mg *Document) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Document.

func (*Document) SetObservation

func (tr *Document) SetObservation(obs map[string]interface{}) error

SetObservation for this Document

func (*Document) SetParameters

func (tr *Document) SetParameters(params map[string]interface{}) error

SetParameters for this Document

func (*Document) SetProviderConfigReference

func (mg *Document) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Document.

func (*Document) SetProviderReference

func (mg *Document) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Document. Deprecated: Use SetProviderConfigReference.

func (*Document) SetWriteConnectionSecretToReference

func (mg *Document) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Document.

type DocumentList

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

DocumentList contains a list of Documents

func (*DocumentList) DeepCopy

func (in *DocumentList) DeepCopy() *DocumentList

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

func (*DocumentList) DeepCopyInto

func (in *DocumentList) DeepCopyInto(out *DocumentList)

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

func (*DocumentList) DeepCopyObject

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

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

func (*DocumentList) GetItems

func (l *DocumentList) GetItems() []resource.Managed

GetItems of this DocumentList.

type DocumentObservation

type DocumentObservation struct {
	CreateTime *string `json:"createTime,omitempty" tf:"create_time,omitempty"`

	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	Path *string `json:"path,omitempty" tf:"path,omitempty"`

	UpdateTime *string `json:"updateTime,omitempty" tf:"update_time,omitempty"`
}

func (*DocumentObservation) DeepCopy

func (in *DocumentObservation) DeepCopy() *DocumentObservation

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

func (*DocumentObservation) DeepCopyInto

func (in *DocumentObservation) DeepCopyInto(out *DocumentObservation)

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

type DocumentParameters

type DocumentParameters struct {

	// The collection ID, relative to database. For example: chatrooms or chatrooms/my-document/private-messages.
	// +kubebuilder:validation:Required
	Collection *string `json:"collection" tf:"collection,omitempty"`

	// The Firestore database id. Defaults to '"(default)"'.
	// +kubebuilder:validation:Optional
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// The client-assigned document ID to use for this document during creation.
	// +kubebuilder:validation:Required
	DocumentID *string `json:"documentId" tf:"document_id,omitempty"`

	// The document's [fields](https://cloud.google.com/firestore/docs/reference/rest/v1/projects.databases.documents) formated as a json string.
	// +kubebuilder:validation:Required
	Fields *string `json:"fields" tf:"fields,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`
}

func (*DocumentParameters) DeepCopy

func (in *DocumentParameters) DeepCopy() *DocumentParameters

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

func (*DocumentParameters) DeepCopyInto

func (in *DocumentParameters) DeepCopyInto(out *DocumentParameters)

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

type DocumentSpec

type DocumentSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     DocumentParameters `json:"forProvider"`
}

DocumentSpec defines the desired state of Document

func (*DocumentSpec) DeepCopy

func (in *DocumentSpec) DeepCopy() *DocumentSpec

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

func (*DocumentSpec) DeepCopyInto

func (in *DocumentSpec) DeepCopyInto(out *DocumentSpec)

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

type DocumentStatus

type DocumentStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        DocumentObservation `json:"atProvider,omitempty"`
}

DocumentStatus defines the observed state of Document.

func (*DocumentStatus) DeepCopy

func (in *DocumentStatus) DeepCopy() *DocumentStatus

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

func (*DocumentStatus) DeepCopyInto

func (in *DocumentStatus) DeepCopyInto(out *DocumentStatus)

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

type FieldsObservation

type FieldsObservation struct {
}

func (*FieldsObservation) DeepCopy

func (in *FieldsObservation) DeepCopy() *FieldsObservation

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

func (*FieldsObservation) DeepCopyInto

func (in *FieldsObservation) DeepCopyInto(out *FieldsObservation)

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

type FieldsParameters

type FieldsParameters struct {

	// Indicates that this field supports operations on arrayValues. Only one of 'order' and 'arrayConfig' can
	// be specified. Possible values: ["CONTAINS"]
	// +kubebuilder:validation:Optional
	ArrayConfig *string `json:"arrayConfig,omitempty" tf:"array_config,omitempty"`

	// Name of the field.
	// +kubebuilder:validation:Optional
	FieldPath *string `json:"fieldPath,omitempty" tf:"field_path,omitempty"`

	// Indicates that this field supports ordering by the specified order or comparing using =, <, <=, >, >=.
	// Only one of 'order' and 'arrayConfig' can be specified. Possible values: ["ASCENDING", "DESCENDING"]
	// +kubebuilder:validation:Optional
	Order *string `json:"order,omitempty" tf:"order,omitempty"`
}

func (*FieldsParameters) DeepCopy

func (in *FieldsParameters) DeepCopy() *FieldsParameters

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

func (*FieldsParameters) DeepCopyInto

func (in *FieldsParameters) DeepCopyInto(out *FieldsParameters)

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

type Index

type Index struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              IndexSpec   `json:"spec"`
	Status            IndexStatus `json:"status,omitempty"`
}

Index is the Schema for the Indexs API +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].status" +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name" +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp" +kubebuilder:subresource:status +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,gcpjet}

func (*Index) DeepCopy

func (in *Index) DeepCopy() *Index

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

func (*Index) DeepCopyInto

func (in *Index) DeepCopyInto(out *Index)

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

func (*Index) DeepCopyObject

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

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

func (*Index) GetCondition

func (mg *Index) GetCondition(ct xpv1.ConditionType) xpv1.Condition

GetCondition of this Index.

func (*Index) GetConnectionDetailsMapping

func (tr *Index) GetConnectionDetailsMapping() map[string]string

GetConnectionDetailsMapping for this Index

func (*Index) GetDeletionPolicy

func (mg *Index) GetDeletionPolicy() xpv1.DeletionPolicy

GetDeletionPolicy of this Index.

func (*Index) GetID

func (tr *Index) GetID() string

GetID returns ID of underlying Terraform resource of this Index

func (*Index) GetObservation

func (tr *Index) GetObservation() (map[string]interface{}, error)

GetObservation of this Index

func (*Index) GetParameters

func (tr *Index) GetParameters() (map[string]interface{}, error)

GetParameters of this Index

func (*Index) GetProviderConfigReference

func (mg *Index) GetProviderConfigReference() *xpv1.Reference

GetProviderConfigReference of this Index.

func (*Index) GetProviderReference

func (mg *Index) GetProviderReference() *xpv1.Reference

GetProviderReference of this Index. Deprecated: Use GetProviderConfigReference.

func (*Index) GetTerraformResourceType

func (mg *Index) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Index

func (*Index) GetTerraformSchemaVersion

func (tr *Index) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Index) GetWriteConnectionSecretToReference

func (mg *Index) GetWriteConnectionSecretToReference() *xpv1.SecretReference

GetWriteConnectionSecretToReference of this Index.

func (*Index) LateInitialize

func (tr *Index) LateInitialize(attrs []byte) (bool, error)

LateInitialize this Index using its observed tfState. returns True if there are any spec changes for the resource.

func (*Index) SetConditions

func (mg *Index) SetConditions(c ...xpv1.Condition)

SetConditions of this Index.

func (*Index) SetDeletionPolicy

func (mg *Index) SetDeletionPolicy(r xpv1.DeletionPolicy)

SetDeletionPolicy of this Index.

func (*Index) SetObservation

func (tr *Index) SetObservation(obs map[string]interface{}) error

SetObservation for this Index

func (*Index) SetParameters

func (tr *Index) SetParameters(params map[string]interface{}) error

SetParameters for this Index

func (*Index) SetProviderConfigReference

func (mg *Index) SetProviderConfigReference(r *xpv1.Reference)

SetProviderConfigReference of this Index.

func (*Index) SetProviderReference

func (mg *Index) SetProviderReference(r *xpv1.Reference)

SetProviderReference of this Index. Deprecated: Use SetProviderConfigReference.

func (*Index) SetWriteConnectionSecretToReference

func (mg *Index) SetWriteConnectionSecretToReference(r *xpv1.SecretReference)

SetWriteConnectionSecretToReference of this Index.

type IndexList

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

IndexList contains a list of Indexs

func (*IndexList) DeepCopy

func (in *IndexList) DeepCopy() *IndexList

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

func (*IndexList) DeepCopyInto

func (in *IndexList) DeepCopyInto(out *IndexList)

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

func (*IndexList) DeepCopyObject

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

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

func (*IndexList) GetItems

func (l *IndexList) GetItems() []resource.Managed

GetItems of this IndexList.

type IndexObservation

type IndexObservation struct {
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*IndexObservation) DeepCopy

func (in *IndexObservation) DeepCopy() *IndexObservation

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

func (*IndexObservation) DeepCopyInto

func (in *IndexObservation) DeepCopyInto(out *IndexObservation)

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

type IndexParameters

type IndexParameters struct {

	// The collection being indexed.
	// +kubebuilder:validation:Required
	Collection *string `json:"collection" tf:"collection,omitempty"`

	// The Firestore database id. Defaults to '"(default)"'.
	// +kubebuilder:validation:Optional
	Database *string `json:"database,omitempty" tf:"database,omitempty"`

	// The fields supported by this index. The last field entry is always for
	// the field path '__name__'. If, on creation, '__name__' was not
	// specified as the last field, it will be added automatically with the
	// same direction as that of the last field defined. If the final field
	// in a composite index is not directional, the '__name__' will be
	// ordered '"ASCENDING"' (unless explicitly specified otherwise).
	// +kubebuilder:validation:Required
	Fields []FieldsParameters `json:"fields" tf:"fields,omitempty"`

	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The scope at which a query is run. Default value: "COLLECTION" Possible values: ["COLLECTION", "COLLECTION_GROUP"]
	// +kubebuilder:validation:Optional
	QueryScope *string `json:"queryScope,omitempty" tf:"query_scope,omitempty"`
}

func (*IndexParameters) DeepCopy

func (in *IndexParameters) DeepCopy() *IndexParameters

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

func (*IndexParameters) DeepCopyInto

func (in *IndexParameters) DeepCopyInto(out *IndexParameters)

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

type IndexSpec

type IndexSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     IndexParameters `json:"forProvider"`
}

IndexSpec defines the desired state of Index

func (*IndexSpec) DeepCopy

func (in *IndexSpec) DeepCopy() *IndexSpec

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

func (*IndexSpec) DeepCopyInto

func (in *IndexSpec) DeepCopyInto(out *IndexSpec)

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

type IndexStatus

type IndexStatus struct {
	v1.ResourceStatus `json:",inline"`
	AtProvider        IndexObservation `json:"atProvider,omitempty"`
}

IndexStatus defines the observed state of Index.

func (*IndexStatus) DeepCopy

func (in *IndexStatus) DeepCopy() *IndexStatus

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

func (*IndexStatus) DeepCopyInto

func (in *IndexStatus) DeepCopyInto(out *IndexStatus)

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