Help us shape the future of Go! Take the 2026 Go Developer Survey

config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2020 License: Apache-2.0, MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const OPTION_SOURCE = "webhooks"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	cert.CertConfig
	Webhooks               string
	Cluster                string
	Port                   int
	ServicePort            int
	RegistrationName       string
	DedicatedRegistrations bool
	OmitRegistrations      bool
	Labels                 []string

	config.OptionSet
}

func GetConfig

func GetConfig(cfg *areacfg.Config) *Config

func NewConfig

func NewConfig() *Config

func (*Config) AddOptionsToSet

func (this *Config) AddOptionsToSet(set config.OptionSet)

func (*Config) Evaluate

func (this *Config) Evaluate() error

Jump to

Keyboard shortcuts

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