Documentation ¶
Index ¶
- Constants
- Variables
- func Kind(kind string) schema.GroupKind
- func Resource(resource string) schema.GroupResource
- type AllowedExecutable
- type AllowedScript
- type ConsumerStatus
- type DataLifetime
- type DataLifetimeList
- type DeletePolicy
- type InputDataSpec
- type InputFileSystemSpec
- type InputRdbSpec
- type LifetimeSpec
- type LifetimeStatus
- type MessageQueueSpec
- type OutputDataSpec
- type OutputFileSystemSpec
- type OutputRdbSpec
- type ProviderStatus
- type PublishMessageQueueSpec
- type Trigger
Constants ¶
const (
GroupName = "lifetimes.dsc"
)
Variables ¶
var ( // SchemeGroupVersion is group version used to register these objects SchemeGroupVersion = schema.GroupVersion{ Group: GroupName, Version: "v1alpha1", } SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns a Group qualified GroupResource
Types ¶
type AllowedExecutable ¶
type AllowedExecutable struct { CmdAbsolutePath string `json:"cmdAbsolutePath"` Scripts []*AllowedScript `json:"scripts,omitempty"` Checksum string `json:"checksum,omitempty"` Writable bool `json:"writable,omitempty"` }
func (*AllowedExecutable) DeepCopy ¶
func (in *AllowedExecutable) DeepCopy() *AllowedExecutable
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedExecutable.
func (*AllowedExecutable) DeepCopyInto ¶
func (in *AllowedExecutable) DeepCopyInto(out *AllowedExecutable)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AllowedScript ¶
type AllowedScript struct { AbsolutePath string `json:"absolutePath"` Checksum string `json:"checksum,omitempty"` Writable bool `json:"writable,omitempty"` RelativePathToInitWorkDir string `json:"relativePathToInitWorkDir,omitempty"` }
func (*AllowedScript) DeepCopy ¶
func (in *AllowedScript) DeepCopy() *AllowedScript
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AllowedScript.
func (*AllowedScript) DeepCopyInto ¶
func (in *AllowedScript) DeepCopyInto(out *AllowedScript)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConsumerStatus ¶
type ConsumerStatus struct { LastUpdatedAt metav1.Time `json:"lastUpdatedAt"` ExpiredAt metav1.Time `json:"expiredAt"` }
func (*ConsumerStatus) DeepCopy ¶
func (in *ConsumerStatus) DeepCopy() *ConsumerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConsumerStatus.
func (*ConsumerStatus) DeepCopyInto ¶
func (in *ConsumerStatus) DeepCopyInto(out *ConsumerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type DataLifetime ¶
type DataLifetime struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec LifetimeSpec `json:"spec,omitempty"` Status LifetimeStatus `json:"status,omitempty"` }
func (*DataLifetime) DeepCopy ¶
func (in *DataLifetime) DeepCopy() *DataLifetime
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLifetime.
func (*DataLifetime) DeepCopyInto ¶
func (in *DataLifetime) DeepCopyInto(out *DataLifetime)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataLifetime) DeepCopyObject ¶
func (in *DataLifetime) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DataLifetimeList ¶
type DataLifetimeList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []DataLifetime `json:"items"` }
func (*DataLifetimeList) DeepCopy ¶
func (in *DataLifetimeList) DeepCopy() *DataLifetimeList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DataLifetimeList.
func (*DataLifetimeList) DeepCopyInto ¶
func (in *DataLifetimeList) DeepCopyInto(out *DataLifetimeList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*DataLifetimeList) DeepCopyObject ¶
func (in *DataLifetimeList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type DeletePolicy ¶
type DeletePolicy string
const ( DefaultPolicy DeletePolicy = "" ChmodPolicy DeletePolicy = "chmod" RemovePolicy DeletePolicy = "rm" NotifyPolicy DeletePolicy = "notify" )
type InputDataSpec ¶
type InputDataSpec struct { MessageQueueSubscriber *MessageQueueSpec `json:"messageQueueSubscriber"` FileSystemSpec *InputFileSystemSpec `json:"fileSystemSpec,omitempty"` RdbSpec *InputRdbSpec `json:"rdbSpec,omitempty"` }
func (*InputDataSpec) DeepCopy ¶
func (in *InputDataSpec) DeepCopy() *InputDataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputDataSpec.
func (*InputDataSpec) DeepCopyInto ¶
func (in *InputDataSpec) DeepCopyInto(out *InputDataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InputFileSystemSpec ¶
type InputFileSystemSpec struct { FromPersistentVolumeClaimRef *corev1.ObjectReference `json:"fromPersistentVolumeClaimRef"` ToPersistentVolumeClaimRef *corev1.ObjectReference `json:"toPersistentVolumeClaimRef"` AllowedExecutables []*AllowedExecutable `json:"allowedExecutables,omitempty"` }
func (*InputFileSystemSpec) DeepCopy ¶
func (in *InputFileSystemSpec) DeepCopy() *InputFileSystemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputFileSystemSpec.
func (*InputFileSystemSpec) DeepCopyInto ¶
func (in *InputFileSystemSpec) DeepCopyInto(out *InputFileSystemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InputRdbSpec ¶
type InputRdbSpec struct { SourceDb string `json:"sourceDb"` LocalDb string `json:"localDb"` ConfigurationRef *corev1.ObjectReference `json:"configurationRef"` }
func (*InputRdbSpec) DeepCopy ¶
func (in *InputRdbSpec) DeepCopy() *InputRdbSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InputRdbSpec.
func (*InputRdbSpec) DeepCopyInto ¶
func (in *InputRdbSpec) DeepCopyInto(out *InputRdbSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LifetimeSpec ¶
type LifetimeSpec struct { // +optional Trigger *Trigger `json:"trigger"` InputData []InputDataSpec `json:"inputData"` OutputData []OutputDataSpec `json:"outputData,omitempty"` DeletePolicy DeletePolicy `json:"deletePolicy,omitempty"` }
func (*LifetimeSpec) DeepCopy ¶
func (in *LifetimeSpec) DeepCopy() *LifetimeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifetimeSpec.
func (*LifetimeSpec) DeepCopyInto ¶
func (in *LifetimeSpec) DeepCopyInto(out *LifetimeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LifetimeStatus ¶
type LifetimeStatus struct { Provider ProviderStatus `json:"provider,ommitempty"` Consumer map[string]ConsumerStatus `json:"consumer,ommitempty"` }
func (*LifetimeStatus) DeepCopy ¶
func (in *LifetimeStatus) DeepCopy() *LifetimeStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LifetimeStatus.
func (*LifetimeStatus) DeepCopyInto ¶
func (in *LifetimeStatus) DeepCopyInto(out *LifetimeStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MessageQueueSpec ¶
type MessageQueueSpec struct { MessageQueueRef *corev1.ObjectReference `json:"messageQueueRef"` MaxBatchBytes int `json:"maxBatchBytes,omitempty"` }
func (*MessageQueueSpec) DeepCopy ¶
func (in *MessageQueueSpec) DeepCopy() *MessageQueueSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MessageQueueSpec.
func (*MessageQueueSpec) DeepCopyInto ¶
func (in *MessageQueueSpec) DeepCopyInto(out *MessageQueueSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutputDataSpec ¶
type OutputDataSpec struct { MessageQueuePublisher *PublishMessageQueueSpec `json:"messageQueuePublisher,omitempty"` FileSystemSpec *OutputFileSystemSpec `json:"fileSystemSpec,omitempty"` RdbSpec *OutputRdbSpec `json:"rdbSpec,omitempty"` }
func (*OutputDataSpec) DeepCopy ¶
func (in *OutputDataSpec) DeepCopy() *OutputDataSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputDataSpec.
func (*OutputDataSpec) DeepCopyInto ¶
func (in *OutputDataSpec) DeepCopyInto(out *OutputDataSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutputFileSystemSpec ¶
type OutputFileSystemSpec struct { PersistentVolumeClaimRef *corev1.ObjectReference `json:"persistentVolumeClaimRef"` AllowedExecutables []*AllowedExecutable `json:"allowedExecutables,omitempty"` }
func (*OutputFileSystemSpec) DeepCopy ¶
func (in *OutputFileSystemSpec) DeepCopy() *OutputFileSystemSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputFileSystemSpec.
func (*OutputFileSystemSpec) DeepCopyInto ¶
func (in *OutputFileSystemSpec) DeepCopyInto(out *OutputFileSystemSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type OutputRdbSpec ¶
type OutputRdbSpec struct { DestinationDb string `json:"destinationDb"` ConfigurationRef *corev1.ObjectReference `json:"configurationRef"` }
func (*OutputRdbSpec) DeepCopy ¶
func (in *OutputRdbSpec) DeepCopy() *OutputRdbSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OutputRdbSpec.
func (*OutputRdbSpec) DeepCopyInto ¶
func (in *OutputRdbSpec) DeepCopyInto(out *OutputRdbSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ProviderStatus ¶
func (*ProviderStatus) DeepCopy ¶
func (in *ProviderStatus) DeepCopy() *ProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProviderStatus.
func (*ProviderStatus) DeepCopyInto ¶
func (in *ProviderStatus) DeepCopyInto(out *ProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PublishMessageQueueSpec ¶
type PublishMessageQueueSpec struct { *MessageQueueSpec UpdatePublishChannelBufferSize int `json:"updatePublishChannelBufferSize,omitempty"` }
func (*PublishMessageQueueSpec) DeepCopy ¶
func (in *PublishMessageQueueSpec) DeepCopy() *PublishMessageQueueSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PublishMessageQueueSpec.
func (*PublishMessageQueueSpec) DeepCopyInto ¶
func (in *PublishMessageQueueSpec) DeepCopyInto(out *PublishMessageQueueSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Trigger ¶
type Trigger struct { // Time at which scheduling starts in RFC 3339 format. // If no start time is specified, the StartTime is the creation time of the schedule. // +optional StartTime string `json:"startTime,omitempty"` // Time at which scheduling ends in RFC 3339 format. // If no end time is specified, the EndTime is the end of time. // +optional EndTime string `json:"endTime"` }
func (*Trigger) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Trigger.
func (*Trigger) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.