Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Environment Variable Names EnvEiriniNamespace = "EIRINI_NAMESPACE" EnvDownloadURL = "DOWNLOAD_URL" EnvDropletUploadURL = "DROPLET_UPLOAD_URL" EnvAppID = "APP_ID" EnvCompletionCallback = "COMPLETION_CALLBACK" EnvEiriniAddress = "EIRINI_ADDRESS" EnvInstanceEnvInjectorCertDir = "INSTANCE_ENV_INJECTOR_CERTS_DIR" EnvResourceValidatorCertDir = "RESOURCE_VALIDATOR_CERTS_DIR" EnvCCCertDir = "CC_CERTS_DIR" EnvServerCertDir = "SERVER_CERTS_DIR" EnvPodName = "POD_NAME" EnvCFInstanceIP = "CF_INSTANCE_IP" EnvCFInstanceIndex = "CF_INSTANCE_INDEX" EnvCFInstanceGUID = "CF_INSTANCE_GUID" EnvCFInstanceInternalIP = "CF_INSTANCE_INTERNAL_IP" EnvCFInstanceAddr = "CF_INSTANCE_ADDR" EnvCFInstancePort = "CF_INSTANCE_PORT" EnvCFInstancePorts = "CF_INSTANCE_PORTS" RegistrySecretName = "default-image-pull-secret" // Certs TLSSecretKey = "tls.key" TLSSecretCert = "tls.crt" TLSSecretCA = "tls.ca" EiriniCrtDir = "/etc/eirini/certs/" CCCrtDir = "/etc/cf-api/certs/" CCUploaderSecretName = "cc-uploader-certs" //#nosec G101 EiriniClientSecretName = "eirini-client-certs" //#nosec G101 InstanceEnvInjectorCertDir = "/etc/eirini/certs" ResourceValidatorCertDir = "/etc/eirini/certs" )
Variables ¶
View Source
var ErrInvalidInstanceIndex = errors.New("invalid instance index")
View Source
var ErrNotFound = errors.New("not found")
Functions ¶
This section is empty.
Types ¶
type CommonConfig ¶
type CommonConfig struct { KubeConfig `yaml:",inline"` ApplicationServiceAccount string `yaml:"application_service_account"` RegistrySecretName string `yaml:"registry_secret_name"` AllowRunImageAsRoot bool `yaml:"allow_run_image_as_root"` UnsafeAllowAutomountServiceAccountToken bool `yaml:"unsafe_allow_automount_service_account_token"` DefaultMinAvailableInstances string `yaml:"default_min_available_instances"` WorkloadsNamespace string }
type ControllerConfig ¶
type ControllerConfig struct { CommonConfig `yaml:",inline"` PrometheusPort int `yaml:"prometheus_port"` TaskTTLSeconds int `yaml:"task_ttl_seconds"` LeaderElectionID string LeaderElectionNamespace string }
type EventReporterConfig ¶
type InstanceIndexEnvInjectorConfig ¶
type InstanceIndexEnvInjectorConfig struct { Port int32 `yaml:"service_port"` KubeConfig `yaml:",inline"` }
type KubeConfig ¶
type KubeConfig struct {
ConfigPath string `yaml:"kube_config_path"`
}
type MigrationConfig ¶
type MigrationConfig struct { WorkloadsNamespace string KubeConfig `yaml:",inline"` }
type ResourceValidatorConfig ¶
type ResourceValidatorConfig struct { Port int32 `yaml:"service_port"` KubeConfig `yaml:",inline"` }
type TaskReporterConfig ¶
Directories ¶
Path | Synopsis |
---|---|
bifrostfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
eventsfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
handlerfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
client
Package client wraps the k8s client.
|
Package client wraps the k8s client. |
informers/event/eventfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
informers/task/taskfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
jobs/jobsfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
k8sfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
pdb/pdbfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
shared/sharedfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
stset/stsetfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
webhook
Package webhook container extensions to use with eirinix
|
Package webhook container extensions to use with eirinix |
Package migrations organises required migrations of eirini managed k8s objects
|
Package migrations organises required migrations of eirini managed k8s objects |
migrationsfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
models
|
|
prometheusfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
stagerfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
utilfakes
Code generated by counterfeiter.
|
Code generated by counterfeiter. |
Click to show internal directories.
Click to hide internal directories.