bufapp

package
v0.43.3-0...-9926edd Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2021 License: Apache-2.0 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 {
	TLS            *tls.Config
	RemoteProvider netconfig.RemoteProvider
}

Config is a config.

func NewConfig

func NewConfig(
	container appname.Container,
	externalConfig ExternalConfig,
) (*Config, error)

NewConfig returns a new Config for the ExternalConfig.

type ExternalConfig

type ExternalConfig struct {
	Version string                             `json:"version,omitempty" yaml:"version,omitempty"`
	TLS     certclient.ExternalClientTLSConfig `json:"tls,omitempty" yaml:"tls,omitempty"`
	Remotes []netconfig.ExternalRemote         `json:"remotes,omitempty" yaml:"remotes,omitempty"`
}

ExternalConfig is an external config.

func (ExternalConfig) IsEmpty

func (e ExternalConfig) IsEmpty() bool

IsEmpty returns true if the externalConfig is empty.

Jump to

Keyboard shortcuts

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