Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the Loops v1 API group +kubebuilder:object:generate=true +groupName=clever-telemetry.io
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "clever-telemetry.io", Version: "v1"} SchemeGroupVersion = GroupVersion // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ImportSecret ¶
type ImportSecret struct {
Name string `json:"name"`
}
func (*ImportSecret) DeepCopy ¶
func (in *ImportSecret) DeepCopy() *ImportSecret
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImportSecret.
func (*ImportSecret) DeepCopyInto ¶
func (in *ImportSecret) DeepCopyInto(out *ImportSecret)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Imports ¶
type Imports []LoopImport
func (Imports) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Imports.
func (Imports) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Loop ¶
type Loop struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata,omitempty"` Spec LoopSpec `json:"spec,omitempty"` Status LoopStatus `json:"status,omitempty"` }
Loop is the Schema for the Loops API +kubebuilder:object:root=true +kubebuilder:storageversion +kubebuilder:printcolumn:name="Announced",type=string,JSONPath=`.status.lastExecution`,description="Last Execution",priority=1 +kubebuilder:resource:shortName=if +kubebuilder:subresource:status +genclient
func (*Loop) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Loop.
func (*Loop) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Loop) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Loop) NamespacedName ¶
func (loop *Loop) NamespacedName() types.NamespacedName
type LoopImport ¶
type LoopImport struct {
Secret ImportSecret `json:"secret,omitempty"`
}
func (*LoopImport) DeepCopy ¶
func (in *LoopImport) DeepCopy() *LoopImport
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoopImport.
func (*LoopImport) DeepCopyInto ¶
func (in *LoopImport) DeepCopyInto(out *LoopImport)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (LoopImport) Equal ¶
func (loopImport LoopImport) Equal(other LoopImport) bool
type LoopList ¶
type LoopList struct { meta.TypeMeta `json:",inline"` meta.ListMeta `json:"metadata,omitempty"` Items []Loop `json:"items"` }
LoopList contains a list of Loop +kubebuilder:object:root=true
func (*LoopList) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoopList.
func (*LoopList) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoopList) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type LoopSpec ¶
type LoopSpec struct { Endpoint string `json:"endpoint,omitempty"` Script string `json:"script,omitempty"` Every meta.Duration `json:"every,omitempty"` // +optional Imports Imports `json:"imports,omitempty"` }
func (*LoopSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoopSpec.
func (*LoopSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type LoopStatus ¶
type LoopStatus struct { Deployed bool `json:"deployed,omitempty"` LastExecution *meta.Time `json:"lastExecution,omitempty"` LastExecutionSuccess *meta.Time `json:"lastExecutionSuccess,omitempty"` }
Define Loops status
func (*LoopStatus) DeepCopy ¶
func (in *LoopStatus) DeepCopy() *LoopStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new LoopStatus.
func (*LoopStatus) DeepCopyInto ¶
func (in *LoopStatus) DeepCopyInto(out *LoopStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*LoopStatus) Equal ¶
func (status *LoopStatus) Equal(other LoopStatus) bool