generators

package
v0.3.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bootstrap

type Bootstrap struct {
	Version string
}

func (*Bootstrap) GetName

func (g *Bootstrap) GetName() string

GetName returns the name of the components being generated.

func (*Bootstrap) Manifests

func (g *Bootstrap) Manifests(ctx context.Context) ([]byte, error)

Manifests return the generated components and any error if there is one.

type ClusterAPI

type ClusterAPI struct {
	// GitRef defines the git ref. If set, the generator will use kustomize
	GitRef string
	// Version defines the release version. If GitRef is not set Version must be set and will not use kustomize
	Version string
}

Generator generates provider components for CAPI

func (*ClusterAPI) GetName

func (g *ClusterAPI) GetName() string

GetName returns the name of the components being generated.

func (*ClusterAPI) Manifests

func (g *ClusterAPI) Manifests(ctx context.Context) ([]byte, error)

Manifests return the generated components and any error if there is one.

type Infra

type Infra struct {
	Creds auth.Creds
}

func (*Infra) GetName

func (g *Infra) GetName() string

GetName returns the name of the components being generated.

func (*Infra) Manifests

func (g *Infra) Manifests(ctx context.Context) ([]byte, error)

Manifests return the generated components and any error if there is one.

Jump to

Keyboard shortcuts

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