api

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(params *Parameters, project, branchName string) error

func Generate

func Generate(params *Parameters, project, branchName string) ([]runtime.Object, error)

Types

type Parameters

type Parameters struct {
	Kubeconfig  string
	KubectlPath string `mapstructure:"kubectl-path"`

	GitHubToken  string `mapstructure:"github-token"`
	HTTPCacheDir string `mapstructure:"http-cache-dir"`

	Filename string
	// contains filtered or unexported fields
}

func (*Parameters) GitHubClient

func (p *Parameters) GitHubClient() gh.Client

func (*Parameters) Kubectl

func (p *Parameters) Kubectl() kubectl.Interface

func (*Parameters) LoadSettings

func (p *Parameters) LoadSettings() *settings.Settings

Jump to

Keyboard shortcuts

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