v1alpha1

package
v1.116.0 Latest Latest
Warning

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

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

Documentation

Overview

Generate deepcopy object for workflows/v1alpha1 API group

Package v1alpha1 contains API Schema definitions for the workflows 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/workflows +k8s:defaulter-gen=TypeMeta +groupName=workflows.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: "workflows.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

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

Functions

This section is empty.

Types

type WorkflowsWorkflow

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

	Spec   WorkflowsWorkflowSpec   `json:"spec,omitempty"`
	Status WorkflowsWorkflowStatus `json:"status,omitempty"`
}

WorkflowsWorkflow is the Schema for the workflows API +k8s:openapi-gen=true

func (*WorkflowsWorkflow) DeepCopy

func (in *WorkflowsWorkflow) DeepCopy() *WorkflowsWorkflow

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

func (*WorkflowsWorkflow) DeepCopyInto

func (in *WorkflowsWorkflow) DeepCopyInto(out *WorkflowsWorkflow)

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

func (*WorkflowsWorkflow) DeepCopyObject

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

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

type WorkflowsWorkflowList

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

WorkflowsWorkflowList contains a list of WorkflowsWorkflow

func (*WorkflowsWorkflowList) DeepCopy

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

func (*WorkflowsWorkflowList) DeepCopyInto

func (in *WorkflowsWorkflowList) DeepCopyInto(out *WorkflowsWorkflowList)

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

func (*WorkflowsWorkflowList) DeepCopyObject

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

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

type WorkflowsWorkflowSpec

type WorkflowsWorkflowSpec struct {
	/* The KMS key used to encrypt workflow and execution data.

	Format: projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}. */
	// +optional
	CryptoKeyName *string `json:"cryptoKeyName,omitempty"`

	/* Description of the workflow provided by the user. Must be at most 1000 unicode characters long. */
	// +optional
	Description *string `json:"description,omitempty"`

	/* Immutable. */
	// +optional
	NamePrefix *string `json:"namePrefix,omitempty"`

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

	/* Immutable. The region of the workflow. */
	Region string `json:"region"`

	/* Immutable. Optional. The name 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"`

	/* Name of the service account associated with the latest workflow version. This service
	account represents the identity of the workflow and determines what permissions the workflow has.
	Format: projects/{project}/serviceAccounts/{account} or {account}.
	Using - as a wildcard for the {project} or not providing one at all will infer the project from the account.
	The {account} value can be the email address or the unique_id of the service account.
	If not provided, workflow will use the project's default service account.
	Modifying this field for an existing workflow results in a new workflow revision. */
	// +optional
	ServiceAccount *string `json:"serviceAccount,omitempty"`

	/* Workflow code to be executed. The size limit is 32KB. */
	// +optional
	SourceContents *string `json:"sourceContents,omitempty"`
}

func (*WorkflowsWorkflowSpec) DeepCopy

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

func (*WorkflowsWorkflowSpec) DeepCopyInto

func (in *WorkflowsWorkflowSpec) DeepCopyInto(out *WorkflowsWorkflowSpec)

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

type WorkflowsWorkflowStatus

type WorkflowsWorkflowStatus struct {
	/* Conditions represent the latest available observations of the
	   WorkflowsWorkflow's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* The timestamp of when the workflow was created in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. */
	// +optional
	CreateTime *string `json:"createTime,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 *int `json:"observedGeneration,omitempty"`

	/* The revision of the workflow. A new one is generated if the service account or source contents is changed. */
	// +optional
	RevisionId *string `json:"revisionId,omitempty"`

	/* State of the workflow deployment. */
	// +optional
	State *string `json:"state,omitempty"`

	/* The timestamp of when the workflow was last updated in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. */
	// +optional
	UpdateTime *string `json:"updateTime,omitempty"`
}

func (*WorkflowsWorkflowStatus) DeepCopy

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

func (*WorkflowsWorkflowStatus) DeepCopyInto

func (in *WorkflowsWorkflowStatus) DeepCopyInto(out *WorkflowsWorkflowStatus)

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