Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the actions v1alpha1 API group +kubebuilder:object:generate=true +groupName=actions.summerwind.dev
Index ¶
- Variables
- type Runner
- type RunnerDeployment
- type RunnerDeploymentList
- type RunnerDeploymentSpec
- type RunnerDeploymentStatus
- type RunnerList
- type RunnerReplicaSet
- type RunnerReplicaSetList
- type RunnerReplicaSetSpec
- type RunnerReplicaSetStatus
- type RunnerSpec
- type RunnerStatus
- type RunnerStatusRegistration
- type RunnerTemplate
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "actions.summerwind.dev", Version: "v1alpha1"} // 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 Runner ¶
type Runner struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RunnerSpec `json:"spec,omitempty"`
Status RunnerStatus `json:"status,omitempty"`
}
Runner is the Schema for the runners API
func (*Runner) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Runner.
func (*Runner) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Runner) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (Runner) IsRegisterable ¶
type RunnerDeployment ¶ added in v0.4.0
type RunnerDeployment struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RunnerDeploymentSpec `json:"spec,omitempty"`
Status RunnerDeploymentStatus `json:"status,omitempty"`
}
RunnerDeployment is the Schema for the runnerdeployments API
func (*RunnerDeployment) DeepCopy ¶ added in v0.4.0
func (in *RunnerDeployment) DeepCopy() *RunnerDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeployment.
func (*RunnerDeployment) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerDeployment) DeepCopyInto(out *RunnerDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunnerDeployment) DeepCopyObject ¶ added in v0.4.0
func (in *RunnerDeployment) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RunnerDeploymentList ¶ added in v0.4.0
type RunnerDeploymentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []RunnerDeployment `json:"items"`
}
RunnerList contains a list of Runner
func (*RunnerDeploymentList) DeepCopy ¶ added in v0.4.0
func (in *RunnerDeploymentList) DeepCopy() *RunnerDeploymentList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeploymentList.
func (*RunnerDeploymentList) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerDeploymentList) DeepCopyInto(out *RunnerDeploymentList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunnerDeploymentList) DeepCopyObject ¶ added in v0.4.0
func (in *RunnerDeploymentList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RunnerDeploymentSpec ¶ added in v0.4.0
type RunnerDeploymentSpec struct {
Replicas *int `json:"replicas"`
Template RunnerTemplate `json:"template"`
}
RunnerReplicaSetSpec defines the desired state of RunnerDeployment
func (*RunnerDeploymentSpec) DeepCopy ¶ added in v0.4.0
func (in *RunnerDeploymentSpec) DeepCopy() *RunnerDeploymentSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeploymentSpec.
func (*RunnerDeploymentSpec) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerDeploymentSpec) DeepCopyInto(out *RunnerDeploymentSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerDeploymentStatus ¶ added in v0.4.0
type RunnerDeploymentStatus struct {
AvailableReplicas int `json:"availableReplicas"`
ReadyReplicas int `json:"readyReplicas"`
}
func (*RunnerDeploymentStatus) DeepCopy ¶ added in v0.4.0
func (in *RunnerDeploymentStatus) DeepCopy() *RunnerDeploymentStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerDeploymentStatus.
func (*RunnerDeploymentStatus) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerDeploymentStatus) DeepCopyInto(out *RunnerDeploymentStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerList ¶
type RunnerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []Runner `json:"items"`
}
RunnerList contains a list of Runner
func (*RunnerList) DeepCopy ¶
func (in *RunnerList) DeepCopy() *RunnerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerList.
func (*RunnerList) DeepCopyInto ¶
func (in *RunnerList) DeepCopyInto(out *RunnerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunnerList) DeepCopyObject ¶
func (in *RunnerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RunnerReplicaSet ¶ added in v0.4.0
type RunnerReplicaSet struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RunnerReplicaSetSpec `json:"spec,omitempty"`
Status RunnerReplicaSetStatus `json:"status,omitempty"`
}
RunnerReplicaSet is the Schema for the runnerreplicasets API
func (*RunnerReplicaSet) DeepCopy ¶ added in v0.4.0
func (in *RunnerReplicaSet) DeepCopy() *RunnerReplicaSet
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerReplicaSet.
func (*RunnerReplicaSet) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerReplicaSet) DeepCopyInto(out *RunnerReplicaSet)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunnerReplicaSet) DeepCopyObject ¶ added in v0.4.0
func (in *RunnerReplicaSet) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RunnerReplicaSetList ¶ added in v0.4.0
type RunnerReplicaSetList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []RunnerReplicaSet `json:"items"`
}
RunnerList contains a list of Runner
func (*RunnerReplicaSetList) DeepCopy ¶ added in v0.4.0
func (in *RunnerReplicaSetList) DeepCopy() *RunnerReplicaSetList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerReplicaSetList.
func (*RunnerReplicaSetList) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerReplicaSetList) DeepCopyInto(out *RunnerReplicaSetList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*RunnerReplicaSetList) DeepCopyObject ¶ added in v0.4.0
func (in *RunnerReplicaSetList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type RunnerReplicaSetSpec ¶ added in v0.4.0
type RunnerReplicaSetSpec struct {
Replicas *int `json:"replicas"`
Template RunnerTemplate `json:"template"`
}
RunnerReplicaSetSpec defines the desired state of RunnerReplicaSet
func (*RunnerReplicaSetSpec) DeepCopy ¶ added in v0.4.0
func (in *RunnerReplicaSetSpec) DeepCopy() *RunnerReplicaSetSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerReplicaSetSpec.
func (*RunnerReplicaSetSpec) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerReplicaSetSpec) DeepCopyInto(out *RunnerReplicaSetSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerReplicaSetStatus ¶ added in v0.4.0
type RunnerReplicaSetStatus struct {
AvailableReplicas int `json:"availableReplicas"`
ReadyReplicas int `json:"readyReplicas"`
}
func (*RunnerReplicaSetStatus) DeepCopy ¶ added in v0.4.0
func (in *RunnerReplicaSetStatus) DeepCopy() *RunnerReplicaSetStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerReplicaSetStatus.
func (*RunnerReplicaSetStatus) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerReplicaSetStatus) DeepCopyInto(out *RunnerReplicaSetStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerSpec ¶
type RunnerSpec struct {
// +kubebuilder:validation:MinLength=3
// +kubebuilder:validation:Pattern=`^[^/]+/[^/]+$`
Repository string `json:"repository"`
// +optional
Containers []corev1.Container `json:"containers,omitempty"`
// +optional
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
// +optional
VolumeMounts []corev1.VolumeMount `json:"volumeMounts,omitempty"`
// +optional
EnvFrom []corev1.EnvFromSource `json:"envFrom,omitempty"`
// +optional
Image string `json:"image"`
// +optional
Env []corev1.EnvVar `json:"env,omitempty"`
// +optional
Volumes []corev1.Volume `json:"volumes,omitempty"`
// +optional
InitContainers []corev1.Container `json:"initContainers,omitempty"`
// +optional
SidecarContainers []corev1.Container `json:"sidecarContainers,omitempty"`
// +optional
NodeSelector map[string]string `json:"nodeSelector,omitempty"`
// +optional
ServiceAccountName string `json:"serviceAccountName,omitempty"`
// +optional
AutomountServiceAccountToken *bool `json:"automountServiceAccountToken,omitempty"`
// +optional
SecurityContext *corev1.PodSecurityContext `json:"securityContext,omitempty"`
// +optional
ImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`
// +optional
Affinity *corev1.Affinity `json:"affinity,omitempty"`
// +optional
Tolerations []corev1.Toleration `json:"tolerations,omitempty"`
// +optional
EphemeralContainers []corev1.EphemeralContainer `json:"ephemeralContainers,omitempty"`
// +optional
TerminationGracePeriodSeconds *int64 `json:"terminationGracePeriodSeconds,omitempty"`
}
RunnerSpec defines the desired state of Runner
func (*RunnerSpec) DeepCopy ¶
func (in *RunnerSpec) DeepCopy() *RunnerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerSpec.
func (*RunnerSpec) DeepCopyInto ¶
func (in *RunnerSpec) DeepCopyInto(out *RunnerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerStatus ¶
type RunnerStatus struct {
Registration RunnerStatusRegistration `json:"registration"`
Phase string `json:"phase"`
Reason string `json:"reason"`
Message string `json:"message"`
}
RunnerStatus defines the observed state of Runner
func (*RunnerStatus) DeepCopy ¶
func (in *RunnerStatus) DeepCopy() *RunnerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerStatus.
func (*RunnerStatus) DeepCopyInto ¶
func (in *RunnerStatus) DeepCopyInto(out *RunnerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerStatusRegistration ¶
type RunnerStatusRegistration struct {
Repository string `json:"repository"`
Token string `json:"token"`
ExpiresAt metav1.Time `json:"expiresAt"`
}
func (*RunnerStatusRegistration) DeepCopy ¶
func (in *RunnerStatusRegistration) DeepCopy() *RunnerStatusRegistration
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerStatusRegistration.
func (*RunnerStatusRegistration) DeepCopyInto ¶
func (in *RunnerStatusRegistration) DeepCopyInto(out *RunnerStatusRegistration)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RunnerTemplate ¶ added in v0.4.0
type RunnerTemplate struct {
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec RunnerSpec `json:"spec,omitempty"`
}
func (*RunnerTemplate) DeepCopy ¶ added in v0.4.0
func (in *RunnerTemplate) DeepCopy() *RunnerTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RunnerTemplate.
func (*RunnerTemplate) DeepCopyInto ¶ added in v0.4.0
func (in *RunnerTemplate) DeepCopyInto(out *RunnerTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.