options

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2018 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOptionNames

func GetOptionNames(opt interface{}) string

Types

type Clean

type Clean struct {
	Etcd      bool `json:"etcd,omitempty"`
	Binaries  bool `json:"binaries,omitempty"`
	Manifests bool `json:"manifests,omitempty"`
	Kubelet   bool `json:"kubelet,omitempty"`
	Secrets   bool `json:"secrets,omitempty"`
	Network   bool `json:"network,omitempty"`
	Systemd   bool `json:"systemd,omitempty"`
	Kubectl   bool `json:"kubectl,omitempty"`
	Mounts    bool `json:"mounts,omitempty"`
	Iptables  bool `json:"iptables,omitempty"`
	// contains filtered or unexported fields
}

func NewCleanOptions

func NewCleanOptions(cleanString string) *Clean

func (*Clean) StringCLI

func (c *Clean) StringCLI() string

func (*Clean) StringJSON

func (c *Clean) StringJSON() string

type Drain

type Drain struct {
	Pods      bool `json:"pods,omitempty"`
	KubeletGC bool `json:"kubeletgc,omitempty"`
	Iptables  bool `json:"iptables,omitempty"`
	// contains filtered or unexported fields
}

func NewDrainOptions

func NewDrainOptions(drainString string) *Drain

func (*Drain) String

func (c *Drain) String() string

func (*Drain) StringCLI

func (c *Drain) StringCLI() string

Jump to

Keyboard shortcuts

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