context

package
v3.1.2+incompatible Latest Latest
Warning

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

Go to latest
Published: May 28, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Version            string
	ConfigPath         string
	ConfigDir          string
	Namespace          string
	Quiet              bool
	Changed            bool
	Client             chClient.Client
	AllowSelfSignedTLS bool
}

func (*Context) GetClient

func (ctx *Context) GetClient() *chClient.Client

func (*Context) GetStorable

func (ctx *Context) GetStorable() Storable

func (*Context) SetAPI

func (ctx *Context) SetAPI(api string) *Context

func (*Context) SetNamespace

func (ctx *Context) SetNamespace(ns string) *Context

func (*Context) SetStorable

func (ctx *Context) SetStorable(config Storable)

type Storable

type Storable struct {
	Namespace          string
	Username           string
	Password           string
	API                string
	AllowSelfSignedTLS bool
}

func (Storable) Merge

func (config Storable) Merge(upd Storable) Storable

Jump to

Keyboard shortcuts

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