clusterconfig

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: 24 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 updater for the specified configuration

func NewOperationPlan

func NewOperationPlan(
	ctx context.Context,
	operator ops.Operator,
	apps app.Applications,
	client *kubernetes.Clientset,
	operation ops.SiteOperation,
	clusterConfig clusterconfig.Interface,
	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 kubernetes client
	Client *kubernetes.Clientset
}

Config describes configuration for updating cluster configuration

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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