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: 55 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GroupVersionKindNameComponents = 4
)

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 {
	ReportHandler http.Handler
}

func (*APIServerRunner) Run

type ControllerConstructor

type ControllerConstructor struct {
	ConfigFile            string
	ServiceCatalogSupport bool
}

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"`
	DeploymentResources []string         `json:"deploymentResources"`

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

func (*Options) DefaultAndValidate

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

func (*Options) DefaultAndValidateAPILocation

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

func (*Options) DefaultAndValidateASAP

func (o *Options) DefaultAndValidateASAP() []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