updater

package
v0.0.0-...-b9690c5 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: BSD-2-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Drainer

type Drainer struct {
	// contains filtered or unexported fields
}

func NewDrainer

func NewDrainer(
	agentClient bpagclient.Client,
	logger boshlog.Logger,
) Drainer

func (Drainer) Drain

func (d Drainer) Drain() error

type Factory

type Factory struct {
	// contains filtered or unexported fields
}

func NewFactory

func NewFactory(
	templatesCompiler bptplcomp.TemplatesCompiler,
	packagesCompilerFactory bppkgscomp.ConcretePackagesCompilerFactory,
	eventLog bpeventlog.Log,
	logger boshlog.Logger,
) Factory

func (Factory) NewUpdater

func (f Factory) NewUpdater(
	agentClient bpagclient.Client,
	depJob bpdep.Job,
	instance bpdep.Instance,
) Updater

type Updater

type Updater struct {
	// contains filtered or unexported fields
}

func NewUpdater

func NewUpdater(
	instanceDesc string,
	drainer Drainer,
	applier bpapplier.Applier,
	eventLog bpeventlog.Log,
	logger boshlog.Logger,
) Updater

func (Updater) SetUp

func (u Updater) SetUp() error

func (Updater) TearDown

func (u Updater) TearDown() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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