config

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2020 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Registry Registry `yaml:"registry"`
	Feature  Feature  `yaml:"feature"`
}

func New

func New(filename string) (*Config, error)

func (*Config) Save

func (c *Config) Save(filename string) error

type Feature

type Feature struct {
	SkipConditions []string `yaml:"skipConditions"`
}

type Registry

type Registry struct {
	Prefix    string `yaml:"prefix"`
	IP        string `yaml:"ip"`
	Domain    string
	Namespace string
}

func (*Registry) NeedSetHosts

func (r *Registry) NeedSetHosts() bool

Jump to

Keyboard shortcuts

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