server

package
v0.0.0-...-0ff8929 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SwiftOptions

type SwiftOptions struct {
	RecommendedOptions *options.RecommendedOptions
	TillerOptions      *TillerOptions
	LogRPC             bool
}

func NewSwiftOptions

func NewSwiftOptions() *SwiftOptions

func (*SwiftOptions) AddFlags

func (o *SwiftOptions) AddFlags(fs *pflag.FlagSet)

func (*SwiftOptions) Complete

func (o *SwiftOptions) Complete() error

func (SwiftOptions) Config

func (o SwiftOptions) Config() (*server.Config, error)

func (SwiftOptions) RunServer

func (o SwiftOptions) RunServer(stopCh <-chan struct{}) error

func (SwiftOptions) Validate

func (o SwiftOptions) Validate(args []string) error

type TillerOptions

type TillerOptions struct {
	Connector            string // incluster, direct, kubeconfig, appscode
	Endpoint             string
	CACertFile           string
	ClientCertFile       string
	ClientPrivateKeyFile string
	InsecureSkipVerify   bool
	Timeout              time.Duration
	KubeContext          string
}

func NewTillerOptions

func NewTillerOptions() *TillerOptions

func (*TillerOptions) AddFlags

func (opt *TillerOptions) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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