v1beta1

package
v1.43.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generate deepcopy object for storagetransfer/v1beta1 API group

Package v1beta1 contains API Schema definitions for the storagetransfer v1beta1 API group. +k8s:openapi-gen=true +k8s:deepcopy-gen=package,register +k8s:conversion-gen=github.com/GoogleCloudPlatform/k8s-config-connector/pkg/apis/storagetransfer +k8s:defaulter-gen=TypeMeta +groupName=storagetransfer.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: "storagetransfer.cnrm.cloud.google.com", Version: "v1beta1"}

	// 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

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

Functions

This section is empty.

Types

type AccessKeyId

type AccessKeyId struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	Value string `json:"value,omitempty"`
	/* Source for the field's value. Cannot be used if 'value' is specified. */
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

func (*AccessKeyId) DeepCopy

func (in *AccessKeyId) DeepCopy() *AccessKeyId

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

func (*AccessKeyId) DeepCopyInto

func (in *AccessKeyId) DeepCopyInto(out *AccessKeyId)

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

type AwsAccessKey

type AwsAccessKey struct {
	/* AWS Key ID. */
	AccessKeyId AccessKeyId `json:"accessKeyId,omitempty"`
	/* AWS Secret Access Key. */
	SecretAccessKey SecretAccessKey `json:"secretAccessKey,omitempty"`
}

func (*AwsAccessKey) DeepCopy

func (in *AwsAccessKey) DeepCopy() *AwsAccessKey

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

func (*AwsAccessKey) DeepCopyInto

func (in *AwsAccessKey) DeepCopyInto(out *AwsAccessKey)

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

type AwsS3DataSource

type AwsS3DataSource struct {
	/* AWS credentials block. */
	AwsAccessKey AwsAccessKey `json:"awsAccessKey,omitempty"`
	/* S3 Bucket name. */
	BucketName string `json:"bucketName,omitempty"`
}

func (*AwsS3DataSource) DeepCopy

func (in *AwsS3DataSource) DeepCopy() *AwsS3DataSource

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

func (*AwsS3DataSource) DeepCopyInto

func (in *AwsS3DataSource) DeepCopyInto(out *AwsS3DataSource)

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

type GcsDataSink

type GcsDataSink struct {
	/*  */
	BucketRef v1alpha1.ResourceRef `json:"bucketRef,omitempty"`
}

func (*GcsDataSink) DeepCopy

func (in *GcsDataSink) DeepCopy() *GcsDataSink

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

func (*GcsDataSink) DeepCopyInto

func (in *GcsDataSink) DeepCopyInto(out *GcsDataSink)

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

type GcsDataSource

type GcsDataSource struct {
	/*  */
	BucketRef v1alpha1.ResourceRef `json:"bucketRef,omitempty"`
}

func (*GcsDataSource) DeepCopy

func (in *GcsDataSource) DeepCopy() *GcsDataSource

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

func (*GcsDataSource) DeepCopyInto

func (in *GcsDataSource) DeepCopyInto(out *GcsDataSource)

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

type HttpDataSource

type HttpDataSource struct {
	/* The URL that points to the file that stores the object list entries. This file must allow public access. Currently, only URLs with HTTP and HTTPS schemes are supported. */
	ListUrl string `json:"listUrl,omitempty"`
}

func (*HttpDataSource) DeepCopy

func (in *HttpDataSource) DeepCopy() *HttpDataSource

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

func (*HttpDataSource) DeepCopyInto

func (in *HttpDataSource) DeepCopyInto(out *HttpDataSource)

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

type ObjectConditions

type ObjectConditions struct {
	/* exclude_prefixes must follow the requirements described for include_prefixes. */
	ExcludePrefixes []string `json:"excludePrefixes,omitempty"`
	/* If include_refixes is specified, objects that satisfy the object conditions must have names that start with one of the include_prefixes and that do not start with any of the exclude_prefixes. If include_prefixes is not specified, all objects except those that have names starting with one of the exclude_prefixes must satisfy the object conditions. */
	IncludePrefixes []string `json:"includePrefixes,omitempty"`
	/* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */
	MaxTimeElapsedSinceLastModification string `json:"maxTimeElapsedSinceLastModification,omitempty"`
	/* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */
	MinTimeElapsedSinceLastModification string `json:"minTimeElapsedSinceLastModification,omitempty"`
}

func (*ObjectConditions) DeepCopy

func (in *ObjectConditions) DeepCopy() *ObjectConditions

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

func (*ObjectConditions) DeepCopyInto

func (in *ObjectConditions) DeepCopyInto(out *ObjectConditions)

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

type Schedule

type Schedule struct {
	/* Immutable. The last day the recurring transfer will be run. If schedule_end_date is the same as schedule_start_date, the transfer will be executed only once. */
	ScheduleEndDate ScheduleEndDate `json:"scheduleEndDate,omitempty"`
	/* Immutable. The first day the recurring transfer is scheduled to run. If schedule_start_date is in the past, the transfer will run for the first time on the following day. */
	ScheduleStartDate ScheduleStartDate `json:"scheduleStartDate,omitempty"`
	/* Immutable. The time in UTC at which the transfer will be scheduled to start in a day. Transfers may start later than this time. If not specified, recurring and one-time transfers that are scheduled to run today will run immediately; recurring transfers that are scheduled to run on a future date will start at approximately midnight UTC on that date. Note that when configuring a transfer with the Cloud Platform Console, the transfer's start time in a day is specified in your local timezone. */
	StartTimeOfDay StartTimeOfDay `json:"startTimeOfDay,omitempty"`
}

func (*Schedule) DeepCopy

func (in *Schedule) DeepCopy() *Schedule

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

func (*Schedule) DeepCopyInto

func (in *Schedule) DeepCopyInto(out *Schedule)

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

type ScheduleEndDate

type ScheduleEndDate struct {
	/* Immutable. Day of month. Must be from 1 to 31 and valid for the year and month. */
	Day int `json:"day,omitempty"`
	/* Immutable. Month of year. Must be from 1 to 12. */
	Month int `json:"month,omitempty"`
	/* Immutable. Year of date. Must be from 1 to 9999. */
	Year int `json:"year,omitempty"`
}

func (*ScheduleEndDate) DeepCopy

func (in *ScheduleEndDate) DeepCopy() *ScheduleEndDate

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

func (*ScheduleEndDate) DeepCopyInto

func (in *ScheduleEndDate) DeepCopyInto(out *ScheduleEndDate)

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

type ScheduleStartDate

type ScheduleStartDate struct {
	/* Immutable. Day of month. Must be from 1 to 31 and valid for the year and month. */
	Day int `json:"day,omitempty"`
	/* Immutable. Month of year. Must be from 1 to 12. */
	Month int `json:"month,omitempty"`
	/* Immutable. Year of date. Must be from 1 to 9999. */
	Year int `json:"year,omitempty"`
}

func (*ScheduleStartDate) DeepCopy

func (in *ScheduleStartDate) DeepCopy() *ScheduleStartDate

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

func (*ScheduleStartDate) DeepCopyInto

func (in *ScheduleStartDate) DeepCopyInto(out *ScheduleStartDate)

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

type SecretAccessKey

type SecretAccessKey struct {
	/* Value of the field. Cannot be used if 'valueFrom' is specified. */
	Value string `json:"value,omitempty"`
	/* Source for the field's value. Cannot be used if 'value' is specified. */
	ValueFrom ValueFrom `json:"valueFrom,omitempty"`
}

func (*SecretAccessKey) DeepCopy

func (in *SecretAccessKey) DeepCopy() *SecretAccessKey

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

func (*SecretAccessKey) DeepCopyInto

func (in *SecretAccessKey) DeepCopyInto(out *SecretAccessKey)

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

type StartTimeOfDay

type StartTimeOfDay struct {
	/* Immutable. Hours of day in 24 hour format. Should be from 0 to 23. */
	Hours int `json:"hours,omitempty"`
	/* Immutable. Minutes of hour of day. Must be from 0 to 59. */
	Minutes int `json:"minutes,omitempty"`
	/* Immutable. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */
	Nanos int `json:"nanos,omitempty"`
	/* Immutable. Seconds of minutes of the time. Must normally be from 0 to 59. */
	Seconds int `json:"seconds,omitempty"`
}

func (*StartTimeOfDay) DeepCopy

func (in *StartTimeOfDay) DeepCopy() *StartTimeOfDay

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

func (*StartTimeOfDay) DeepCopyInto

func (in *StartTimeOfDay) DeepCopyInto(out *StartTimeOfDay)

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

type StorageTransferJob

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

	Spec   StorageTransferJobSpec   `json:"spec,omitempty"`
	Status StorageTransferJobStatus `json:"status,omitempty"`
}

StorageTransferJob is the Schema for the storagetransfer API +k8s:openapi-gen=true

func (*StorageTransferJob) DeepCopy

func (in *StorageTransferJob) DeepCopy() *StorageTransferJob

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

func (*StorageTransferJob) DeepCopyInto

func (in *StorageTransferJob) DeepCopyInto(out *StorageTransferJob)

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

func (*StorageTransferJob) DeepCopyObject

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

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

type StorageTransferJobList

type StorageTransferJobList struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Items             []StorageTransferJob `json:"items"`
}

StorageTransferJobList contains a list of StorageTransferJob

func (*StorageTransferJobList) DeepCopy

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

func (*StorageTransferJobList) DeepCopyInto

func (in *StorageTransferJobList) DeepCopyInto(out *StorageTransferJobList)

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

func (*StorageTransferJobList) DeepCopyObject

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

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

type StorageTransferJobSpec

type StorageTransferJobSpec struct {
	/* Unique description to identify the Transfer Job. */
	Description string `json:"description,omitempty"`
	/* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */
	ResourceID string `json:"resourceID,omitempty"`
	/* Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. */
	Schedule Schedule `json:"schedule,omitempty"`
	/* Status of the job. Default: ENABLED. NOTE: The effect of the new job status takes place during a subsequent job run. For example, if you change the job status from ENABLED to DISABLED, and an operation spawned by the transfer is running, the status change would not affect the current operation. */
	Status string `json:"status,omitempty"`
	/* Transfer specification. */
	TransferSpec TransferSpec `json:"transferSpec,omitempty"`
}

func (*StorageTransferJobSpec) DeepCopy

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

func (*StorageTransferJobSpec) DeepCopyInto

func (in *StorageTransferJobSpec) DeepCopyInto(out *StorageTransferJobSpec)

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

type StorageTransferJobStatus

type StorageTransferJobStatus struct {
	/* Conditions represents the latest available observations of the
	   StorageTransferJob's current state. */
	Conditions []v1alpha1.Condition `json:"conditions,omitempty"`
	/* When the Transfer Job was created. */
	CreationTime string `json:"creationTime,omitempty"`
	/* When the Transfer Job was deleted. */
	DeletionTime string `json:"deletionTime,omitempty"`
	/* When the Transfer Job was last modified. */
	LastModificationTime string `json:"lastModificationTime,omitempty"`
	/* The name of the Transfer Job. */
	Name string `json:"name,omitempty"`
}

func (*StorageTransferJobStatus) DeepCopy

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

func (*StorageTransferJobStatus) DeepCopyInto

func (in *StorageTransferJobStatus) DeepCopyInto(out *StorageTransferJobStatus)

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

type TransferOptions

type TransferOptions struct {
	/* Whether objects should be deleted from the source after they are transferred to the sink. Note that this option and delete_objects_unique_in_sink are mutually exclusive. */
	DeleteObjectsFromSourceAfterTransfer bool `json:"deleteObjectsFromSourceAfterTransfer,omitempty"`
	/* Whether objects that exist only in the sink should be deleted. Note that this option and delete_objects_from_source_after_transfer are mutually exclusive. */
	DeleteObjectsUniqueInSink bool `json:"deleteObjectsUniqueInSink,omitempty"`
	/* Whether overwriting objects that already exist in the sink is allowed. */
	OverwriteObjectsAlreadyExistingInSink bool `json:"overwriteObjectsAlreadyExistingInSink,omitempty"`
}

func (*TransferOptions) DeepCopy

func (in *TransferOptions) DeepCopy() *TransferOptions

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

func (*TransferOptions) DeepCopyInto

func (in *TransferOptions) DeepCopyInto(out *TransferOptions)

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

type TransferSpec

type TransferSpec struct {
	/* An AWS S3 data source. */
	AwsS3DataSource AwsS3DataSource `json:"awsS3DataSource,omitempty"`
	/* A Google Cloud Storage data sink. */
	GcsDataSink GcsDataSink `json:"gcsDataSink,omitempty"`
	/* A Google Cloud Storage data source. */
	GcsDataSource GcsDataSource `json:"gcsDataSource,omitempty"`
	/* An HTTP URL data source. */
	HttpDataSource HttpDataSource `json:"httpDataSource,omitempty"`
	/* Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' last_modification_time do not exclude objects in a data sink. */
	ObjectConditions ObjectConditions `json:"objectConditions,omitempty"`
	/* Characteristics of how to treat files from datasource and sink during job. If the option delete_objects_unique_in_sink is true, object conditions based on objects' last_modification_time are ignored and do not exclude objects in a data source or a data sink. */
	TransferOptions TransferOptions `json:"transferOptions,omitempty"`
}

func (*TransferSpec) DeepCopy

func (in *TransferSpec) DeepCopy() *TransferSpec

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

func (*TransferSpec) DeepCopyInto

func (in *TransferSpec) DeepCopyInto(out *TransferSpec)

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

type ValueFrom

type ValueFrom struct {
	/* Reference to a value with the given key in the given Secret in the resource's namespace. */
	SecretKeyRef v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"`
}

func (*ValueFrom) DeepCopy

func (in *ValueFrom) DeepCopy() *ValueFrom

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

func (*ValueFrom) DeepCopyInto

func (in *ValueFrom) DeepCopyInto(out *ValueFrom)

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