Documentation
¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the actions v1alpha1 API group +kubebuilder:object:generate=true +groupName=actions.summerwind.dev
Index ¶
- Constants
- Variables
- type HorizontalRunnerAutoscaler
- type HorizontalRunnerAutoscalerList
- type HorizontalRunnerAutoscalerSpec
- type HorizontalRunnerAutoscalerStatus
- type MetricSpec
- type Runner
- func (in *Runner) DeepCopy() *Runner
- func (in *Runner) DeepCopyInto(out *Runner)
- func (in *Runner) DeepCopyObject() runtime.Object
- func (r *Runner) Default()
- func (r Runner) IsRegisterable() bool
- func (r *Runner) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *Runner) Validate() error
- func (r *Runner) ValidateCreate() error
- func (r *Runner) ValidateDelete() error
- func (r *Runner) ValidateUpdate(old runtime.Object) error
- type RunnerDeployment
- func (in *RunnerDeployment) DeepCopy() *RunnerDeployment
- func (in *RunnerDeployment) DeepCopyInto(out *RunnerDeployment)
- func (in *RunnerDeployment) DeepCopyObject() runtime.Object
- func (r *RunnerDeployment) Default()
- func (r *RunnerDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RunnerDeployment) Validate() error
- func (r *RunnerDeployment) ValidateCreate() error
- func (r *RunnerDeployment) ValidateDelete() error
- func (r *RunnerDeployment) ValidateUpdate(old runtime.Object) error
- type RunnerDeploymentList
- type RunnerDeploymentSpec
- type RunnerDeploymentStatus
- type RunnerList
- type RunnerReplicaSet
- func (in *RunnerReplicaSet) DeepCopy() *RunnerReplicaSet
- func (in *RunnerReplicaSet) DeepCopyInto(out *RunnerReplicaSet)
- func (in *RunnerReplicaSet) DeepCopyObject() runtime.Object
- func (r *RunnerReplicaSet) Default()
- func (r *RunnerReplicaSet) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *RunnerReplicaSet) Validate() error
- func (r *RunnerReplicaSet) ValidateCreate() error
- func (r *RunnerReplicaSet) ValidateDelete() error
- func (r *RunnerReplicaSet) ValidateUpdate(old runtime.Object) error
- type RunnerReplicaSetList
- type RunnerReplicaSetSpec
- type RunnerReplicaSetStatus
- type RunnerSpec
- type RunnerStatus
- type RunnerStatusRegistration
- type RunnerTemplate
- type ScaleTargetRef
Constants ¶
const (
AutoscalingMetricTypeTotalNumberOfQueuedAndInProgressWorkflowRuns = "TotalNumberOfQueuedAndInProgressWorkflowRuns"
)
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 HorizontalRunnerAutoscaler ¶ added in v0.7.0
type HorizontalRunnerAutoscaler struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec HorizontalRunnerAutoscalerSpec `json:"spec,omitempty"`
Status HorizontalRunnerAutoscalerStatus `json:"status,omitempty"`
}
HorizontalRunnerAutoscaler is the Schema for the horizontalrunnerautoscaler API
func (*HorizontalRunnerAutoscaler) DeepCopy ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscaler) DeepCopy() *HorizontalRunnerAutoscaler
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalRunnerAutoscaler.
func (*HorizontalRunnerAutoscaler) DeepCopyInto ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscaler) DeepCopyInto(out *HorizontalRunnerAutoscaler)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HorizontalRunnerAutoscaler) DeepCopyObject ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscaler) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HorizontalRunnerAutoscalerList ¶ added in v0.7.0
type HorizontalRunnerAutoscalerList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []HorizontalRunnerAutoscaler `json:"items"`
}
HorizontalRunnerAutoscalerList contains a list of HorizontalRunnerAutoscaler
func (*HorizontalRunnerAutoscalerList) DeepCopy ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscalerList) DeepCopy() *HorizontalRunnerAutoscalerList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalRunnerAutoscalerList.
func (*HorizontalRunnerAutoscalerList) DeepCopyInto ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscalerList) DeepCopyInto(out *HorizontalRunnerAutoscalerList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*HorizontalRunnerAutoscalerList) DeepCopyObject ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscalerList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type HorizontalRunnerAutoscalerSpec ¶ added in v0.7.0
type HorizontalRunnerAutoscalerSpec struct {
// ScaleTargetRef sis the reference to scaled resource like RunnerDeployment
ScaleTargetRef ScaleTargetRef `json:"scaleTargetRef,omitempty"`
// MinReplicas is the minimum number of replicas the deployment is allowed to scale
// +optional
MinReplicas *int `json:"minReplicas,omitempty"`
// MinReplicas is the maximum number of replicas the deployment is allowed to scale
// +optional
MaxReplicas *int `json:"maxReplicas,omitempty"`
// ScaleDownDelaySecondsAfterScaleUp is the approximate delay for a scale down followed by a scale up
// Used to prevent flapping (down->up->down->... loop)
// +optional
ScaleDownDelaySecondsAfterScaleUp *int `json:"scaleDownDelaySecondsAfterScaleOut,omitempty"`
// Metrics is the collection of various metric targets to calculate desired number of runners
// +optional
Metrics []MetricSpec `json:"metrics,omitempty"`
}
HorizontalRunnerAutoscalerSpec defines the desired state of HorizontalRunnerAutoscaler
func (*HorizontalRunnerAutoscalerSpec) DeepCopy ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscalerSpec) DeepCopy() *HorizontalRunnerAutoscalerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalRunnerAutoscalerSpec.
func (*HorizontalRunnerAutoscalerSpec) DeepCopyInto ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscalerSpec) DeepCopyInto(out *HorizontalRunnerAutoscalerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HorizontalRunnerAutoscalerStatus ¶ added in v0.7.0
type HorizontalRunnerAutoscalerStatus struct {
// ObservedGeneration is the most recent generation observed for the target. It corresponds to e.g.
// RunnerDeployment's generation, which is updated on mutation by the API Server.
// +optional
ObservedGeneration int64 `json:"observedGeneration,omitempty"`
// DesiredReplicas is the total number of desired, non-terminated and latest pods to be set for the primary RunnerSet
// This doesn't include outdated pods while upgrading the deployment and replacing the runnerset.
// +optional
DesiredReplicas *int `json:"desiredReplicas,omitempty"`
// +optional
LastSuccessfulScaleOutTime *metav1.Time `json:"lastSuccessfulScaleOutTime,omitempty"`
}
func (*HorizontalRunnerAutoscalerStatus) DeepCopy ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscalerStatus) DeepCopy() *HorizontalRunnerAutoscalerStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HorizontalRunnerAutoscalerStatus.
func (*HorizontalRunnerAutoscalerStatus) DeepCopyInto ¶ added in v0.7.0
func (in *HorizontalRunnerAutoscalerStatus) DeepCopyInto(out *HorizontalRunnerAutoscalerStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MetricSpec ¶ added in v0.7.0
type MetricSpec struct {
// Type is the type of metric to be used for autoscaling.
// The only supported Type is TotalNumberOfQueuedAndInProgressWorkflowRuns
Type string `json:"type,omitempty"`
// RepositoryNames is the list of repository names to be used for calculating the metric.
// For example, a repository name is the REPO part of `github.com/USER/REPO`.
// +optional
RepositoryNames []string `json:"repositoryNames,omitempty"`
}
func (*MetricSpec) DeepCopy ¶ added in v0.7.0
func (in *MetricSpec) DeepCopy() *MetricSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MetricSpec.
func (*MetricSpec) DeepCopyInto ¶ added in v0.7.0
func (in *MetricSpec) DeepCopyInto(out *MetricSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
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) Default ¶ added in v0.5.0
func (r *Runner) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (Runner) IsRegisterable ¶
func (*Runner) SetupWebhookWithManager ¶ added in v0.5.0
func (*Runner) ValidateCreate ¶ added in v0.5.0
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*Runner) ValidateDelete ¶ added in v0.5.0
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
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.
func (*RunnerDeployment) Default ¶ added in v0.5.0
func (r *RunnerDeployment) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*RunnerDeployment) SetupWebhookWithManager ¶ added in v0.5.0
func (r *RunnerDeployment) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*RunnerDeployment) Validate ¶ added in v0.5.0
func (r *RunnerDeployment) Validate() error
Validate validates resource spec.
func (*RunnerDeployment) ValidateCreate ¶ added in v0.5.0
func (r *RunnerDeployment) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RunnerDeployment) ValidateDelete ¶ added in v0.5.0
func (r *RunnerDeployment) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*RunnerDeployment) ValidateUpdate ¶ added in v0.5.0
func (r *RunnerDeployment) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
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 {
// +optional
// +nullable
Replicas *int `json:"replicas,omitempty"`
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"`
// Replicas is the total number of desired, non-terminated and latest pods to be set for the primary RunnerSet
// This doesn't include outdated pods while upgrading the deployment and replacing the runnerset.
// +optional
Replicas *int `json:"desiredReplicas,omitempty"`
}
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.
func (*RunnerReplicaSet) Default ¶ added in v0.5.0
func (r *RunnerReplicaSet) Default()
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*RunnerReplicaSet) SetupWebhookWithManager ¶ added in v0.5.0
func (r *RunnerReplicaSet) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*RunnerReplicaSet) Validate ¶ added in v0.5.0
func (r *RunnerReplicaSet) Validate() error
Validate validates resource spec.
func (*RunnerReplicaSet) ValidateCreate ¶ added in v0.5.0
func (r *RunnerReplicaSet) ValidateCreate() error
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RunnerReplicaSet) ValidateDelete ¶ added in v0.5.0
func (r *RunnerReplicaSet) ValidateDelete() error
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*RunnerReplicaSet) ValidateUpdate ¶ added in v0.5.0
func (r *RunnerReplicaSet) ValidateUpdate(old runtime.Object) error
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
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 {
// +optional
// +nullable
Replicas *int `json:"replicas,omitempty"`
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 {
// +optional
// +kubebuilder:validation:Pattern=`^[^/]+$`
Organization string `json:"organization,omitempty"`
// +optional
// +kubebuilder:validation:Pattern=`^[^/]+/[^/]+$`
Repository string `json:"repository,omitempty"`
// +optional
Labels []string `json:"labels,omitempty"`
// +optional
Group string `json:"group,omitempty"`
// +optional
Containers []corev1.Container `json:"containers,omitempty"`
// +optional
DockerdContainerResources corev1.ResourceRequirements `json:"dockerdContainerResources,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
ImagePullPolicy corev1.PullPolicy `json:"imagePullPolicy,omitempty"`
// +optional
Env []corev1.EnvVar `json:"env,omitempty"`
// +optional
Volumes []corev1.Volume `json:"volumes,omitempty"`
// +optional
WorkDir string `json:"workDir,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"`
// +optional
DockerdWithinRunnerContainer *bool `json:"dockerdWithinRunnerContainer,omitempty"`
// +optional
DockerEnabled *bool `json:"dockerEnabled,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.
func (*RunnerSpec) ValidateRepository ¶ added in v0.5.0
func (rs *RunnerSpec) ValidateRepository() error
ValidateRepository validates repository field.
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 {
Organization string `json:"organization,omitempty"`
Repository string `json:"repository,omitempty"`
Labels []string `json:"labels,omitempty"`
Token string `json:"token"`
ExpiresAt metav1.Time `json:"expiresAt"`
}
RunnerStatusRegistration contains runner registration status
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.
type ScaleTargetRef ¶ added in v0.7.0
type ScaleTargetRef struct {
Name string `json:"name,omitempty"`
}
func (*ScaleTargetRef) DeepCopy ¶ added in v0.7.0
func (in *ScaleTargetRef) DeepCopy() *ScaleTargetRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ScaleTargetRef.
func (*ScaleTargetRef) DeepCopyInto ¶ added in v0.7.0
func (in *ScaleTargetRef) DeepCopyInto(out *ScaleTargetRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.