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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Main

func Main()

Types

type ControllerConstructor

type ControllerConstructor struct {
	FlagConfigFile string
}

func (*ControllerConstructor) AddFlags

func (cc *ControllerConstructor) AddFlags(flagset 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 {
	ASAPClientConfig pkiutil.ASAP

	Providers           Providers        `json:"providers"`
	Location            options.Location `json:"location"`
	AllowMutateServices bool             `json:"allowMutateServices"`
}

func (*Options) DefaultAndValidate

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

type Providers

type Providers struct {
	ServiceCentralURL *url.URL // we use custom json marshalling to read it
	DeployinatorURL   *url.URL
}

func (*Providers) UnmarshalJSON

func (p *Providers) UnmarshalJSON(data []byte) error

UnmarshalJSON unmarshals our untyped config file into a typed struct including URLs

Jump to

Keyboard shortcuts

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