machines

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: Apache-2.0 Imports: 15 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 ClusterK8sIO

type ClusterK8sIO struct {
	Raw []byte
}

ClusterK8sIO generates the `Cluster.cluster.k8s.io/v1alpha1` object.

func (*ClusterK8sIO) Dependencies

func (c *ClusterK8sIO) Dependencies() []asset.Asset

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

func (*ClusterK8sIO) Generate

func (c *ClusterK8sIO) Generate(dependencies asset.Parents) error

Generate generates the Worker asset.

func (*ClusterK8sIO) Name

func (c *ClusterK8sIO) Name() string

Name returns a human friendly name for the ClusterK8sIO Asset.

type Master

type Master struct {
	MachinesRaw        []byte
	UserDataSecretsRaw []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