Documentation
¶
Index ¶
- Constants
- type Cluster
- type ExecutionEnv
- func (env *ExecutionEnv) Run() error
- func (env *ExecutionEnv) WithClusterDelete(name string) *ExecutionEnv
- func (env *ExecutionEnv) WithClusterSetup(name, namespace, version, configPath string) *ExecutionEnv
- func (env *ExecutionEnv) WithDashboardSetup(ctx context.Context, manifest *Manifest) *ExecutionEnv
- func (env *ExecutionEnv) WithLimitedManifests(ctx context.Context, manifest *Manifest) *ExecutionEnv
- func (env *ExecutionEnv) WithLocalPluginDev(manifest *Manifest) *ExecutionEnv
- func (env *ExecutionEnv) WithWebhookDevelopment(ctx context.Context, manifest *Manifest) *ExecutionEnv
- type Manifest
- type Step
- type Webhook
- type WebhookEnv
Constants ¶
View Source
const ( ConfigMapKind = "ConfigMap" ServiceKind = "Service" DashboardContainer = "dashboard" DashboardIMG = "ghcr.io/cloudoperators/juno-app-greenhouse:latest" )
View Source
const ( MangerIMG = "greenhouse/manager:local" MangerContainer = "manager" DeploymentKind = "Deployment" ManagerDeploymentNameSuffix = "-controller-manager" JobKind = "Job" JobNameSuffix = "-kube-webhook-certgen" MutatingWebhookConfigurationKind = "MutatingWebhookConfiguration" ValidatingWebhookConfigurationKind = "ValidatingWebhookConfiguration" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExecutionEnv ¶
type ExecutionEnv struct {
// contains filtered or unexported fields
}
func NewExecutionEnv ¶
func NewExecutionEnv() *ExecutionEnv
func (*ExecutionEnv) Run ¶
func (env *ExecutionEnv) Run() error
func (*ExecutionEnv) WithClusterDelete ¶
func (env *ExecutionEnv) WithClusterDelete(name string) *ExecutionEnv
func (*ExecutionEnv) WithClusterSetup ¶
func (env *ExecutionEnv) WithClusterSetup(name, namespace, version, configPath string) *ExecutionEnv
func (*ExecutionEnv) WithDashboardSetup ¶
func (env *ExecutionEnv) WithDashboardSetup(ctx context.Context, manifest *Manifest) *ExecutionEnv
func (*ExecutionEnv) WithLimitedManifests ¶
func (env *ExecutionEnv) WithLimitedManifests(ctx context.Context, manifest *Manifest) *ExecutionEnv
func (*ExecutionEnv) WithLocalPluginDev ¶
func (env *ExecutionEnv) WithLocalPluginDev(manifest *Manifest) *ExecutionEnv
func (*ExecutionEnv) WithWebhookDevelopment ¶
func (env *ExecutionEnv) WithWebhookDevelopment(ctx context.Context, manifest *Manifest) *ExecutionEnv
type Manifest ¶
type Manifest struct {
ReleaseName string `yaml:"release" json:"release"`
ChartPath string `yaml:"chartPath" json:"chartPath"`
ValuesPath string `yaml:"valuesPath" json:"valuesPath"`
CRDOnly bool `yaml:"crdOnly" json:"crdOnly"`
ExcludeKinds []string `yaml:"excludeKinds" json:"excludeKinds"`
Webhook *Webhook `yaml:"webhook" json:"webhook"`
// contains filtered or unexported fields
}
type Step ¶
type Step func(builder *ExecutionEnv) error
type Webhook ¶
type Webhook struct {
Envs []WebhookEnv `yaml:"envs" json:"envs"`
DockerFile string `yaml:"dockerFile" json:"dockerFile"`
DevMode bool `yaml:"devMode" json:"devMode"`
}
func (*Webhook) AddOrOverrideEnv ¶
type WebhookEnv ¶
Click to show internal directories.
Click to hide internal directories.