machines

package
v0.7.0-master Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2018 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package machines is responsible for creating Machine objects for machinepools.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Master

type Master struct {
	MachinesRaw       []byte
	UserDataSecretRaw []byte
}

Master generates the machines for the `master` machine pool.

func (*Master) Dependencies

func (m *Master) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed by the Master asset

func (*Master) Generate

func (m *Master) Generate(dependencies asset.Parents) error

Generate generates the Master asset.

func (*Master) Name

func (m *Master) Name() string

Name returns a human friendly name for the Master Asset.

type Worker

type Worker struct {
	MachineSetRaw     []byte
	UserDataSecretRaw []byte
}

Worker generates the machinesets for `worker` machine pool.

func (*Worker) Dependencies

func (w *Worker) Dependencies() []asset.Asset

Dependencies returns all of the dependencies directly needed by the Worker asset

func (*Worker) Generate

func (w *Worker) Generate(dependencies asset.Parents) error

Generate generates the Worker asset.

func (*Worker) Name

func (w *Worker) Name() string

Name returns a human friendly name for the Worker Asset.

Directories

Path Synopsis
Package aws generates Machine objects for aws.
Package aws generates Machine objects for aws.
Package libvirt generates Machine objects for libvirt.
Package libvirt generates Machine objects for libvirt.
Package openstack generates Machine objects for openstack.
Package openstack generates Machine objects for openstack.

Jump to

Keyboard shortcuts

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