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 ¶
- Variables
- type JobAccessKeyId
- type JobAwsAccessKey
- type JobAwsS3DataSource
- type JobGcsDataSink
- type JobGcsDataSource
- type JobHttpDataSource
- type JobObjectConditions
- type JobSchedule
- type JobScheduleEndDate
- type JobScheduleStartDate
- type JobSecretAccessKey
- type JobStartTimeOfDay
- type JobTransferOptions
- type JobTransferSpec
- type JobValueFrom
- type StorageTransferJob
- type StorageTransferJobList
- type StorageTransferJobSpec
- type StorageTransferJobStatus
Constants ¶
This section is empty.
Variables ¶
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 JobAccessKeyId ¶ added in v1.45.0
type JobAccessKeyId struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ // +optional Value *string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ // +optional ValueFrom *JobValueFrom `json:"valueFrom,omitempty"` }
func (*JobAccessKeyId) DeepCopy ¶ added in v1.45.0
func (in *JobAccessKeyId) DeepCopy() *JobAccessKeyId
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAccessKeyId.
func (*JobAccessKeyId) DeepCopyInto ¶ added in v1.45.0
func (in *JobAccessKeyId) DeepCopyInto(out *JobAccessKeyId)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobAwsAccessKey ¶ added in v1.45.0
type JobAwsAccessKey struct { /* AWS Key ID. */ AccessKeyId JobAccessKeyId `json:"accessKeyId"` /* AWS Secret Access Key. */ SecretAccessKey JobSecretAccessKey `json:"secretAccessKey"` }
func (*JobAwsAccessKey) DeepCopy ¶ added in v1.45.0
func (in *JobAwsAccessKey) DeepCopy() *JobAwsAccessKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAwsAccessKey.
func (*JobAwsAccessKey) DeepCopyInto ¶ added in v1.45.0
func (in *JobAwsAccessKey) DeepCopyInto(out *JobAwsAccessKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobAwsS3DataSource ¶ added in v1.45.0
type JobAwsS3DataSource struct { /* AWS credentials block. */ AwsAccessKey JobAwsAccessKey `json:"awsAccessKey"` /* S3 Bucket name. */ BucketName string `json:"bucketName"` }
func (*JobAwsS3DataSource) DeepCopy ¶ added in v1.45.0
func (in *JobAwsS3DataSource) DeepCopy() *JobAwsS3DataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobAwsS3DataSource.
func (*JobAwsS3DataSource) DeepCopyInto ¶ added in v1.45.0
func (in *JobAwsS3DataSource) DeepCopyInto(out *JobAwsS3DataSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobGcsDataSink ¶ added in v1.45.0
type JobGcsDataSink struct { /* */ BucketRef v1alpha1.ResourceRef `json:"bucketRef"` }
func (*JobGcsDataSink) DeepCopy ¶ added in v1.45.0
func (in *JobGcsDataSink) DeepCopy() *JobGcsDataSink
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobGcsDataSink.
func (*JobGcsDataSink) DeepCopyInto ¶ added in v1.45.0
func (in *JobGcsDataSink) DeepCopyInto(out *JobGcsDataSink)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobGcsDataSource ¶ added in v1.45.0
type JobGcsDataSource struct { /* */ BucketRef v1alpha1.ResourceRef `json:"bucketRef"` }
func (*JobGcsDataSource) DeepCopy ¶ added in v1.45.0
func (in *JobGcsDataSource) DeepCopy() *JobGcsDataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobGcsDataSource.
func (*JobGcsDataSource) DeepCopyInto ¶ added in v1.45.0
func (in *JobGcsDataSource) DeepCopyInto(out *JobGcsDataSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobHttpDataSource ¶ added in v1.45.0
type JobHttpDataSource 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"` }
func (*JobHttpDataSource) DeepCopy ¶ added in v1.45.0
func (in *JobHttpDataSource) DeepCopy() *JobHttpDataSource
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobHttpDataSource.
func (*JobHttpDataSource) DeepCopyInto ¶ added in v1.45.0
func (in *JobHttpDataSource) DeepCopyInto(out *JobHttpDataSource)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobObjectConditions ¶ added in v1.45.0
type JobObjectConditions struct { /* exclude_prefixes must follow the requirements described for include_prefixes. */ // +optional 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. */ // +optional IncludePrefixes []string `json:"includePrefixes,omitempty"` /* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */ // +optional MaxTimeElapsedSinceLastModification *string `json:"maxTimeElapsedSinceLastModification,omitempty"` /* A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". */ // +optional MinTimeElapsedSinceLastModification *string `json:"minTimeElapsedSinceLastModification,omitempty"` }
func (*JobObjectConditions) DeepCopy ¶ added in v1.45.0
func (in *JobObjectConditions) DeepCopy() *JobObjectConditions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobObjectConditions.
func (*JobObjectConditions) DeepCopyInto ¶ added in v1.45.0
func (in *JobObjectConditions) DeepCopyInto(out *JobObjectConditions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobSchedule ¶ added in v1.45.0
type JobSchedule 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. */ // +optional ScheduleEndDate *JobScheduleEndDate `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 JobScheduleStartDate `json:"scheduleStartDate"` /* 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. */ // +optional StartTimeOfDay *JobStartTimeOfDay `json:"startTimeOfDay,omitempty"` }
func (*JobSchedule) DeepCopy ¶ added in v1.45.0
func (in *JobSchedule) DeepCopy() *JobSchedule
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSchedule.
func (*JobSchedule) DeepCopyInto ¶ added in v1.45.0
func (in *JobSchedule) DeepCopyInto(out *JobSchedule)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobScheduleEndDate ¶ added in v1.45.0
type JobScheduleEndDate struct { /* Immutable. Day of month. Must be from 1 to 31 and valid for the year and month. */ Day int `json:"day"` /* Immutable. Month of year. Must be from 1 to 12. */ Month int `json:"month"` /* Immutable. Year of date. Must be from 1 to 9999. */ Year int `json:"year"` }
func (*JobScheduleEndDate) DeepCopy ¶ added in v1.45.0
func (in *JobScheduleEndDate) DeepCopy() *JobScheduleEndDate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScheduleEndDate.
func (*JobScheduleEndDate) DeepCopyInto ¶ added in v1.45.0
func (in *JobScheduleEndDate) DeepCopyInto(out *JobScheduleEndDate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobScheduleStartDate ¶ added in v1.45.0
type JobScheduleStartDate struct { /* Immutable. Day of month. Must be from 1 to 31 and valid for the year and month. */ Day int `json:"day"` /* Immutable. Month of year. Must be from 1 to 12. */ Month int `json:"month"` /* Immutable. Year of date. Must be from 1 to 9999. */ Year int `json:"year"` }
func (*JobScheduleStartDate) DeepCopy ¶ added in v1.45.0
func (in *JobScheduleStartDate) DeepCopy() *JobScheduleStartDate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobScheduleStartDate.
func (*JobScheduleStartDate) DeepCopyInto ¶ added in v1.45.0
func (in *JobScheduleStartDate) DeepCopyInto(out *JobScheduleStartDate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobSecretAccessKey ¶ added in v1.45.0
type JobSecretAccessKey struct { /* Value of the field. Cannot be used if 'valueFrom' is specified. */ // +optional Value *string `json:"value,omitempty"` /* Source for the field's value. Cannot be used if 'value' is specified. */ // +optional ValueFrom *JobValueFrom `json:"valueFrom,omitempty"` }
func (*JobSecretAccessKey) DeepCopy ¶ added in v1.45.0
func (in *JobSecretAccessKey) DeepCopy() *JobSecretAccessKey
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobSecretAccessKey.
func (*JobSecretAccessKey) DeepCopyInto ¶ added in v1.45.0
func (in *JobSecretAccessKey) DeepCopyInto(out *JobSecretAccessKey)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobStartTimeOfDay ¶ added in v1.45.0
type JobStartTimeOfDay struct { /* Immutable. Hours of day in 24 hour format. Should be from 0 to 23. */ Hours int `json:"hours"` /* Immutable. Minutes of hour of day. Must be from 0 to 59. */ Minutes int `json:"minutes"` /* Immutable. Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. */ Nanos int `json:"nanos"` /* Immutable. Seconds of minutes of the time. Must normally be from 0 to 59. */ Seconds int `json:"seconds"` }
func (*JobStartTimeOfDay) DeepCopy ¶ added in v1.45.0
func (in *JobStartTimeOfDay) DeepCopy() *JobStartTimeOfDay
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobStartTimeOfDay.
func (*JobStartTimeOfDay) DeepCopyInto ¶ added in v1.45.0
func (in *JobStartTimeOfDay) DeepCopyInto(out *JobStartTimeOfDay)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobTransferOptions ¶ added in v1.45.0
type JobTransferOptions 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. */ // +optional 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. */ // +optional DeleteObjectsUniqueInSink *bool `json:"deleteObjectsUniqueInSink,omitempty"` /* Whether overwriting objects that already exist in the sink is allowed. */ // +optional OverwriteObjectsAlreadyExistingInSink *bool `json:"overwriteObjectsAlreadyExistingInSink,omitempty"` }
func (*JobTransferOptions) DeepCopy ¶ added in v1.45.0
func (in *JobTransferOptions) DeepCopy() *JobTransferOptions
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTransferOptions.
func (*JobTransferOptions) DeepCopyInto ¶ added in v1.45.0
func (in *JobTransferOptions) DeepCopyInto(out *JobTransferOptions)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobTransferSpec ¶ added in v1.45.0
type JobTransferSpec struct { /* An AWS S3 data source. */ // +optional AwsS3DataSource *JobAwsS3DataSource `json:"awsS3DataSource,omitempty"` /* A Google Cloud Storage data sink. */ // +optional GcsDataSink *JobGcsDataSink `json:"gcsDataSink,omitempty"` /* A Google Cloud Storage data source. */ // +optional GcsDataSource *JobGcsDataSource `json:"gcsDataSource,omitempty"` /* An HTTP URL data source. */ // +optional HttpDataSource *JobHttpDataSource `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. */ // +optional ObjectConditions *JobObjectConditions `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. */ // +optional TransferOptions *JobTransferOptions `json:"transferOptions,omitempty"` }
func (*JobTransferSpec) DeepCopy ¶ added in v1.45.0
func (in *JobTransferSpec) DeepCopy() *JobTransferSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobTransferSpec.
func (*JobTransferSpec) DeepCopyInto ¶ added in v1.45.0
func (in *JobTransferSpec) DeepCopyInto(out *JobTransferSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type JobValueFrom ¶ added in v1.45.0
type JobValueFrom struct { /* Reference to a value with the given key in the given Secret in the resource's namespace. */ // +optional SecretKeyRef *v1alpha1.ResourceRef `json:"secretKeyRef,omitempty"` }
func (*JobValueFrom) DeepCopy ¶ added in v1.45.0
func (in *JobValueFrom) DeepCopy() *JobValueFrom
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JobValueFrom.
func (*JobValueFrom) DeepCopyInto ¶ added in v1.45.0
func (in *JobValueFrom) DeepCopyInto(out *JobValueFrom)
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.ListMeta `json:"metadata,omitempty"` Items []StorageTransferJob `json:"items"` }
StorageTransferJobList contains a list of StorageTransferJob
func (*StorageTransferJobList) DeepCopy ¶
func (in *StorageTransferJobList) DeepCopy() *StorageTransferJobList
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"` /* Immutable. Optional. The service-generated name of the resource. Used for acquisition only. Leave unset to create a new resource. */ // +optional ResourceID *string `json:"resourceID,omitempty"` /* Schedule specification defining when the Transfer Job should be scheduled to start, end and what time to run. */ Schedule JobSchedule `json:"schedule"` /* 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. */ // +optional Status *string `json:"status,omitempty"` /* Transfer specification. */ TransferSpec JobTransferSpec `json:"transferSpec"` }
func (*StorageTransferJobSpec) DeepCopy ¶
func (in *StorageTransferJobSpec) DeepCopy() *StorageTransferJobSpec
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 represent 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"` /* ObservedGeneration is the generation of the resource that was most recently observed by the Config Connector controller. If this is equal to metadata.generation, then that means that the current reported status reflects the most recent desired state of the resource. */ ObservedGeneration int `json:"observedGeneration,omitempty"` }
func (*StorageTransferJobStatus) DeepCopy ¶
func (in *StorageTransferJobStatus) DeepCopy() *StorageTransferJobStatus
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.