setup

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MangerIMG                          = "greenhouse/manager:local"
	MangerContainer                    = "manager"
	DeploymentKind                     = "Deployment"
	DeploymentNameSuffix               = "-controller-manager"
	JobKind                            = "Job"
	JobNameSuffix                      = "-kube-webhook-certgen"
	MutatingWebhookConfigurationKind   = "MutatingWebhookConfiguration"
	ValidatingWebhookConfigurationKind = "ValidatingWebhookConfiguration"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Name      string  `json:"name"`
	Namespace *string `json:"namespace"`
	// contains filtered or unexported fields
}

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) WithAllManifests

func (env *ExecutionEnv) WithAllManifests(ctx context.Context, manifest *Manifest) *ExecutionEnv

func (*ExecutionEnv) WithClusterDelete

func (env *ExecutionEnv) WithClusterDelete(name string) *ExecutionEnv

func (*ExecutionEnv) WithClusterSetup

func (env *ExecutionEnv) WithClusterSetup(name, namespace string) *ExecutionEnv

func (*ExecutionEnv) WithLimitedManifests

func (env *ExecutionEnv) WithLimitedManifests(ctx context.Context, manifest *Manifest) *ExecutionEnv

func (*ExecutionEnv) WithWebhookDevelopment

func (env *ExecutionEnv) WithWebhookDevelopment(ctx context.Context, manifest *Manifest) *ExecutionEnv

type Manifest

type Manifest struct {
	ReleaseName  string   `json:"release"`
	ChartPath    string   `json:"chartPath"`
	ValuesPath   string   `json:"valuesPath"`
	CRDOnly      bool     `json:"crdOnly"`
	ExcludeKinds []string `json:"excludeKinds"`
	Webhook      *Webhook `json:"webhook"`
	// contains filtered or unexported fields
}

type Step

type Step func(builder *ExecutionEnv) error

type Webhook

type Webhook struct {
	Envs       []WebhookEnv `json:"envs"`
	DockerFile string       `json:"dockerFile"`
	DevMode    bool         `json:"devMode"`
}

type WebhookEnv

type WebhookEnv struct {
	Name  string `json:"name"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL