api

package
v5.0.0-alpha.7+incompa... Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2017 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Parameters *Parameters
	Clients    *Clients
	Settings   *settings.Settings
}

func New

func New(p *Parameters) (*App, error)

func (*App) Apply

func (app *App) Apply(project, branchName string) error

func (*App) Generate

func (app *App) Generate(project, branchName string) ([]runtime.Object, error)

type Clients

type Clients struct {
	GitHub     gh.Client
	Kubernetes kubectl.Interface
	Statsd     statsdw.Interface
}

type Parameters

type Parameters struct {
	Context string

	Kubeconfig  string
	KubectlPath string `mapstructure:"kubectl-path"`

	GitHubToken   string `mapstructure:"github-token"`
	HTTPCacheDir  string `mapstructure:"http-cache-dir"`
	GELFAddress   string `mapstructure:"gelf-address"`
	StatsdAddress string `mapstructure:"statsd-address"`

	Filename string
}

Jump to

Keyboard shortcuts

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