Documentation ¶
Overview ¶
Package v1 contains API Schema definitions for the apps v1 API group +kubebuilder:object:generate=true +groupName=apps.poconetes.dev
Index ¶
- Constants
- Variables
- type Application
- type ApplicationList
- type ApplicationSpec
- type ApplicationState
- type ApplicationStatus
- type Environment
- type FormationPort
- type Initializer
- type InitializerList
- type InitializerSpec
- type InitializerStatus
- type Mount
- type RunSpec
- type Sidecar
- type SidecarList
- type SidecarSpec
- type SidecarStatus
Constants ¶
const ( LabelApp = "poco-app" LabelFormation = "poco-formation" )
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "apps.poconetes.dev", Version: "v1"} // 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 Application ¶
type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ApplicationSpec `json:"spec,omitempty"` Status ApplicationStatus `json:"status,omitempty"` }
Application is the Schema for the applications API
func (*Application) DeepCopy ¶
func (in *Application) DeepCopy() *Application
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Application.
func (*Application) DeepCopyInto ¶
func (in *Application) DeepCopyInto(out *Application)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Application) DeepCopyObject ¶
func (in *Application) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationList ¶
type ApplicationList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Application `json:"items"` }
ApplicationList contains a list of Application
func (*ApplicationList) DeepCopy ¶
func (in *ApplicationList) DeepCopy() *ApplicationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationList.
func (*ApplicationList) DeepCopyInto ¶
func (in *ApplicationList) DeepCopyInto(out *ApplicationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ApplicationList) DeepCopyObject ¶
func (in *ApplicationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ApplicationSpec ¶
type ApplicationSpec struct { // +required Image string `json:"image"` // +required MaxReplicas int32 `json:"maxReplicas"` // +optional MinReplicas *int32 `json:"minReplicas,omitempty"` // +optional Scaling []autoscaling.MetricSpec `json:"scaling,omitempty"` RunSpec `json:",inline"` }
ApplicationSpec defines the desired state of Application
func (*ApplicationSpec) DeepCopy ¶
func (in *ApplicationSpec) DeepCopy() *ApplicationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationSpec.
func (*ApplicationSpec) DeepCopyInto ¶
func (in *ApplicationSpec) DeepCopyInto(out *ApplicationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ApplicationState ¶
type ApplicationState string
const ( ApplicationStateUnknown ApplicationState = "" ApplicationStateOnline ApplicationState = "online" ApplicationStateIdle ApplicationState = "idle" ApplicationStateUpdate ApplicationState = "update" ApplicationStateError ApplicationState = "error" )
type ApplicationStatus ¶
type ApplicationStatus struct { ObservedGeneration int64 `json:"observedGeneration,omitempty"` State ApplicationState `json:"state"` Message string `json:"message,omitempty"` ReplicasDesired int32 `json:"replicasDesired,omitempty"` ReplicasAvailable int32 `json:"replicasAvailable"` }
ApplicationStatus defines the observed state of Application
func (*ApplicationStatus) DeepCopy ¶
func (in *ApplicationStatus) DeepCopy() *ApplicationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ApplicationStatus.
func (*ApplicationStatus) DeepCopyInto ¶
func (in *ApplicationStatus) DeepCopyInto(out *ApplicationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Environment ¶
Environment ...
func (*Environment) DeepCopy ¶
func (in *Environment) DeepCopy() *Environment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Environment.
func (*Environment) DeepCopyInto ¶
func (in *Environment) DeepCopyInto(out *Environment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FormationPort ¶
type FormationPort struct { // +required Name string `json:"name"` // +required Port int32 `json:"port,omitempty"` // +optional Protocol corev1.Protocol `json:"protocol,omitempty"` }
FormationPort ...
func (*FormationPort) DeepCopy ¶
func (in *FormationPort) DeepCopy() *FormationPort
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FormationPort.
func (*FormationPort) DeepCopyInto ¶
func (in *FormationPort) DeepCopyInto(out *FormationPort)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Initializer ¶
type Initializer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec InitializerSpec `json:"spec,omitempty"` Status InitializerStatus `json:"status,omitempty"` }
Initializer is the Schema for the initializers API
func (*Initializer) DeepCopy ¶
func (in *Initializer) DeepCopy() *Initializer
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Initializer.
func (*Initializer) DeepCopyInto ¶
func (in *Initializer) DeepCopyInto(out *Initializer)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Initializer) DeepCopyObject ¶
func (in *Initializer) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InitializerList ¶
type InitializerList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Initializer `json:"items"` }
InitializerList contains a list of Initializer
func (*InitializerList) DeepCopy ¶
func (in *InitializerList) DeepCopy() *InitializerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerList.
func (*InitializerList) DeepCopyInto ¶
func (in *InitializerList) DeepCopyInto(out *InitializerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*InitializerList) DeepCopyObject ¶
func (in *InitializerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type InitializerSpec ¶
InitializerSpec defines the desired state of Initializer
func (*InitializerSpec) DeepCopy ¶
func (in *InitializerSpec) DeepCopy() *InitializerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerSpec.
func (*InitializerSpec) DeepCopyInto ¶
func (in *InitializerSpec) DeepCopyInto(out *InitializerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type InitializerStatus ¶
type InitializerStatus struct { }
InitializerStatus defines the observed state of Initializer
func (*InitializerStatus) DeepCopy ¶
func (in *InitializerStatus) DeepCopy() *InitializerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new InitializerStatus.
func (*InitializerStatus) DeepCopyInto ¶
func (in *InitializerStatus) DeepCopyInto(out *InitializerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Mount ¶
type Mount struct { // +required Name string `json:"name"` // +required Path string `json:"path"` // +optional ConfigMap *corev1.LocalObjectReference `json:"configMapRef,omitempty"` // +optional Secret *corev1.LocalObjectReference `json:"secretRef,omitempty"` }
Mount ...
func (*Mount) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Mount.
func (*Mount) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunSpec ¶
type RunSpec struct { // +optional Command []string `json:"command,omitempty"` // +optional Args []string `json:"args,omitempty"` // +optional Ports []FormationPort `json:"ports,omitempty"` // +optional Environment []corev1.EnvVar `json:"environment,omitempty"` // +optional EnvironmentRefs []corev1.EnvFromSource `json:"environmentRefs,omitempty"` // +optional Mounts []Mount `json:"mounts,omitempty"` // +optional SLO *corev1.ResourceRequirements `json:"slo,omitempty"` }
func (*RunSpec) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunSpec.
func (*RunSpec) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Sidecar ¶
type Sidecar struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec SidecarSpec `json:"spec,omitempty"` Status SidecarStatus `json:"status,omitempty"` }
Sidecar is the Schema for the sidecars API
func (*Sidecar) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Sidecar.
func (*Sidecar) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Sidecar) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SidecarList ¶
type SidecarList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Sidecar `json:"items"` }
SidecarList contains a list of Sidecar
func (*SidecarList) DeepCopy ¶
func (in *SidecarList) DeepCopy() *SidecarList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarList.
func (*SidecarList) DeepCopyInto ¶
func (in *SidecarList) DeepCopyInto(out *SidecarList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*SidecarList) DeepCopyObject ¶
func (in *SidecarList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type SidecarSpec ¶
SidecarSpec defines the desired state of Sidecar
func (*SidecarSpec) DeepCopy ¶
func (in *SidecarSpec) DeepCopy() *SidecarSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarSpec.
func (*SidecarSpec) DeepCopyInto ¶
func (in *SidecarSpec) DeepCopyInto(out *SidecarSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SidecarStatus ¶
type SidecarStatus struct { }
SidecarStatus defines the observed state of Sidecar
func (*SidecarStatus) DeepCopy ¶
func (in *SidecarStatus) DeepCopy() *SidecarStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SidecarStatus.
func (*SidecarStatus) DeepCopyInto ¶
func (in *SidecarStatus) DeepCopyInto(out *SidecarStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.