core

package
v1.5.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureNodeAgents added in v0.25.0

func ConfigureNodeAgents(svc MachinesService, monitor mntr.Monitor, orb orb.Orb) error

func Each added in v0.25.0

func Each(svc MachinesService, do func(pool string, machine infra.Machine) error) error

func ListMachines added in v0.26.0

func ListMachines(svc MachinesService) (map[string]infra.Machine, error)

Types

type IterateNodeAgentFuncs added in v0.25.0

type IterateNodeAgentFuncs func(currentNodeAgents *common.CurrentNodeAgents) (queryNodeAgent func(machine infra.Machine, orbiterCommit string) (bool, error), install func(machine infra.Machine) error)

func NodeAgentFuncs added in v0.22.0

func NodeAgentFuncs(
	monitor mntr.Monitor,
	repoURL string,
	repoKey string) (reconfigure func(machines infra.Machine) error, iterate IterateNodeAgentFuncs)

type MachinesService

type MachinesService interface {
	ListPools() ([]string, error)
	List(poolName string) (infra.Machines, error)
	Create(poolName string) (infra.Machine, error)
}

TODO: Do we still need this?

Jump to

Keyboard shortcuts

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