v1beta1

package
v0.31.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

+kubebuilder:object:generate=true +groupName=datasync.aws.upbound.io +versionName=v1beta1

Index

Constants

View Source
const (
	CRDGroup   = "datasync.aws.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 (
	LocationS3_Kind             = "LocationS3"
	LocationS3_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: LocationS3_Kind}.String()
	LocationS3_KindAPIVersion   = LocationS3_Kind + "." + CRDGroupVersion.String()
	LocationS3_GroupVersionKind = CRDGroupVersion.WithKind(LocationS3_Kind)
)

Repository type metadata.

View Source
var (
	Task_Kind             = "Task"
	Task_GroupKind        = schema.GroupKind{Group: CRDGroup, Kind: Task_Kind}.String()
	Task_KindAPIVersion   = Task_Kind + "." + CRDGroupVersion.String()
	Task_GroupVersionKind = CRDGroupVersion.WithKind(Task_Kind)
)

Repository type metadata.

Functions

This section is empty.

Types

type ExcludesObservation

type ExcludesObservation struct {
}

func (*ExcludesObservation) DeepCopy

func (in *ExcludesObservation) DeepCopy() *ExcludesObservation

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

func (*ExcludesObservation) DeepCopyInto

func (in *ExcludesObservation) DeepCopyInto(out *ExcludesObservation)

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

type ExcludesParameters

type ExcludesParameters struct {

	// The type of filter rule to apply. Valid values: SIMPLE_PATTERN.
	// +kubebuilder:validation:Optional
	FilterType *string `json:"filterType,omitempty" tf:"filter_type,omitempty"`

	// A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*ExcludesParameters) DeepCopy

func (in *ExcludesParameters) DeepCopy() *ExcludesParameters

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

func (*ExcludesParameters) DeepCopyInto

func (in *ExcludesParameters) DeepCopyInto(out *ExcludesParameters)

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

type IncludesObservation

type IncludesObservation struct {
}

func (*IncludesObservation) DeepCopy

func (in *IncludesObservation) DeepCopy() *IncludesObservation

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

func (*IncludesObservation) DeepCopyInto

func (in *IncludesObservation) DeepCopyInto(out *IncludesObservation)

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

type IncludesParameters

type IncludesParameters struct {

	// The type of filter rule to apply. Valid values: SIMPLE_PATTERN.
	// +kubebuilder:validation:Optional
	FilterType *string `json:"filterType,omitempty" tf:"filter_type,omitempty"`

	// A single filter string that consists of the patterns to exclude. The patterns are delimited by "|" (that is, a pipe), for example: /folder1|/folder2
	// +kubebuilder:validation:Optional
	Value *string `json:"value,omitempty" tf:"value,omitempty"`
}

func (*IncludesParameters) DeepCopy

func (in *IncludesParameters) DeepCopy() *IncludesParameters

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

func (*IncludesParameters) DeepCopyInto

func (in *IncludesParameters) DeepCopyInto(out *IncludesParameters)

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

type LocationS3

type LocationS3 struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              LocationS3Spec   `json:"spec"`
	Status            LocationS3Status `json:"status,omitempty"`
}

LocationS3 is the Schema for the LocationS3s API. Manages an AWS DataSync S3 Location +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,aws}

func (*LocationS3) DeepCopy

func (in *LocationS3) DeepCopy() *LocationS3

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

func (*LocationS3) DeepCopyInto

func (in *LocationS3) DeepCopyInto(out *LocationS3)

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

func (*LocationS3) DeepCopyObject

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

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

func (*LocationS3) GetCondition

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

GetCondition of this LocationS3.

func (*LocationS3) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this LocationS3

func (*LocationS3) GetDeletionPolicy

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

GetDeletionPolicy of this LocationS3.

func (*LocationS3) GetID

func (tr *LocationS3) GetID() string

GetID returns ID of underlying Terraform resource of this LocationS3

func (*LocationS3) GetObservation

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

GetObservation of this LocationS3

func (*LocationS3) GetParameters

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

GetParameters of this LocationS3

func (*LocationS3) GetProviderConfigReference

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

GetProviderConfigReference of this LocationS3.

func (*LocationS3) GetProviderReference

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

GetProviderReference of this LocationS3. Deprecated: Use GetProviderConfigReference.

func (*LocationS3) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this LocationS3.

func (*LocationS3) GetTerraformResourceType

func (mg *LocationS3) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this LocationS3

func (*LocationS3) GetTerraformSchemaVersion

func (tr *LocationS3) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*LocationS3) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this LocationS3.

func (*LocationS3) LateInitialize

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

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

func (*LocationS3) ResolveReferences

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

ResolveReferences of this LocationS3.

func (*LocationS3) SetConditions

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

SetConditions of this LocationS3.

func (*LocationS3) SetDeletionPolicy

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

SetDeletionPolicy of this LocationS3.

func (*LocationS3) SetObservation

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

SetObservation for this LocationS3

func (*LocationS3) SetParameters

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

SetParameters for this LocationS3

func (*LocationS3) SetProviderConfigReference

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

SetProviderConfigReference of this LocationS3.

func (*LocationS3) SetProviderReference

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

SetProviderReference of this LocationS3. Deprecated: Use SetProviderConfigReference.

func (*LocationS3) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this LocationS3.

func (*LocationS3) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this LocationS3.

type LocationS3List

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

LocationS3List contains a list of LocationS3s

func (*LocationS3List) DeepCopy

func (in *LocationS3List) DeepCopy() *LocationS3List

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

func (*LocationS3List) DeepCopyInto

func (in *LocationS3List) DeepCopyInto(out *LocationS3List)

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

func (*LocationS3List) DeepCopyObject

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

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

func (*LocationS3List) GetItems

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

GetItems of this LocationS3List.

type LocationS3Observation

type LocationS3Observation struct {

	// Amazon Resource Name (ARN) of the DataSync Location.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Amazon Resource Name (ARN) of the DataSync Location.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`

	URI *string `json:"uri,omitempty" tf:"uri,omitempty"`
}

func (*LocationS3Observation) DeepCopy

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

func (*LocationS3Observation) DeepCopyInto

func (in *LocationS3Observation) DeepCopyInto(out *LocationS3Observation)

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

type LocationS3Parameters

type LocationS3Parameters struct {

	// A list of DataSync Agent ARNs with which this location will be associated.
	// +kubebuilder:validation:Optional
	AgentArns []*string `json:"agentArns,omitempty" tf:"agent_arns,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Amazon Resource Name (ARN) of the S3 Bucket.
	// +crossplane:generate:reference:type=github.com/dkb-bank/official-provider-aws/apis/s3/v1beta1.Bucket
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	S3BucketArn *string `json:"s3BucketArn,omitempty" tf:"s3_bucket_arn,omitempty"`

	// Reference to a Bucket in s3 to populate s3BucketArn.
	// +kubebuilder:validation:Optional
	S3BucketArnRef *v1.Reference `json:"s3BucketArnRef,omitempty" tf:"-"`

	// Selector for a Bucket in s3 to populate s3BucketArn.
	// +kubebuilder:validation:Optional
	S3BucketArnSelector *v1.Selector `json:"s3BucketArnSelector,omitempty" tf:"-"`

	// Configuration block containing information for connecting to S3.
	// +kubebuilder:validation:Required
	S3Config []S3ConfigParameters `json:"s3Config" tf:"s3_config,omitempty"`

	// The Amazon S3 storage class that you want to store your files in when this location is used as a task destination. Valid values
	// +kubebuilder:validation:Optional
	S3StorageClass *string `json:"s3StorageClass,omitempty" tf:"s3_storage_class,omitempty"`

	// Prefix to perform actions as source or destination.
	// +kubebuilder:validation:Required
	Subdirectory *string `json:"subdirectory" tf:"subdirectory,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*LocationS3Parameters) DeepCopy

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

func (*LocationS3Parameters) DeepCopyInto

func (in *LocationS3Parameters) DeepCopyInto(out *LocationS3Parameters)

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

type LocationS3Spec

type LocationS3Spec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     LocationS3Parameters `json:"forProvider"`
}

LocationS3Spec defines the desired state of LocationS3

func (*LocationS3Spec) DeepCopy

func (in *LocationS3Spec) DeepCopy() *LocationS3Spec

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

func (*LocationS3Spec) DeepCopyInto

func (in *LocationS3Spec) DeepCopyInto(out *LocationS3Spec)

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

type LocationS3Status

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

LocationS3Status defines the observed state of LocationS3.

func (*LocationS3Status) DeepCopy

func (in *LocationS3Status) DeepCopy() *LocationS3Status

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

func (*LocationS3Status) DeepCopyInto

func (in *LocationS3Status) DeepCopyInto(out *LocationS3Status)

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

type OptionsObservation

type OptionsObservation struct {
}

func (*OptionsObservation) DeepCopy

func (in *OptionsObservation) DeepCopy() *OptionsObservation

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

func (*OptionsObservation) DeepCopyInto

func (in *OptionsObservation) DeepCopyInto(out *OptionsObservation)

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

type OptionsParameters

type OptionsParameters struct {

	// A file metadata that shows the last time a file was accessed (that is when the file was read or written to). If set to BEST_EFFORT, the DataSync Task attempts to preserve the original (that is, the version before sync PREPARING phase) atime attribute on all source files. Valid values: BEST_EFFORT, NONE. Default: BEST_EFFORT.
	// +kubebuilder:validation:Optional
	Atime *string `json:"atime,omitempty" tf:"atime,omitempty"`

	// Limits the bandwidth utilized. For example, to set a maximum of 1 MB, set this value to 1048576. Value values: -1 or greater. Default: -1 (unlimited).
	// +kubebuilder:validation:Optional
	BytesPerSecond *float64 `json:"bytesPerSecond,omitempty" tf:"bytes_per_second,omitempty"`

	// Group identifier of the file's owners. Valid values: BOTH, INT_VALUE, NAME, NONE. Default: INT_VALUE (preserve integer value of the ID).
	// +kubebuilder:validation:Optional
	GID *string `json:"gid,omitempty" tf:"gid,omitempty"`

	// Determines the type of logs that DataSync publishes to a log stream in the Amazon CloudWatch log group that you provide. Valid values: OFF, BASIC, TRANSFER. Default: OFF.
	// +kubebuilder:validation:Optional
	LogLevel *string `json:"logLevel,omitempty" tf:"log_level,omitempty"`

	// A file metadata that indicates the last time a file was modified (written to) before the sync PREPARING phase. Value values: NONE, PRESERVE. Default: PRESERVE.
	// +kubebuilder:validation:Optional
	Mtime *string `json:"mtime,omitempty" tf:"mtime,omitempty"`

	// Determines whether files at the destination should be overwritten or preserved when copying files. Valid values: ALWAYS, NEVER. Default: ALWAYS.
	// +kubebuilder:validation:Optional
	OverwriteMode *string `json:"overwriteMode,omitempty" tf:"overwrite_mode,omitempty"`

	// Determines which users or groups can access a file for a specific purpose such as reading, writing, or execution of the file. Valid values: NONE, PRESERVE. Default: PRESERVE.
	// +kubebuilder:validation:Optional
	PosixPermissions *string `json:"posixPermissions,omitempty" tf:"posix_permissions,omitempty"`

	// Whether files deleted in the source should be removed or preserved in the destination file system. Valid values: PRESERVE, REMOVE. Default: PRESERVE.
	// +kubebuilder:validation:Optional
	PreserveDeletedFiles *string `json:"preserveDeletedFiles,omitempty" tf:"preserve_deleted_files,omitempty"`

	// Whether the DataSync Task should preserve the metadata of block and character devices in the source files system, and recreate the files with that device name and metadata on the destination. The DataSync Task can’t sync the actual contents of such devices, because many of the devices are non-terminal and don’t return an end of file (EOF) marker. Valid values: NONE, PRESERVE. Default: NONE (ignore special devices).
	// +kubebuilder:validation:Optional
	PreserveDevices *string `json:"preserveDevices,omitempty" tf:"preserve_devices,omitempty"`

	// Determines which components of the SMB security descriptor are copied from source to destination objects. This value is only used for transfers between SMB and Amazon FSx for Windows File Server locations, or between two Amazon FSx for Windows File Server locations. Valid values: NONE, OWNER_DACL, OWNER_DACL_SACL.
	// +kubebuilder:validation:Optional
	SecurityDescriptorCopyFlags *string `json:"securityDescriptorCopyFlags,omitempty" tf:"security_descriptor_copy_flags,omitempty"`

	// Determines whether tasks should be queued before executing the tasks. Valid values: ENABLED, DISABLED. Default ENABLED.
	// +kubebuilder:validation:Optional
	TaskQueueing *string `json:"taskQueueing,omitempty" tf:"task_queueing,omitempty"`

	// Determines whether DataSync transfers only the data and metadata that differ between the source and the destination location, or whether DataSync transfers all the content from the source, without comparing to the destination location. Valid values: CHANGED, ALL. Default: CHANGED
	// +kubebuilder:validation:Optional
	TransferMode *string `json:"transferMode,omitempty" tf:"transfer_mode,omitempty"`

	// User identifier of the file's owners. Valid values: BOTH, INT_VALUE, NAME, NONE. Default: INT_VALUE (preserve integer value of the ID).
	// +kubebuilder:validation:Optional
	UID *string `json:"uid,omitempty" tf:"uid,omitempty"`

	// Whether a data integrity verification should be performed at the end of a task execution after all data and metadata have been transferred. Valid values: NONE, POINT_IN_TIME_CONSISTENT, ONLY_FILES_TRANSFERRED. Default: POINT_IN_TIME_CONSISTENT.
	// +kubebuilder:validation:Optional
	VerifyMode *string `json:"verifyMode,omitempty" tf:"verify_mode,omitempty"`
}

func (*OptionsParameters) DeepCopy

func (in *OptionsParameters) DeepCopy() *OptionsParameters

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

func (*OptionsParameters) DeepCopyInto

func (in *OptionsParameters) DeepCopyInto(out *OptionsParameters)

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

type S3ConfigObservation

type S3ConfigObservation struct {
}

func (*S3ConfigObservation) DeepCopy

func (in *S3ConfigObservation) DeepCopy() *S3ConfigObservation

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

func (*S3ConfigObservation) DeepCopyInto

func (in *S3ConfigObservation) DeepCopyInto(out *S3ConfigObservation)

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

type S3ConfigParameters

type S3ConfigParameters struct {

	// ARN of the IAM Role used to connect to the S3 Bucket.
	// +crossplane:generate:reference:type=github.com/dkb-bank/official-provider-aws/apis/iam/v1beta1.Role
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	BucketAccessRoleArn *string `json:"bucketAccessRoleArn,omitempty" tf:"bucket_access_role_arn,omitempty"`

	// Reference to a Role in iam to populate bucketAccessRoleArn.
	// +kubebuilder:validation:Optional
	BucketAccessRoleArnRef *v1.Reference `json:"bucketAccessRoleArnRef,omitempty" tf:"-"`

	// Selector for a Role in iam to populate bucketAccessRoleArn.
	// +kubebuilder:validation:Optional
	BucketAccessRoleArnSelector *v1.Selector `json:"bucketAccessRoleArnSelector,omitempty" tf:"-"`
}

func (*S3ConfigParameters) DeepCopy

func (in *S3ConfigParameters) DeepCopy() *S3ConfigParameters

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

func (*S3ConfigParameters) DeepCopyInto

func (in *S3ConfigParameters) DeepCopyInto(out *S3ConfigParameters)

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

type ScheduleObservation

type ScheduleObservation struct {
}

func (*ScheduleObservation) DeepCopy

func (in *ScheduleObservation) DeepCopy() *ScheduleObservation

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

func (*ScheduleObservation) DeepCopyInto

func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation)

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

type ScheduleParameters

type ScheduleParameters struct {

	// Specifies the schedule you want your task to use for repeated executions. For more information, see Schedule Expressions for Rules.
	// +kubebuilder:validation:Required
	ScheduleExpression *string `json:"scheduleExpression" tf:"schedule_expression,omitempty"`
}

func (*ScheduleParameters) DeepCopy

func (in *ScheduleParameters) DeepCopy() *ScheduleParameters

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

func (*ScheduleParameters) DeepCopyInto

func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters)

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

type Task

type Task struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              TaskSpec   `json:"spec"`
	Status            TaskStatus `json:"status,omitempty"`
}

Task is the Schema for the Tasks API. Manages an AWS DataSync Task +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,aws}

func (*Task) DeepCopy

func (in *Task) DeepCopy() *Task

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

func (*Task) DeepCopyInto

func (in *Task) DeepCopyInto(out *Task)

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

func (*Task) DeepCopyObject

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

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

func (*Task) GetCondition

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

GetCondition of this Task.

func (*Task) GetConnectionDetailsMapping

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

GetConnectionDetailsMapping for this Task

func (*Task) GetDeletionPolicy

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

GetDeletionPolicy of this Task.

func (*Task) GetID

func (tr *Task) GetID() string

GetID returns ID of underlying Terraform resource of this Task

func (*Task) GetObservation

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

GetObservation of this Task

func (*Task) GetParameters

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

GetParameters of this Task

func (*Task) GetProviderConfigReference

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

GetProviderConfigReference of this Task.

func (*Task) GetProviderReference

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

GetProviderReference of this Task. Deprecated: Use GetProviderConfigReference.

func (*Task) GetPublishConnectionDetailsTo

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

GetPublishConnectionDetailsTo of this Task.

func (*Task) GetTerraformResourceType

func (mg *Task) GetTerraformResourceType() string

GetTerraformResourceType returns Terraform resource type for this Task

func (*Task) GetTerraformSchemaVersion

func (tr *Task) GetTerraformSchemaVersion() int

GetTerraformSchemaVersion returns the associated Terraform schema version

func (*Task) GetWriteConnectionSecretToReference

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

GetWriteConnectionSecretToReference of this Task.

func (*Task) LateInitialize

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

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

func (*Task) ResolveReferences

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

ResolveReferences of this Task.

func (*Task) SetConditions

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

SetConditions of this Task.

func (*Task) SetDeletionPolicy

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

SetDeletionPolicy of this Task.

func (*Task) SetObservation

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

SetObservation for this Task

func (*Task) SetParameters

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

SetParameters for this Task

func (*Task) SetProviderConfigReference

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

SetProviderConfigReference of this Task.

func (*Task) SetProviderReference

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

SetProviderReference of this Task. Deprecated: Use SetProviderConfigReference.

func (*Task) SetPublishConnectionDetailsTo

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

SetPublishConnectionDetailsTo of this Task.

func (*Task) SetWriteConnectionSecretToReference

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

SetWriteConnectionSecretToReference of this Task.

type TaskList

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

TaskList contains a list of Tasks

func (*TaskList) DeepCopy

func (in *TaskList) DeepCopy() *TaskList

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

func (*TaskList) DeepCopyInto

func (in *TaskList) DeepCopyInto(out *TaskList)

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

func (*TaskList) DeepCopyObject

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

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

func (*TaskList) GetItems

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

GetItems of this TaskList.

type TaskObservation

type TaskObservation struct {

	// Amazon Resource Name (ARN) of the DataSync Task.
	Arn *string `json:"arn,omitempty" tf:"arn,omitempty"`

	// Amazon Resource Name (ARN) of the DataSync Task.
	ID *string `json:"id,omitempty" tf:"id,omitempty"`

	// A map of tags assigned to the resource, including those inherited from the provider default_tags configuration block.
	TagsAll map[string]*string `json:"tagsAll,omitempty" tf:"tags_all,omitempty"`
}

func (*TaskObservation) DeepCopy

func (in *TaskObservation) DeepCopy() *TaskObservation

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

func (*TaskObservation) DeepCopyInto

func (in *TaskObservation) DeepCopyInto(out *TaskObservation)

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

type TaskParameters

type TaskParameters struct {

	// Amazon Resource Name (ARN) of the CloudWatch Log Group that is used to monitor and log events in the sync task.
	// +kubebuilder:validation:Optional
	CloudwatchLogGroupArn *string `json:"cloudwatchLogGroupArn,omitempty" tf:"cloudwatch_log_group_arn,omitempty"`

	// Amazon Resource Name (ARN) of destination DataSync Location.
	// +crossplane:generate:reference:type=github.com/dkb-bank/official-provider-aws/apis/datasync/v1beta1.LocationS3
	// +crossplane:generate:reference:extractor=github.com/upbound/upjet/pkg/resource.ExtractParamPath("arn",true)
	// +kubebuilder:validation:Optional
	DestinationLocationArn *string `json:"destinationLocationArn,omitempty" tf:"destination_location_arn,omitempty"`

	// Reference to a LocationS3 in datasync to populate destinationLocationArn.
	// +kubebuilder:validation:Optional
	DestinationLocationArnRef *v1.Reference `json:"destinationLocationArnRef,omitempty" tf:"-"`

	// Selector for a LocationS3 in datasync to populate destinationLocationArn.
	// +kubebuilder:validation:Optional
	DestinationLocationArnSelector *v1.Selector `json:"destinationLocationArnSelector,omitempty" tf:"-"`

	// Filter rules that determines which files to exclude from a task.
	// +kubebuilder:validation:Optional
	Excludes []ExcludesParameters `json:"excludes,omitempty" tf:"excludes,omitempty"`

	// Filter rules that determines which files to include in a task.
	// +kubebuilder:validation:Optional
	Includes []IncludesParameters `json:"includes,omitempty" tf:"includes,omitempty"`

	// Name of the DataSync Task.
	// +kubebuilder:validation:Optional
	Name *string `json:"name,omitempty" tf:"name,omitempty"`

	// Configuration block containing option that controls the default behavior when you start an execution of this DataSync Task. For each individual task execution, you can override these options by specifying an overriding configuration in those executions.
	// +kubebuilder:validation:Optional
	Options []OptionsParameters `json:"options,omitempty" tf:"options,omitempty"`

	// Region is the region you'd like your resource to be created in.
	// +upjet:crd:field:TFTag=-
	// +kubebuilder:validation:Required
	Region *string `json:"region" tf:"-"`

	// Specifies a schedule used to periodically transfer files from a source to a destination location.
	// +kubebuilder:validation:Optional
	Schedule []ScheduleParameters `json:"schedule,omitempty" tf:"schedule,omitempty"`

	// Amazon Resource Name (ARN) of source DataSync Location.
	// +kubebuilder:validation:Required
	SourceLocationArn *string `json:"sourceLocationArn" tf:"source_location_arn,omitempty"`

	// Key-value map of resource tags.
	// +kubebuilder:validation:Optional
	Tags map[string]*string `json:"tags,omitempty" tf:"tags,omitempty"`
}

func (*TaskParameters) DeepCopy

func (in *TaskParameters) DeepCopy() *TaskParameters

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

func (*TaskParameters) DeepCopyInto

func (in *TaskParameters) DeepCopyInto(out *TaskParameters)

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

type TaskSpec

type TaskSpec struct {
	v1.ResourceSpec `json:",inline"`
	ForProvider     TaskParameters `json:"forProvider"`
}

TaskSpec defines the desired state of Task

func (*TaskSpec) DeepCopy

func (in *TaskSpec) DeepCopy() *TaskSpec

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

func (*TaskSpec) DeepCopyInto

func (in *TaskSpec) DeepCopyInto(out *TaskSpec)

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

type TaskStatus

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

TaskStatus defines the observed state of Task.

func (*TaskStatus) DeepCopy

func (in *TaskStatus) DeepCopy() *TaskStatus

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

func (*TaskStatus) DeepCopyInto

func (in *TaskStatus) DeepCopyInto(out *TaskStatus)

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