config

package
v0.0.0-...-552d98a Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certificate

type Certificate struct {
	Crt string `json:"crt"`
	Key string `json:"key"`
}

Certificate configuration

type Configuration

type Configuration struct {
	Repositories []Repository
	Storage      registry.Storage
	Certificate  Certificate `json:"certificate"`
}

Configuration root

func Parse

func Parse(path string) *Configuration

Parse reads a yaml configuration file

type Repository

type Repository struct {
	Name   string
	Path   string
	Host   string
	Plugin map[string]map[string]interface{} `yaml:",inline"`
}

Repository configuration

Jump to

Keyboard shortcuts

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