action

package
v0.0.0-...-87b999f Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2018 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(fs afero.Fs, env string, options client.ApplyOptions) error

Apply applies an environment.

func ComponentList

func ComponentList(fs afero.Fs, namespace, output string) error

ComponentList create a list of components in a namespace.

func Delete

func Delete(fs afero.Fs, env string, options client.DeleteOptions, opts ...DeleteOpt) error

Delete deletes from an environment.

func EnvDescribe

func EnvDescribe(fs afero.Fs, envName string) error

EnvDescribe describes an environment by printing its configuration.

func EnvList

func EnvList(fs afero.Fs) error

EnvList lists available namespaces

func EnvTargets

func EnvTargets(fs afero.Fs, envName string, nsNames []string) error

EnvTargets sets targets for an environment.

func Import

func Import(fs afero.Fs, nsName, path string) error

Import imports files or directories into ksonnet.

func NsCreate

func NsCreate(fs afero.Fs, nsName string) error

NsCreate creates a component namespace

func NsList

func NsList(fs afero.Fs) error

NsList lists available namespaces

func ParamDelete

func ParamDelete(fs afero.Fs, componentName, path string, opts ...ParamDeleteOpt) error

ParamDelete deletes a parameter from a component.

func ParamList

func ParamList(fs afero.Fs, nsName string) error

func ParamSet

func ParamSet(fs afero.Fs, componentName, path, value string, opts ...ParamSetOpt) error

ParamSet sets a parameter for a component.

func Show

func Show(fs afero.Fs, env string, opts ...ShowOpt) error

Show shows an environment.

Types

type DeleteOpt

type DeleteOpt func(*delete)

DeleteOpt is an option for configuring Delete.

func DeleteWithComponents

func DeleteWithComponents(names ...string) DeleteOpt

DeleteWithComponents selects the components to be delete.

type ParamDeleteOpt

type ParamDeleteOpt func(*paramDelete)

ParamDeleteOpt is an option for configuration ParamDelete.

func ParamDeleteWithIndex

func ParamDeleteWithIndex(index int) ParamDeleteOpt

ParamDeleteWithIndex sets the index for the delete option.

type ParamSetOpt

type ParamSetOpt func(*paramSet)

ParamSetOpt is an option for configuring ParamSet.

func ParamSetGlobal

func ParamSetGlobal(isGlobal bool) ParamSetOpt

func ParamSetWithIndex

func ParamSetWithIndex(index int) ParamSetOpt

ParamSetWithIndex sets the index for the set option.

type ShowOpt

type ShowOpt func(*show)

ShowOpt is an option for configuring Show.

func ShowWithComponents

func ShowWithComponents(names ...string) ShowOpt

ShowWithComponents selects the components to be show.

Jump to

Keyboard shortcuts

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