app

package
v0.0.0-...-e0434a4 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2019 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

func NewReadyAPIServer

func NewReadyAPIServer(server ctrl.Server, readyForWork func()) ctrl.Server

Types

type APIServerRunner

type APIServerRunner struct {
	AggregatorHandler http.Handler
}

func (*APIServerRunner) Run

type ControllerConstructor

type ControllerConstructor struct {
	ConfigFile string
}

func (*ControllerConstructor) AddFlags

func (cc *ControllerConstructor) AddFlags(fs ctrl.FlagSet)

func (*ControllerConstructor) Describe

func (cc *ControllerConstructor) Describe() ctrl.Descriptor

func (*ControllerConstructor) New

func (cc *ControllerConstructor) New(config *ctrl.Config, cctx *ctrl.Context) (*ctrl.Constructed, error)

type Options

type Options struct {
	MasterCluster bool             `json:"masterCluster"`
	Location      options.Location `json:"location"`

	APILocation string `json:"apiLocation"`
	ASAPConfig  pkiutil.ASAP

	EnvironmentWhitelist []string `json:"envWhitelist"`
}

func (*Options) DefaultAndValidate

func (o *Options) DefaultAndValidate() []error

type ReadyServer

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

func (*ReadyServer) Run

func (s *ReadyServer) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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