environ

package
v0.0.0-...-3bfe646 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, config Config) (*update.Updater, error)

New returns new cluster runtime environment updater for the specified configuration

func NewOperationPlan

func NewOperationPlan(
	ctx context.Context,
	operator ops.Operator,
	apps app.Applications,
	operation ops.SiteOperation,
	servers []storage.Server,
) (plan *storage.OperationPlan, err error)

NewOperationPlan creates a new operation plan for the specified operation

Types

type Config

type Config struct {
	update.Config
	// HostLocalPackages specifies the package service on local host
	HostLocalPackages update.LocalPackageService
	// Apps is the cluster application service
	Apps app.Applications
	// ClusterPackages specifies the cluster package service
	ClusterPackages pack.PackageService
	// Client specifies the optional kubernetes client
	Client *kubernetes.Clientset
}

Config describes configuration for updating cluster environment variables

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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