Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RunnerOrgLabelKey is a label key for organization name. RunnerOrgLabelKey = "meows.cybozu.com/organization" // RunnerRepoLabelKey is a label key for repository name. RunnerRepoLabelKey = "meows.cybozu.com/repository" // RunnerPoolFinalizer is a finalizer for runnerpool resource. RunnerPoolFinalizer = "meows.cybozu.com/runnerpool" // AppNameLabelKey is a label key for application name. AppNameLabelKey = "app.kubernetes.io/name" // AppComponentLabelKey is a label key for the component. AppComponentLabelKey = "app.kubernetes.io/component" // AppInstanceLabelKey is a label key for the instance name. AppInstanceLabelKey = "app.kubernetes.io/instance" )
Metadata keys
View Source
const ( // AppName is the application name. AppName = "meows" // AppComponentRunner is the component name for runner. AppComponentRunner = "runner" )
View Source
const ( // RunnerListenPort is the port number for runner container. RunnerListenPort = 8080 // RunnerMetricsPortName is the port name for runner container. RunnerMetricsPortName = "metrics" )
Container ports
View Source
const ( // RunnerRootDirPath is a directory path where GitHub Actions Runner will be installed. RunnerRootDirPath = "/runner" // RunnerWorkDirPath is a working directory path for job execution. RunnerWorkDirPath = "/runner/_work" // RunnerVarDirPath is a directory path for storing variable files. RunnerVarDirPath = "/var/meows" )
Directory path for runner pods.
View Source
const ( // PodNameEnvName is a env field key for POD_NAME. PodNameEnvName = "POD_NAME" // PodNamespaceEnvName is a env field key for POD_NAME. PodNamespaceEnvName = "POD_NAMESPACE" // RunnerOrgEnvName is a env field key for RUNNER_ORG. RunnerOrgEnvName = "RUNNER_ORG" // RunnerRepoEnvName is a env field key for RUNNER_REPO. RunnerRepoEnvName = "RUNNER_REPO" // RunnerPoolNameEnvName is a env field key for RUNNER_POOL_NAME. RunnerPoolNameEnvName = "RUNNER_POOL_NAME" // RunnerTokenEnvName is a env field key for RUNNER_TOKEN. RunnerTokenEnvName = "RUNNER_TOKEN" // RunnerOptionEnvName is a env field key for RUNNER_OPTION RunnerOptionEnvName = "RUNNER_OPTION" // ExtendDurationEnvName is a env field key for EXTEND_DURATION ExtendDurationEnvName = "EXTEND_DURATION" )
Environment variables
View Source
const (
// DeletionTimeEndpoint is the endpoint to get deletion time for runner container.
DeletionTimeEndpoint = "deletion_time"
)
Container endpoints
View Source
const (
// RunnerContainerName is a container name which runs GitHub Actions runner.
RunnerContainerName = "runner"
)
Container names
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the meows v1alpha1 API group +kubebuilder:object:generate=true +groupName=meows.cybozu.com
|
Package v1alpha1 contains API Schema definitions for the meows v1alpha1 API group +kubebuilder:object:generate=true +groupName=meows.cybozu.com |
|
cmd
|
|
|
controller
command
|
|
|
entrypoint
command
|
|
|
job-started
command
|
|
|
meows
command
|
|
|
slack-agent
command
|
|
Click to show internal directories.
Click to hide internal directories.