v1beta1

package
v0.30.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Overview

+kubebuilder:object:generate=true +groupName=documentai.gcp.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "documentai.gcp.upbound.io"
	CRDVersion = "v1beta1"
)

Package type metadata.

Variables

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 (
	Processor_Kind             = "Processor"
	Processor_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Processor_Kind}.String()
	Processor_KindAPIVersion   = Processor_Kind + "." + CRDGroupVersion.String()
	Processor_GroupVersionKind = CRDGroupVersion.WithKind(Processor_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type Processor

type Processor struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              ProcessorSpec   `json:"spec"`
	Status            ProcessorStatus `json:"status,omitempty"`
}

Processor is the Schema for the Processors API. The first-class citizen for Document AI. +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,gcp}

func (*Processor) DeepCopy

func (in *Processor) DeepCopy() *Processor

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

func (*Processor) DeepCopyInto

func (in *Processor) DeepCopyInto(out *Processor)

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

func (*Processor) DeepCopyObject

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

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

func (*Processor) GetCondition

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

GetCondition of this Processor.

func (*Processor) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Processor

func (*Processor) GetDeletionPolicy

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

GetDeletionPolicy of this Processor.

func (*Processor) GetID

func (tr *Processor) GetID() string

GetID returns ID of underlying Terraform resource of this Processor

func (*Processor) GetObservation

func (tr *Processor) GetObservation() (map[string]any, error)

GetObservation of this Processor

func (*Processor) GetParameters

func (tr *Processor) GetParameters() (map[string]any, error)

GetParameters of this Processor

func (*Processor) GetProviderConfigReference

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

GetProviderConfigReference of this Processor.

func (*Processor) GetProviderReference

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

GetProviderReference of this Processor. Deprecated: Use GetProviderConfigReference.

func (*Processor) GetPublishConnectionDetailsTo

func (mg *Processor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo

GetPublishConnectionDetailsTo of this Processor.

func (*Processor) GetTerraformResourceType

func (mg *Processor) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Processor

func (*Processor) GetTerraformSchemaVersion

func (tr *Processor) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Processor) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Processor.

func (*Processor) LateInitialize

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

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

func (*Processor) SetConditions

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

SetConditions of this Processor.

func (*Processor) SetDeletionPolicy

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

SetDeletionPolicy of this Processor.

func (*Processor) SetObservation

func (tr *Processor) SetObservation(obs map[string]any) error

SetObservation for this Processor

func (*Processor) SetParameters

func (tr *Processor) SetParameters(params map[string]any) error

SetParameters for this Processor

func (*Processor) SetProviderConfigReference

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

SetProviderConfigReference of this Processor.

func (*Processor) SetProviderReference

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

SetProviderReference of this Processor. Deprecated: Use SetProviderConfigReference.

func (*Processor) SetPublishConnectionDetailsTo

func (mg *Processor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo)

SetPublishConnectionDetailsTo of this Processor.

func (*Processor) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Processor.

type ProcessorList

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

ProcessorList contains a list of Processors

func (*ProcessorList) DeepCopy

func (in *ProcessorList) DeepCopy() *ProcessorList

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

func (*ProcessorList) DeepCopyInto

func (in *ProcessorList) DeepCopyInto(out *ProcessorList)

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

func (*ProcessorList) DeepCopyObject

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

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

func (*ProcessorList) GetItems

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

GetItems of this ProcessorList.

type ProcessorObservation

type ProcessorObservation struct {

	// an identifier for the resource with format projects/{{project}}/locations/{{location}}/processors/{{name}}
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// The resource name of the processor.
	Name *string `json:"name,omitempty" tf:"name,omitempty"`
}

func (*ProcessorObservation) DeepCopy

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

func (*ProcessorObservation) DeepCopyInto

func (in *ProcessorObservation) DeepCopyInto(out *ProcessorObservation)

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

type ProcessorParameters

type ProcessorParameters struct {

	// The display name. Must be unique.
	// +kubebuilder:validation:Required
	DisplayName *string `json:"displayName" tf:"display_name,omitempty"`

	// The KMS key used for encryption/decryption in CMEK scenarios. See https://cloud.google.com/security-key-management.
	// +kubebuilder:validation:Optional
	KMSKeyName *string `json:"kmsKeyName,omitempty" tf:"kms_key_name,omitempty"`

	// The location of the resource.
	// +kubebuilder:validation:Required
	Location *string `json:"location" tf:"location,omitempty"`

	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	// +kubebuilder:validation:Optional
	Project *string `json:"project,omitempty" tf:"project,omitempty"`

	// The type of processor. For possible types see the official list
	// +kubebuilder:validation:Required
	Type *string `json:"type" tf:"type,omitempty"`
}

func (*ProcessorParameters) DeepCopy

func (in *ProcessorParameters) DeepCopy() *ProcessorParameters

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

func (*ProcessorParameters) DeepCopyInto

func (in *ProcessorParameters) DeepCopyInto(out *ProcessorParameters)

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

type ProcessorSpec

type ProcessorSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     ProcessorParameters `json:"forProvider"`
}

ProcessorSpec defines the desired state of Processor

func (*ProcessorSpec) DeepCopy

func (in *ProcessorSpec) DeepCopy() *ProcessorSpec

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

func (*ProcessorSpec) DeepCopyInto

func (in *ProcessorSpec) DeepCopyInto(out *ProcessorSpec)

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

type ProcessorStatus

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

ProcessorStatus defines the observed state of Processor.

func (*ProcessorStatus) DeepCopy

func (in *ProcessorStatus) DeepCopy() *ProcessorStatus

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

func (*ProcessorStatus) DeepCopyInto

func (in *ProcessorStatus) DeepCopyInto(out *ProcessorStatus)

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