v1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0

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

View Source
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

func (in Imports) DeepCopy() Imports

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

func (Imports) DeepCopyInto

func (in Imports) DeepCopyInto(out *Imports)

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

func (Imports) Equal

func (imports Imports) Equal(other Imports) bool

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

func (in *Loop) DeepCopy() *Loop

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

func (*Loop) DeepCopyInto

func (in *Loop) DeepCopyInto(out *Loop)

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

func (*Loop) DeepCopyObject

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

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

func (*Loop) Equal

func (loop *Loop) Equal(other *Loop) bool

func (*Loop) EqualMeta

func (loop *Loop) EqualMeta(other meta.ObjectMeta) bool

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

func (in *LoopList) DeepCopy() *LoopList

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

func (*LoopList) DeepCopyInto

func (in *LoopList) DeepCopyInto(out *LoopList)

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

func (*LoopList) DeepCopyObject

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

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

func (in *LoopSpec) DeepCopy() *LoopSpec

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

func (*LoopSpec) DeepCopyInto

func (in *LoopSpec) DeepCopyInto(out *LoopSpec)

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

func (*LoopSpec) Equal

func (spec *LoopSpec) Equal(other LoopSpec) bool

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL