cfpkg

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeCF

func MakeCF(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple) (starlark.Value, error)

MakeCF -

func Version

func Version() string

Version -

Types

type CF

type CF struct {
	// contains filtered or unexported fields
}

CF -

func NewCF

func NewCF(k8s shalm.K8s, config Config, timeout time.Duration) (*CF, error)

NewCF -

func (*CF) Apply

func (c *CF) Apply(output shalm.ObjectStream, options *shalm.K8sOptions) error

Apply -

func (*CF) ConfigContent

func (c *CF) ConfigContent() *string

ConfigContent -

func (*CF) Delete

func (c *CF) Delete(output shalm.ObjectStream, options *shalm.K8sOptions) error

Delete -

func (*CF) DeleteObject

func (c *CF) DeleteObject(kind string, name string, options *shalm.K8sOptions) error

DeleteObject -

func (*CF) ForConfig

func (c *CF) ForConfig(config string) (shalm.K8s, error)

ForConfig -

func (*CF) ForSubChart

func (c *CF) ForSubChart(namespace string, app string, version semver.Version, children int) shalm.K8s

ForSubChart -

func (*CF) Get

func (c *CF) Get(kind string, name string, options *shalm.K8sOptions) (*shalm.Object, error)

Get -

func (*CF) Host

func (c *CF) Host() string

Host -

func (*CF) Inspect

func (c *CF) Inspect() string

Inspect -

func (*CF) IsNotExist

func (c *CF) IsNotExist(err error) bool

IsNotExist -

func (*CF) List

func (c *CF) List(kind string, options *shalm.K8sOptions) (*shalm.Object, error)

List -

func (*CF) Progress

func (c *CF) Progress(progress int)

Progress -

func (*CF) RolloutStatus

func (c *CF) RolloutStatus(kind string, name string, options *shalm.K8sOptions) error

RolloutStatus -

func (*CF) SetTool

func (c *CF) SetTool(tool shalm.Tool)

SetTool -

func (*CF) Tool

func (c *CF) Tool() shalm.Tool

Tool -

func (*CF) Wait

func (c *CF) Wait(kind string, name string, condition string, options *shalm.K8sOptions) error

Wait -

func (*CF) Watch

func (c *CF) Watch(kind string, name string, options *shalm.K8sOptions) shalm.ObjectStream

Watch -

func (*CF) WithContext

func (c *CF) WithContext(ctx context.Context) shalm.K8s

WithContext -

type CFConfig

type CFConfig struct {
	URL               string `yaml:"url"`
	Username          string `yaml:"username"`
	Password          string `yaml:"password"`
	SkipSslValidation bool   `yaml:"skip_ssl_validation"`
}

CFConfig -

type Config

type Config struct {
	UAA UaaConfig `yaml:"uaa,omitempty"`
	CF  CFConfig  `yaml:"cf,omitempty"`
}

Config -

type UaaConfig

type UaaConfig struct {
	URL          string `yaml:"url,omitempty"`
	ClientID     string `yaml:"client_id,omitempty"`
	ClientSecret string `yaml:"client_secret,omitempty"`
}

UaaConfig -

Jump to

Keyboard shortcuts

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