Movatterモバイル変換


[0]ホーム

URL:


v1alpha1

package
v0.27.6Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License:Apache-2.0Imports:12Imported by:0

Details

Repository

github.com/actions/actions-runner-controller

Links

Documentation

Overview

Package v1 contains API Schema definitions for the batch v1 API group+kubebuilder:object:generate=true+groupName=actions.github.com

Index

Constants

This section is empty.

Variables

View Source
var (// GroupVersion is group version used to register these objectsGroupVersion =schema.GroupVersion{Group: "actions.github.com", Version: "v1alpha1"}// SchemeBuilder is used to add go types to the GroupVersionKind schemeSchemeBuilder = &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

typeAutoscalingListener

type AutoscalingListener struct {metav1.TypeMeta   `json:",inline"`metav1.ObjectMeta `json:"metadata,omitempty"`SpecAutoscalingListenerSpec   `json:"spec,omitempty"`StatusAutoscalingListenerStatus `json:"status,omitempty"`}

AutoscalingListener is the Schema for the autoscalinglisteners API

func (*AutoscalingListener)DeepCopy

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

func (*AutoscalingListener)DeepCopyInto

func (in *AutoscalingListener) DeepCopyInto(out *AutoscalingListener)

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

func (*AutoscalingListener)DeepCopyObject

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

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

typeAutoscalingListenerList

type AutoscalingListenerList struct {metav1.TypeMeta `json:",inline"`metav1.ListMeta `json:"metadata,omitempty"`Items           []AutoscalingListener `json:"items"`}

AutoscalingListenerList contains a list of AutoscalingListener

func (*AutoscalingListenerList)DeepCopy

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

func (*AutoscalingListenerList)DeepCopyInto

func (in *AutoscalingListenerList) DeepCopyInto(out *AutoscalingListenerList)

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

func (*AutoscalingListenerList)DeepCopyObject

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

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

typeAutoscalingListenerSpec

type AutoscalingListenerSpec struct {// RequiredGitHubConfigUrlstring `json:"githubConfigUrl,omitempty"`// RequiredGitHubConfigSecretstring `json:"githubConfigSecret,omitempty"`// RequiredRunnerScaleSetIdint `json:"runnerScaleSetId,omitempty"`// RequiredAutoscalingRunnerSetNamespacestring `json:"autoscalingRunnerSetNamespace,omitempty"`// RequiredAutoscalingRunnerSetNamestring `json:"autoscalingRunnerSetName,omitempty"`// RequiredEphemeralRunnerSetNamestring `json:"ephemeralRunnerSetName,omitempty"`// Required// +kubebuilder:validation:Minimum:=0MaxRunnersint `json:"maxRunners,omitempty"`// Required// +kubebuilder:validation:Minimum:=0MinRunnersint `json:"minRunners,omitempty"`// RequiredImagestring `json:"image,omitempty"`// RequiredImagePullSecrets []corev1.LocalObjectReference `json:"imagePullSecrets,omitempty"`// +optionalProxy *ProxyConfig `json:"proxy,omitempty"`// +optionalGitHubServerTLS *GitHubServerTLSConfig `json:"githubServerTLS,omitempty"`// +optionalTemplate *corev1.PodTemplateSpec `json:"template,omitempty"`}

AutoscalingListenerSpec defines the desired state of AutoscalingListener

func (*AutoscalingListenerSpec)DeepCopy

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

func (*AutoscalingListenerSpec)DeepCopyInto

func (in *AutoscalingListenerSpec) DeepCopyInto(out *AutoscalingListenerSpec)

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

typeAutoscalingListenerStatus

type AutoscalingListenerStatus struct{}

AutoscalingListenerStatus defines the observed state of AutoscalingListener

func (*AutoscalingListenerStatus)DeepCopy

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

func (*AutoscalingListenerStatus)DeepCopyInto

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

typeAutoscalingRunnerSet

type AutoscalingRunnerSet struct {metav1.TypeMeta   `json:",inline"`metav1.ObjectMeta `json:"metadata,omitempty"`SpecAutoscalingRunnerSetSpec   `json:"spec,omitempty"`StatusAutoscalingRunnerSetStatus `json:"status,omitempty"`}

AutoscalingRunnerSet is the Schema for the autoscalingrunnersets API

func (*AutoscalingRunnerSet)DeepCopy

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

func (*AutoscalingRunnerSet)DeepCopyInto

func (in *AutoscalingRunnerSet) DeepCopyInto(out *AutoscalingRunnerSet)

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

func (*AutoscalingRunnerSet)DeepCopyObject

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

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

func (*AutoscalingRunnerSet)ListenerSpecHash

func (ars *AutoscalingRunnerSet) ListenerSpecHash()string

func (*AutoscalingRunnerSet)RunnerSetSpecHash

func (ars *AutoscalingRunnerSet) RunnerSetSpecHash()string

typeAutoscalingRunnerSetList

type AutoscalingRunnerSetList struct {metav1.TypeMeta `json:",inline"`metav1.ListMeta `json:"metadata,omitempty"`Items           []AutoscalingRunnerSet `json:"items"`}

AutoscalingRunnerSetList contains a list of AutoscalingRunnerSet

func (*AutoscalingRunnerSetList)DeepCopy

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

func (*AutoscalingRunnerSetList)DeepCopyInto

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

func (*AutoscalingRunnerSetList)DeepCopyObject

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

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

typeAutoscalingRunnerSetSpec

type AutoscalingRunnerSetSpec struct {// RequiredGitHubConfigUrlstring `json:"githubConfigUrl,omitempty"`// RequiredGitHubConfigSecretstring `json:"githubConfigSecret,omitempty"`// +optionalRunnerGroupstring `json:"runnerGroup,omitempty"`// +optionalRunnerScaleSetNamestring `json:"runnerScaleSetName,omitempty"`// +optionalProxy *ProxyConfig `json:"proxy,omitempty"`// +optionalGitHubServerTLS *GitHubServerTLSConfig `json:"githubServerTLS,omitempty"`// RequiredTemplatecorev1.PodTemplateSpec `json:"template,omitempty"`// +optionalListenerTemplate *corev1.PodTemplateSpec `json:"listenerTemplate,omitempty"`// +optional// +kubebuilder:validation:Minimum:=0MaxRunners *int `json:"maxRunners,omitempty"`// +optional// +kubebuilder:validation:Minimum:=0MinRunners *int `json:"minRunners,omitempty"`}

AutoscalingRunnerSetSpec defines the desired state of AutoscalingRunnerSet

func (*AutoscalingRunnerSetSpec)DeepCopy

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

func (*AutoscalingRunnerSetSpec)DeepCopyInto

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

typeAutoscalingRunnerSetStatus

type AutoscalingRunnerSetStatus struct {// +optionalCurrentRunnersint `json:"currentRunners"`// +optionalStatestring `json:"state"`//+optionalPendingEphemeralRunnersint `json:"pendingEphemeralRunners"`// +optionalRunningEphemeralRunnersint `json:"runningEphemeralRunners"`// +optionalFailedEphemeralRunnersint `json:"failedEphemeralRunners"`}

AutoscalingRunnerSetStatus defines the observed state of AutoscalingRunnerSet

func (*AutoscalingRunnerSetStatus)DeepCopy

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

func (*AutoscalingRunnerSetStatus)DeepCopyInto

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

typeEphemeralRunner

type EphemeralRunner struct {metav1.TypeMeta   `json:",inline"`metav1.ObjectMeta `json:"metadata,omitempty"`SpecEphemeralRunnerSpec   `json:"spec,omitempty"`StatusEphemeralRunnerStatus `json:"status,omitempty"`}

EphemeralRunner is the Schema for the ephemeralrunners API

func (*EphemeralRunner)DeepCopy

func (in *EphemeralRunner) DeepCopy() *EphemeralRunner

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

func (*EphemeralRunner)DeepCopyInto

func (in *EphemeralRunner) DeepCopyInto(out *EphemeralRunner)

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

func (*EphemeralRunner)DeepCopyObject

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

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

typeEphemeralRunnerList

type EphemeralRunnerList struct {metav1.TypeMeta `json:",inline"`metav1.ListMeta `json:"metadata,omitempty"`Items           []EphemeralRunner `json:"items"`}

EphemeralRunnerList contains a list of EphemeralRunner

func (*EphemeralRunnerList)DeepCopy

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

func (*EphemeralRunnerList)DeepCopyInto

func (in *EphemeralRunnerList) DeepCopyInto(out *EphemeralRunnerList)

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

func (*EphemeralRunnerList)DeepCopyObject

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

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

typeEphemeralRunnerSet

type EphemeralRunnerSet struct {metav1.TypeMeta   `json:",inline"`metav1.ObjectMeta `json:"metadata,omitempty"`SpecEphemeralRunnerSetSpec   `json:"spec,omitempty"`StatusEphemeralRunnerSetStatus `json:"status,omitempty"`}

EphemeralRunnerSet is the Schema for the ephemeralrunnersets API

func (*EphemeralRunnerSet)DeepCopy

func (in *EphemeralRunnerSet) DeepCopy() *EphemeralRunnerSet

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

func (*EphemeralRunnerSet)DeepCopyInto

func (in *EphemeralRunnerSet) DeepCopyInto(out *EphemeralRunnerSet)

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

func (*EphemeralRunnerSet)DeepCopyObject

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

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

typeEphemeralRunnerSetList

type EphemeralRunnerSetList struct {metav1.TypeMeta `json:",inline"`metav1.ListMeta `json:"metadata,omitempty"`Items           []EphemeralRunnerSet `json:"items"`}

EphemeralRunnerSetList contains a list of EphemeralRunnerSet

func (*EphemeralRunnerSetList)DeepCopy

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

func (*EphemeralRunnerSetList)DeepCopyInto

func (in *EphemeralRunnerSetList) DeepCopyInto(out *EphemeralRunnerSetList)

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

func (*EphemeralRunnerSetList)DeepCopyObject

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

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

typeEphemeralRunnerSetSpec

type EphemeralRunnerSetSpec struct {// Replicas is the number of desired EphemeralRunner resources in the k8s namespace.Replicasint `json:"replicas,omitempty"`EphemeralRunnerSpecEphemeralRunnerSpec `json:"ephemeralRunnerSpec,omitempty"`}

EphemeralRunnerSetSpec defines the desired state of EphemeralRunnerSet

func (*EphemeralRunnerSetSpec)DeepCopy

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

func (*EphemeralRunnerSetSpec)DeepCopyInto

func (in *EphemeralRunnerSetSpec) DeepCopyInto(out *EphemeralRunnerSetSpec)

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

typeEphemeralRunnerSetStatus

type EphemeralRunnerSetStatus struct {// CurrentReplicas is the number of currently running EphemeralRunner resources being managed by this EphemeralRunnerSet.CurrentReplicasint `json:"currentReplicas"`// +optionalPendingEphemeralRunnersint `json:"pendingEphemeralRunners"`// +optionalRunningEphemeralRunnersint `json:"runningEphemeralRunners"`// +optionalFailedEphemeralRunnersint `json:"failedEphemeralRunners"`}

EphemeralRunnerSetStatus defines the observed state of EphemeralRunnerSet

func (*EphemeralRunnerSetStatus)DeepCopy

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

func (*EphemeralRunnerSetStatus)DeepCopyInto

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

typeEphemeralRunnerSpec

type EphemeralRunnerSpec struct {// +requiredGitHubConfigUrlstring `json:"githubConfigUrl,omitempty"`// +requiredGitHubConfigSecretstring `json:"githubConfigSecret,omitempty"`// +requiredRunnerScaleSetIdint `json:"runnerScaleSetId,omitempty"`// +optionalProxy *ProxyConfig `json:"proxy,omitempty"`// +optionalProxySecretRefstring `json:"proxySecretRef,omitempty"`// +optionalGitHubServerTLS *GitHubServerTLSConfig `json:"githubServerTLS,omitempty"`// +requiredcorev1.PodTemplateSpec `json:",inline"`}

EphemeralRunnerSpec defines the desired state of EphemeralRunner

func (*EphemeralRunnerSpec)DeepCopy

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

func (*EphemeralRunnerSpec)DeepCopyInto

func (in *EphemeralRunnerSpec) DeepCopyInto(out *EphemeralRunnerSpec)

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

typeEphemeralRunnerStatus

type EphemeralRunnerStatus struct {// Turns true only if the runner is online.// +optionalReadybool `json:"ready"`// Phase describes phases where EphemeralRunner can be in.// The underlying type is a PodPhase, but the meaning is more restrictive//// The PodFailed phase should be set only when EphemeralRunner fails to start// after multiple retries. That signals that this EphemeralRunner won't work,// and manual inspection is required//// The PodSucceded phase should be set only when confirmed that EphemeralRunner// actually executed the job and has been removed from the service.// +optionalPhasecorev1.PodPhase `json:"phase,omitempty"`// +optionalReasonstring `json:"reason,omitempty"`// +optionalMessagestring `json:"message,omitempty"`// +optionalRunnerIdint `json:"runnerId,omitempty"`// +optionalRunnerNamestring `json:"runnerName,omitempty"`// +optionalRunnerJITConfigstring `json:"runnerJITConfig,omitempty"`// +optionalFailures map[string]bool `json:"failures,omitempty"`// +optionalJobRequestIdint64 `json:"jobRequestId,omitempty"`// +optionalJobRepositoryNamestring `json:"jobRepositoryName,omitempty"`// +optionalJobWorkflowRefstring `json:"jobWorkflowRef,omitempty"`// +optionalWorkflowRunIdint64 `json:"workflowRunId,omitempty"`// +optionalJobDisplayNamestring `json:"jobDisplayName,omitempty"`}

EphemeralRunnerStatus defines the observed state of EphemeralRunner

func (*EphemeralRunnerStatus)DeepCopy

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

func (*EphemeralRunnerStatus)DeepCopyInto

func (in *EphemeralRunnerStatus) DeepCopyInto(out *EphemeralRunnerStatus)

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

typeGitHubServerTLSConfig

type GitHubServerTLSConfig struct {// RequiredCertificateFrom *TLSCertificateSource `json:"certificateFrom,omitempty"`}

func (*GitHubServerTLSConfig)DeepCopy

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

func (*GitHubServerTLSConfig)DeepCopyInto

func (in *GitHubServerTLSConfig) DeepCopyInto(out *GitHubServerTLSConfig)

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

func (*GitHubServerTLSConfig)ToCertPool

func (c *GitHubServerTLSConfig) ToCertPool(keyFetcher func(name, keystring) ([]byte,error)) (*x509.CertPool,error)

typeProxyConfig

type ProxyConfig struct {// +optionalHTTP *ProxyServerConfig `json:"http,omitempty"`// +optionalHTTPS *ProxyServerConfig `json:"https,omitempty"`// +optionalNoProxy []string `json:"noProxy,omitempty"`}

func (*ProxyConfig)DeepCopy

func (in *ProxyConfig) DeepCopy() *ProxyConfig

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

func (*ProxyConfig)DeepCopyInto

func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig)

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

func (*ProxyConfig)ProxyFunc

func (c *ProxyConfig) ProxyFunc(secretFetcher func(string) (*corev1.Secret,error)) (func(*http.Request) (*url.URL,error),error)

func (*ProxyConfig)ToSecretData

func (c *ProxyConfig) ToSecretData(secretFetcher func(string) (*corev1.Secret,error)) (map[string][]byte,error)

typeProxyServerConfig

type ProxyServerConfig struct {// RequiredUrlstring `json:"url,omitempty"`// +optionalCredentialSecretRefstring `json:"credentialSecretRef,omitempty"`}

func (*ProxyServerConfig)DeepCopy

func (in *ProxyServerConfig) DeepCopy() *ProxyServerConfig

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

func (*ProxyServerConfig)DeepCopyInto

func (in *ProxyServerConfig) DeepCopyInto(out *ProxyServerConfig)

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

typeTLSCertificateSource

type TLSCertificateSource struct {// RequiredConfigMapKeyRef *corev1.ConfigMapKeySelector `json:"configMapKeyRef,omitempty"`}

func (*TLSCertificateSource)DeepCopy

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

func (*TLSCertificateSource)DeepCopyInto

func (in *TLSCertificateSource) DeepCopyInto(out *TLSCertificateSource)

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

Source Files

View all Source files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp