v1alpha1

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=yandex.yandex-cloud.upjet.crossplane.io +versionName=v1alpha1

Index

Constants

View Source
const (
	CRDGroup   = "yandex.yandex-cloud.upjet.crossplane.io"
	CRDVersion = "v1alpha1"
)

Package type metadata.

Variables

View Source
var (
	Function_Kind             = "Function"
	Function_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Function_Kind}.String()
	Function_KindAPIVersion   = Function_Kind + "." + CRDGroupVersion.String()
	Function_GroupVersionKind = CRDGroupVersion.WithKind(Function_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
)

Functions

This section is empty.

Types

type AsyncInvocationInitParameters

type AsyncInvocationInitParameters struct {

	// Maximum number of retries for async invocation
	RetriesCount *float64 `json:"retriesCount,omitempty" tf:"retries_count,omitempty"`

	// Service account used for async invocation
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Target for unsuccessful async invocation
	YmqFailureTarget []YmqFailureTargetInitParameters `json:"ymqFailureTarget,omitempty" tf:"ymq_failure_target,omitempty"`

	// Target for successful async invocation
	YmqSuccessTarget []YmqSuccessTargetInitParameters `json:"ymqSuccessTarget,omitempty" tf:"ymq_success_target,omitempty"`
}

func (*AsyncInvocationInitParameters) DeepCopy

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

func (*AsyncInvocationInitParameters) DeepCopyInto

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

type AsyncInvocationObservation

type AsyncInvocationObservation struct {

	// Maximum number of retries for async invocation
	RetriesCount *float64 `json:"retriesCount,omitempty" tf:"retries_count,omitempty"`

	// Service account used for async invocation
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Target for unsuccessful async invocation
	YmqFailureTarget []YmqFailureTargetObservation `json:"ymqFailureTarget,omitempty" tf:"ymq_failure_target,omitempty"`

	// Target for successful async invocation
	YmqSuccessTarget []YmqSuccessTargetObservation `json:"ymqSuccessTarget,omitempty" tf:"ymq_success_target,omitempty"`
}

func (*AsyncInvocationObservation) DeepCopy

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

func (*AsyncInvocationObservation) DeepCopyInto

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

type AsyncInvocationParameters

type AsyncInvocationParameters struct {

	// Maximum number of retries for async invocation
	// +kubebuilder:validation:Optional
	RetriesCount *float64 `json:"retriesCount,omitempty" tf:"retries_count,omitempty"`

	// Service account used for async invocation
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Target for unsuccessful async invocation
	// +kubebuilder:validation:Optional
	YmqFailureTarget []YmqFailureTargetParameters `json:"ymqFailureTarget,omitempty" tf:"ymq_failure_target,omitempty"`

	// Target for successful async invocation
	// +kubebuilder:validation:Optional
	YmqSuccessTarget []YmqSuccessTargetParameters `json:"ymqSuccessTarget,omitempty" tf:"ymq_success_target,omitempty"`
}

func (*AsyncInvocationParameters) DeepCopy

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

func (*AsyncInvocationParameters) DeepCopyInto

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

type ConnectivityInitParameters

type ConnectivityInitParameters struct {

	// Network the version will have access to. It's essential to specify network with subnets in all availability zones.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`
}

func (*ConnectivityInitParameters) DeepCopy

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

func (*ConnectivityInitParameters) DeepCopyInto

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

type ConnectivityObservation

type ConnectivityObservation struct {

	// Network the version will have access to. It's essential to specify network with subnets in all availability zones.
	NetworkID *string `json:"networkId,omitempty" tf:"network_id,omitempty"`
}

func (*ConnectivityObservation) DeepCopy

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

func (*ConnectivityObservation) DeepCopyInto

func (in *ConnectivityObservation) DeepCopyInto(out *ConnectivityObservation)

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

type ConnectivityParameters

type ConnectivityParameters struct {

	// Network the version will have access to. It's essential to specify network with subnets in all availability zones.
	// +kubebuilder:validation:Optional
	NetworkID *string `json:"networkId" tf:"network_id,omitempty"`
}

func (*ConnectivityParameters) DeepCopy

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

func (*ConnectivityParameters) DeepCopyInto

func (in *ConnectivityParameters) DeepCopyInto(out *ConnectivityParameters)

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

type ContentInitParameters

type ContentInitParameters struct {

	// Filename to zip archive for the version.
	ZipFilename *string `json:"zipFilename,omitempty" tf:"zip_filename,omitempty"`
}

func (*ContentInitParameters) DeepCopy

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

func (*ContentInitParameters) DeepCopyInto

func (in *ContentInitParameters) DeepCopyInto(out *ContentInitParameters)

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

type ContentObservation

type ContentObservation struct {

	// Filename to zip archive for the version.
	ZipFilename *string `json:"zipFilename,omitempty" tf:"zip_filename,omitempty"`
}

func (*ContentObservation) DeepCopy

func (in *ContentObservation) DeepCopy() *ContentObservation

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

func (*ContentObservation) DeepCopyInto

func (in *ContentObservation) DeepCopyInto(out *ContentObservation)

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

type ContentParameters

type ContentParameters struct {

	// Filename to zip archive for the version.
	// +kubebuilder:validation:Optional
	ZipFilename *string `json:"zipFilename" tf:"zip_filename,omitempty"`
}

func (*ContentParameters) DeepCopy

func (in *ContentParameters) DeepCopy() *ContentParameters

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

func (*ContentParameters) DeepCopyInto

func (in *ContentParameters) DeepCopyInto(out *ContentParameters)

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

type Function

type Function struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.entrypoint) || (has(self.initProvider) && has(self.initProvider.entrypoint))",message="spec.forProvider.entrypoint is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memory) || (has(self.initProvider) && has(self.initProvider.memory))",message="spec.forProvider.memory is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.runtime) || (has(self.initProvider) && has(self.initProvider.runtime))",message="spec.forProvider.runtime is a required parameter"
	// +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userHash) || (has(self.initProvider) && has(self.initProvider.userHash))",message="spec.forProvider.userHash is a required parameter"
	Spec   FunctionSpec   `json:"spec"`
	Status FunctionStatus `json:"status,omitempty"`
}

Function is the Schema for the Functions API. Allows management of a Yandex Cloud Function. +kubebuilder:printcolumn:name="SYNCED",type="string",JSONPath=".status.conditions[?(@.type=='Synced')].status" +kubebuilder:printcolumn:name="READY",type="string",JSONPath=".status.conditions[?(@.type=='Ready')].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:resource:scope=Cluster,categories={crossplane,managed,yandex-cloud}

func (*Function) DeepCopy

func (in *Function) DeepCopy() *Function

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

func (*Function) DeepCopyInto

func (in *Function) DeepCopyInto(out *Function)

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

func (*Function) DeepCopyObject

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

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

func (*Function) GetCondition

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

GetCondition of this Function.

func (*Function) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Function

func (*Function) GetDeletionPolicy

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

GetDeletionPolicy of this Function.

func (*Function) GetID

func (tr *Function) GetID() string

GetID returns ID of underlying Terraform resource of this Function

func (*Function) GetInitParameters

func (tr *Function) GetInitParameters() (map[string]any, error)

GetInitParameters of this Function

func (*Function) GetManagementPolicies

func (mg *Function) GetManagementPolicies() xpv1.ManagementPolicies

GetManagementPolicies of this Function.

func (*Function) GetMergedParameters

func (tr *Function) GetMergedParameters(shouldMergeInitProvider bool) (map[string]any, error)

GetInitParameters of this Function

func (*Function) GetObservation

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

GetObservation of this Function

func (*Function) GetParameters

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

GetParameters of this Function

func (*Function) GetProviderConfigReference

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

GetProviderConfigReference of this Function.

func (*Function) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Function.

func (*Function) GetTerraformResourceType

func (mg *Function) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Function

func (*Function) GetTerraformSchemaVersion

func (tr *Function) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Function) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Function.

func (*Function) Hub

func (tr *Function) Hub()

Hub marks this type as a conversion hub.

func (*Function) LateInitialize

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

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

func (*Function) ResolveReferences

func (mg *Function) ResolveReferences(ctx context.Context, c client.Reader) error

ResolveReferences of this Function.

func (*Function) SetConditions

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

SetConditions of this Function.

func (*Function) SetDeletionPolicy

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

SetDeletionPolicy of this Function.

func (*Function) SetManagementPolicies

func (mg *Function) SetManagementPolicies(r xpv1.ManagementPolicies)

SetManagementPolicies of this Function.

func (*Function) SetObservation

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

SetObservation for this Function

func (*Function) SetParameters

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

SetParameters for this Function

func (*Function) SetProviderConfigReference

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

SetProviderConfigReference of this Function.

func (*Function) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Function.

func (*Function) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Function.

type FunctionInitParameters

type FunctionInitParameters struct {

	// Config for asynchronous invocations of Yandex Cloud Function.
	AsyncInvocation []AsyncInvocationInitParameters `json:"asyncInvocation,omitempty" tf:"async_invocation,omitempty"`

	// The maximum number of requests processed by a function instance at the same time.
	Concurrency *float64 `json:"concurrency,omitempty" tf:"concurrency,omitempty"`

	// Function version connectivity. If specified the version will be attached to specified network.
	Connectivity []ConnectivityInitParameters `json:"connectivity,omitempty" tf:"connectivity,omitempty"`

	// Version deployment content for Yandex Cloud Function code. Can be only one package or content section. Either package or content section must be specified.
	Content []ContentInitParameters `json:"content,omitempty" tf:"content,omitempty"`

	// Description of the Yandex Cloud Function
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Entrypoint for Yandex Cloud Function
	Entrypoint *string `json:"entrypoint,omitempty" tf:"entrypoint,omitempty"`

	// A set of key/value environment variables for Yandex Cloud Function
	// +mapType=granular
	Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"`

	// Execution timeout in seconds for Yandex Cloud Function
	ExecutionTimeout *string `json:"executionTimeout,omitempty" tf:"execution_timeout,omitempty"`

	// Folder ID for the Yandex Cloud Function
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A set of key/value label pairs to assign to the Yandex Cloud Function
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Options for logging from Yandex Cloud Function.
	LogOptions []LogOptionsInitParameters `json:"logOptions,omitempty" tf:"log_options,omitempty"`

	// Memory in megabytes (aligned to 128MB) for Yandex Cloud Function
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	// Yandex Cloud Function name used to define trigger
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Version deployment package for Yandex Cloud Function code. Can be only one package or content section. Either package or content section must be specified.
	Package []PackageInitParameters `json:"package,omitempty" tf:"package,omitempty"`

	// Runtime for Yandex Cloud Function
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// Secrets for Yandex Cloud Function.
	Secrets []SecretsInitParameters `json:"secrets,omitempty" tf:"secrets,omitempty"`

	// Service account ID for Yandex Cloud Function
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Storage mounts for Yandex Cloud Function.
	StorageMounts []StorageMountsInitParameters `json:"storageMounts,omitempty" tf:"storage_mounts,omitempty"`

	// Tags for Yandex Cloud Function. Tag "$latest" isn't returned.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Tmpfs size for Yandex Cloud Function.
	TmpfsSize *float64 `json:"tmpfsSize,omitempty" tf:"tmpfs_size,omitempty"`

	// User-defined string for current function version. User must change this string any times when function changed. Function will be updated when hash is changed.
	UserHash *string `json:"userHash,omitempty" tf:"user_hash,omitempty"`
}

func (*FunctionInitParameters) DeepCopy

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

func (*FunctionInitParameters) DeepCopyInto

func (in *FunctionInitParameters) DeepCopyInto(out *FunctionInitParameters)

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

type FunctionList

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

FunctionList contains a list of Functions

func (*FunctionList) DeepCopy

func (in *FunctionList) DeepCopy() *FunctionList

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

func (*FunctionList) DeepCopyInto

func (in *FunctionList) DeepCopyInto(out *FunctionList)

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

func (*FunctionList) DeepCopyObject

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

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

func (*FunctionList) GetItems

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

GetItems of this FunctionList.

type FunctionObservation

type FunctionObservation struct {

	// Config for asynchronous invocations of Yandex Cloud Function.
	AsyncInvocation []AsyncInvocationObservation `json:"asyncInvocation,omitempty" tf:"async_invocation,omitempty"`

	// The maximum number of requests processed by a function instance at the same time.
	Concurrency *float64 `json:"concurrency,omitempty" tf:"concurrency,omitempty"`

	// Function version connectivity. If specified the version will be attached to specified network.
	Connectivity []ConnectivityObservation `json:"connectivity,omitempty" tf:"connectivity,omitempty"`

	// Version deployment content for Yandex Cloud Function code. Can be only one package or content section. Either package or content section must be specified.
	Content []ContentObservation `json:"content,omitempty" tf:"content,omitempty"`

	// Creation timestamp of the Yandex Cloud Function.
	CreatedAt *string `json:"createdAt,omitempty" tf:"created_at,omitempty"`

	// Description of the Yandex Cloud Function
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Entrypoint for Yandex Cloud Function
	Entrypoint *string `json:"entrypoint,omitempty" tf:"entrypoint,omitempty"`

	// A set of key/value environment variables for Yandex Cloud Function
	// +mapType=granular
	Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"`

	// Execution timeout in seconds for Yandex Cloud Function
	ExecutionTimeout *string `json:"executionTimeout,omitempty" tf:"execution_timeout,omitempty"`

	// Folder ID for the Yandex Cloud Function
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Secret's id.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Image size for Yandex Cloud Function.
	ImageSize *float64 `json:"imageSize,omitempty" tf:"image_size,omitempty"`

	// A set of key/value label pairs to assign to the Yandex Cloud Function
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Options for logging from Yandex Cloud Function.
	LogOptions []LogOptionsObservation `json:"logOptions,omitempty" tf:"log_options,omitempty"`

	// Loggroup ID size for Yandex Cloud Function.
	LoggroupID *string `json:"loggroupId,omitempty" tf:"loggroup_id,omitempty"`

	// Memory in megabytes (aligned to 128MB) for Yandex Cloud Function
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	// Yandex Cloud Function name used to define trigger
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Version deployment package for Yandex Cloud Function code. Can be only one package or content section. Either package or content section must be specified.
	Package []PackageObservation `json:"package,omitempty" tf:"package,omitempty"`

	// Runtime for Yandex Cloud Function
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// Secrets for Yandex Cloud Function.
	Secrets []SecretsObservation `json:"secrets,omitempty" tf:"secrets,omitempty"`

	// Service account ID for Yandex Cloud Function
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Storage mounts for Yandex Cloud Function.
	StorageMounts []StorageMountsObservation `json:"storageMounts,omitempty" tf:"storage_mounts,omitempty"`

	// Tags for Yandex Cloud Function. Tag "$latest" isn't returned.
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Tmpfs size for Yandex Cloud Function.
	TmpfsSize *float64 `json:"tmpfsSize,omitempty" tf:"tmpfs_size,omitempty"`

	// User-defined string for current function version. User must change this string any times when function changed. Function will be updated when hash is changed.
	UserHash *string `json:"userHash,omitempty" tf:"user_hash,omitempty"`

	// Version for Yandex Cloud Function.
	Version *string `json:"version,omitempty" tf:"version,omitempty"`
}

func (*FunctionObservation) DeepCopy

func (in *FunctionObservation) DeepCopy() *FunctionObservation

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

func (*FunctionObservation) DeepCopyInto

func (in *FunctionObservation) DeepCopyInto(out *FunctionObservation)

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

type FunctionParameters

type FunctionParameters struct {

	// Config for asynchronous invocations of Yandex Cloud Function.
	// +kubebuilder:validation:Optional
	AsyncInvocation []AsyncInvocationParameters `json:"asyncInvocation,omitempty" tf:"async_invocation,omitempty"`

	// The maximum number of requests processed by a function instance at the same time.
	// +kubebuilder:validation:Optional
	Concurrency *float64 `json:"concurrency,omitempty" tf:"concurrency,omitempty"`

	// Function version connectivity. If specified the version will be attached to specified network.
	// +kubebuilder:validation:Optional
	Connectivity []ConnectivityParameters `json:"connectivity,omitempty" tf:"connectivity,omitempty"`

	// Version deployment content for Yandex Cloud Function code. Can be only one package or content section. Either package or content section must be specified.
	// +kubebuilder:validation:Optional
	Content []ContentParameters `json:"content,omitempty" tf:"content,omitempty"`

	// Description of the Yandex Cloud Function
	// +kubebuilder:validation:Optional
	Description *string `json:"description,omitempty" tf:"description,omitempty"`

	// Entrypoint for Yandex Cloud Function
	// +kubebuilder:validation:Optional
	Entrypoint *string `json:"entrypoint,omitempty" tf:"entrypoint,omitempty"`

	// A set of key/value environment variables for Yandex Cloud Function
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Environment map[string]*string `json:"environment,omitempty" tf:"environment,omitempty"`

	// Execution timeout in seconds for Yandex Cloud Function
	// +kubebuilder:validation:Optional
	ExecutionTimeout *string `json:"executionTimeout,omitempty" tf:"execution_timeout,omitempty"`

	// Folder ID for the Yandex Cloud Function
	// +crossplane:generate:reference:type=github.com/tagesjump/provider-upjet-yc/apis/resourcemanager/v1alpha1.Folder
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Reference to a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDRef *v1.Reference `json:"folderIdRef,omitempty" tf:"-"`

	// Selector for a Folder in resourcemanager to populate folderId.
	// +kubebuilder:validation:Optional
	FolderIDSelector *v1.Selector `json:"folderIdSelector,omitempty" tf:"-"`

	// A set of key/value label pairs to assign to the Yandex Cloud Function
	// +kubebuilder:validation:Optional
	// +mapType=granular
	Labels map[string]*string `json:"labels,omitempty" tf:"labels,omitempty"`

	// Options for logging from Yandex Cloud Function.
	// +kubebuilder:validation:Optional
	LogOptions []LogOptionsParameters `json:"logOptions,omitempty" tf:"log_options,omitempty"`

	// Memory in megabytes (aligned to 128MB) for Yandex Cloud Function
	// +kubebuilder:validation:Optional
	Memory *float64 `json:"memory,omitempty" tf:"memory,omitempty"`

	// Yandex Cloud Function name used to define trigger
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Version deployment package for Yandex Cloud Function code. Can be only one package or content section. Either package or content section must be specified.
	// +kubebuilder:validation:Optional
	Package []PackageParameters `json:"package,omitempty" tf:"package,omitempty"`

	// Runtime for Yandex Cloud Function
	// +kubebuilder:validation:Optional
	Runtime *string `json:"runtime,omitempty" tf:"runtime,omitempty"`

	// Secrets for Yandex Cloud Function.
	// +kubebuilder:validation:Optional
	Secrets []SecretsParameters `json:"secrets,omitempty" tf:"secrets,omitempty"`

	// Service account ID for Yandex Cloud Function
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`

	// Storage mounts for Yandex Cloud Function.
	// +kubebuilder:validation:Optional
	StorageMounts []StorageMountsParameters `json:"storageMounts,omitempty" tf:"storage_mounts,omitempty"`

	// Tags for Yandex Cloud Function. Tag "$latest" isn't returned.
	// +kubebuilder:validation:Optional
	// +listType=set
	Tags []*string `json:"tags,omitempty" tf:"tags,omitempty"`

	// Tmpfs size for Yandex Cloud Function.
	// +kubebuilder:validation:Optional
	TmpfsSize *float64 `json:"tmpfsSize,omitempty" tf:"tmpfs_size,omitempty"`

	// User-defined string for current function version. User must change this string any times when function changed. Function will be updated when hash is changed.
	// +kubebuilder:validation:Optional
	UserHash *string `json:"userHash,omitempty" tf:"user_hash,omitempty"`
}

func (*FunctionParameters) DeepCopy

func (in *FunctionParameters) DeepCopy() *FunctionParameters

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

func (*FunctionParameters) DeepCopyInto

func (in *FunctionParameters) DeepCopyInto(out *FunctionParameters)

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

type FunctionSpec

type FunctionSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     FunctionParameters `json:"forProvider"`
	// THIS IS A BETA FIELD. It will be honored
	// unless the Management Policies feature flag is disabled.
	// InitProvider holds the same fields as ForProvider, with the exception
	// of Identifier and other resource reference fields. The fields that are
	// in InitProvider are merged into ForProvider when the resource is created.
	// The same fields are also added to the terraform ignore_changes hook, to
	// avoid updating them after creation. This is useful for fields that are
	// required on creation, but we do not desire to update them after creation,
	// for example because of an external controller is managing them, like an
	// autoscaler.
	InitProvider FunctionInitParameters `json:"initProvider,omitempty"`
}

FunctionSpec defines the desired state of Function

func (*FunctionSpec) DeepCopy

func (in *FunctionSpec) DeepCopy() *FunctionSpec

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

func (*FunctionSpec) DeepCopyInto

func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)

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

type FunctionStatus

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

FunctionStatus defines the observed state of Function.

func (*FunctionStatus) DeepCopy

func (in *FunctionStatus) DeepCopy() *FunctionStatus

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

func (*FunctionStatus) DeepCopyInto

func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)

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

type LogOptionsInitParameters

type LogOptionsInitParameters struct {

	// Is logging from function disabled
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// Folder ID for the Yandex Cloud Function
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Log entries are written to specified log group
	LogGroupID *string `json:"logGroupId,omitempty" tf:"log_group_id,omitempty"`

	// Minimum log entry level
	MinLevel *string `json:"minLevel,omitempty" tf:"min_level,omitempty"`
}

func (*LogOptionsInitParameters) DeepCopy

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

func (*LogOptionsInitParameters) DeepCopyInto

func (in *LogOptionsInitParameters) DeepCopyInto(out *LogOptionsInitParameters)

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

type LogOptionsObservation

type LogOptionsObservation struct {

	// Is logging from function disabled
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// Folder ID for the Yandex Cloud Function
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Log entries are written to specified log group
	LogGroupID *string `json:"logGroupId,omitempty" tf:"log_group_id,omitempty"`

	// Minimum log entry level
	MinLevel *string `json:"minLevel,omitempty" tf:"min_level,omitempty"`
}

func (*LogOptionsObservation) DeepCopy

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

func (*LogOptionsObservation) DeepCopyInto

func (in *LogOptionsObservation) DeepCopyInto(out *LogOptionsObservation)

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

type LogOptionsParameters

type LogOptionsParameters struct {

	// Is logging from function disabled
	// +kubebuilder:validation:Optional
	Disabled *bool `json:"disabled,omitempty" tf:"disabled,omitempty"`

	// Folder ID for the Yandex Cloud Function
	// +kubebuilder:validation:Optional
	FolderID *string `json:"folderId,omitempty" tf:"folder_id,omitempty"`

	// Log entries are written to specified log group
	// +kubebuilder:validation:Optional
	LogGroupID *string `json:"logGroupId,omitempty" tf:"log_group_id,omitempty"`

	// Minimum log entry level
	// +kubebuilder:validation:Optional
	MinLevel *string `json:"minLevel,omitempty" tf:"min_level,omitempty"`
}

func (*LogOptionsParameters) DeepCopy

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

func (*LogOptionsParameters) DeepCopyInto

func (in *LogOptionsParameters) DeepCopyInto(out *LogOptionsParameters)

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

type PackageInitParameters

type PackageInitParameters struct {

	// Name of the bucket that stores the code for the version.
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`

	// Name of the object in the bucket that stores the code for the version.
	ObjectName *string `json:"objectName,omitempty" tf:"object_name,omitempty"`

	// SHA256 hash of the version deployment package.
	Sha256 *string `json:"sha256,omitempty" tf:"sha_256,omitempty"`
}

func (*PackageInitParameters) DeepCopy

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

func (*PackageInitParameters) DeepCopyInto

func (in *PackageInitParameters) DeepCopyInto(out *PackageInitParameters)

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

type PackageObservation

type PackageObservation struct {

	// Name of the bucket that stores the code for the version.
	BucketName *string `json:"bucketName,omitempty" tf:"bucket_name,omitempty"`

	// Name of the object in the bucket that stores the code for the version.
	ObjectName *string `json:"objectName,omitempty" tf:"object_name,omitempty"`

	// SHA256 hash of the version deployment package.
	Sha256 *string `json:"sha256,omitempty" tf:"sha_256,omitempty"`
}

func (*PackageObservation) DeepCopy

func (in *PackageObservation) DeepCopy() *PackageObservation

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

func (*PackageObservation) DeepCopyInto

func (in *PackageObservation) DeepCopyInto(out *PackageObservation)

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

type PackageParameters

type PackageParameters struct {

	// Name of the bucket that stores the code for the version.
	// +kubebuilder:validation:Optional
	BucketName *string `json:"bucketName" tf:"bucket_name,omitempty"`

	// Name of the object in the bucket that stores the code for the version.
	// +kubebuilder:validation:Optional
	ObjectName *string `json:"objectName" tf:"object_name,omitempty"`

	// SHA256 hash of the version deployment package.
	// +kubebuilder:validation:Optional
	Sha256 *string `json:"sha256,omitempty" tf:"sha_256,omitempty"`
}

func (*PackageParameters) DeepCopy

func (in *PackageParameters) DeepCopy() *PackageParameters

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

func (*PackageParameters) DeepCopyInto

func (in *PackageParameters) DeepCopyInto(out *PackageParameters)

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

type SecretsInitParameters

type SecretsInitParameters struct {

	// Function's environment variable in which secret's value will be stored.
	EnvironmentVariable *string `json:"environmentVariable,omitempty" tf:"environment_variable,omitempty"`

	// Secret's id.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Secret's entries key which value will be stored in environment variable.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Secret's version id.
	VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`
}

func (*SecretsInitParameters) DeepCopy

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

func (*SecretsInitParameters) DeepCopyInto

func (in *SecretsInitParameters) DeepCopyInto(out *SecretsInitParameters)

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

type SecretsObservation

type SecretsObservation struct {

	// Function's environment variable in which secret's value will be stored.
	EnvironmentVariable *string `json:"environmentVariable,omitempty" tf:"environment_variable,omitempty"`

	// Secret's id.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// Secret's entries key which value will be stored in environment variable.
	Key *string `json:"key,omitempty" tf:"key,omitempty"`

	// Secret's version id.
	VersionID *string `json:"versionId,omitempty" tf:"version_id,omitempty"`
}

func (*SecretsObservation) DeepCopy

func (in *SecretsObservation) DeepCopy() *SecretsObservation

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

func (*SecretsObservation) DeepCopyInto

func (in *SecretsObservation) DeepCopyInto(out *SecretsObservation)

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

type SecretsParameters

type SecretsParameters struct {

	// Function's environment variable in which secret's value will be stored.
	// +kubebuilder:validation:Optional
	EnvironmentVariable *string `json:"environmentVariable" tf:"environment_variable,omitempty"`

	// Secret's id.
	// +kubebuilder:validation:Optional
	ID *string `json:"id" tf:"id,omitempty"`

	// Secret's entries key which value will be stored in environment variable.
	// +kubebuilder:validation:Optional
	Key *string `json:"key" tf:"key,omitempty"`

	// Secret's version id.
	// +kubebuilder:validation:Optional
	VersionID *string `json:"versionId" tf:"version_id,omitempty"`
}

func (*SecretsParameters) DeepCopy

func (in *SecretsParameters) DeepCopy() *SecretsParameters

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

func (*SecretsParameters) DeepCopyInto

func (in *SecretsParameters) DeepCopyInto(out *SecretsParameters)

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

type StorageMountsInitParameters

type StorageMountsInitParameters struct {

	// Name of the mounting bucket.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Name of the mount point. The directory where the bucket is mounted will be accessible at the /function/storage/<mount_point> path.
	MountPointName *string `json:"mountPointName,omitempty" tf:"mount_point_name,omitempty"`

	// Prefix within the bucket. If you leave this field empty, the entire bucket will be mounted.
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`

	// Mount the bucket in read-only mode.
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*StorageMountsInitParameters) DeepCopy

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

func (*StorageMountsInitParameters) DeepCopyInto

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

type StorageMountsObservation

type StorageMountsObservation struct {

	// Name of the mounting bucket.
	Bucket *string `json:"bucket,omitempty" tf:"bucket,omitempty"`

	// Name of the mount point. The directory where the bucket is mounted will be accessible at the /function/storage/<mount_point> path.
	MountPointName *string `json:"mountPointName,omitempty" tf:"mount_point_name,omitempty"`

	// Prefix within the bucket. If you leave this field empty, the entire bucket will be mounted.
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`

	// Mount the bucket in read-only mode.
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*StorageMountsObservation) DeepCopy

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

func (*StorageMountsObservation) DeepCopyInto

func (in *StorageMountsObservation) DeepCopyInto(out *StorageMountsObservation)

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

type StorageMountsParameters

type StorageMountsParameters struct {

	// Name of the mounting bucket.
	// +kubebuilder:validation:Optional
	Bucket *string `json:"bucket" tf:"bucket,omitempty"`

	// Name of the mount point. The directory where the bucket is mounted will be accessible at the /function/storage/<mount_point> path.
	// +kubebuilder:validation:Optional
	MountPointName *string `json:"mountPointName" tf:"mount_point_name,omitempty"`

	// Prefix within the bucket. If you leave this field empty, the entire bucket will be mounted.
	// +kubebuilder:validation:Optional
	Prefix *string `json:"prefix,omitempty" tf:"prefix,omitempty"`

	// Mount the bucket in read-only mode.
	// +kubebuilder:validation:Optional
	ReadOnly *bool `json:"readOnly,omitempty" tf:"read_only,omitempty"`
}

func (*StorageMountsParameters) DeepCopy

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

func (*StorageMountsParameters) DeepCopyInto

func (in *StorageMountsParameters) DeepCopyInto(out *StorageMountsParameters)

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

type YmqFailureTargetInitParameters

type YmqFailureTargetInitParameters struct {

	// YMQ ARN
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Service account ID for Yandex Cloud Function
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*YmqFailureTargetInitParameters) DeepCopy

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

func (*YmqFailureTargetInitParameters) DeepCopyInto

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

type YmqFailureTargetObservation

type YmqFailureTargetObservation struct {

	// YMQ ARN
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Service account ID for Yandex Cloud Function
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*YmqFailureTargetObservation) DeepCopy

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

func (*YmqFailureTargetObservation) DeepCopyInto

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

type YmqFailureTargetParameters

type YmqFailureTargetParameters struct {

	// YMQ ARN
	// +kubebuilder:validation:Optional
	Arn *string `json:"arn" tf:"arn,omitempty"`

	// Service account ID for Yandex Cloud Function
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId" tf:"service_account_id,omitempty"`
}

func (*YmqFailureTargetParameters) DeepCopy

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

func (*YmqFailureTargetParameters) DeepCopyInto

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

type YmqSuccessTargetInitParameters

type YmqSuccessTargetInitParameters struct {

	// YMQ ARN
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Service account used for writing result to queue
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*YmqSuccessTargetInitParameters) DeepCopy

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

func (*YmqSuccessTargetInitParameters) DeepCopyInto

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

type YmqSuccessTargetObservation

type YmqSuccessTargetObservation struct {

	// YMQ ARN
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Service account used for writing result to queue
	ServiceAccountID *string `json:"serviceAccountId,omitempty" tf:"service_account_id,omitempty"`
}

func (*YmqSuccessTargetObservation) DeepCopy

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

func (*YmqSuccessTargetObservation) DeepCopyInto

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

type YmqSuccessTargetParameters

type YmqSuccessTargetParameters struct {

	// YMQ ARN
	// +kubebuilder:validation:Optional
	Arn *string `json:"arn" tf:"arn,omitempty"`

	// Service account used for writing result to queue
	// +kubebuilder:validation:Optional
	ServiceAccountID *string `json:"serviceAccountId" tf:"service_account_id,omitempty"`
}

func (*YmqSuccessTargetParameters) DeepCopy

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

func (*YmqSuccessTargetParameters) DeepCopyInto

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