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