bootstrap

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package bootstrap implements functionality related to Pipy's bootstrap config.

Index

Constants

View Source
const (
	// PipyBootstrapConfigFile is the name Pipy bootstrap configuration file
	PipyBootstrapConfigFile = "bootstrap.yaml"

	// PipyProxyConfigPath is the path where the Sidecar bootstrap config info is located
	PipyProxyConfigPath = "/etc/pipy"

	// PipyRepoCACertFile is the name of the Pipy Repo CA certificate file
	PipyRepoCACertFile = "cacert.pem"

	// PipyRepoCertFile is the name of the Pipy Repo certificate file
	PipyRepoCertFile = "repo_cert.pem"

	// PipyRepoKeyFile is the name of the Pipy Repo private key file
	PipyRepoKeyFile = "repo_key.pem"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// RepoHost is the hostname of the Pipy Repo to connect to
	RepoHost string

	// RepoPort is the port of the Pipy Repo to connect to
	RepoPort uint32

	// NodeID is the proxy's node ID
	NodeID string

	// TLSMinProtocolVersion is the minimum supported TLS protocol version
	TLSMinProtocolVersion string

	// TLSMaxProtocolVersion is the maximum supported TLS protocol version
	TLSMaxProtocolVersion string

	// CipherSuites is the list of cipher that TLS 1.0-1.2 supports
	CipherSuites []string

	// ECDHCurves is the list of ECDH curves it supports
	ECDHCurves []string

	OriginalHealthProbes models.HealthProbes
}

Builder is the type used to build the Pipy bootstrap config.

Jump to

Keyboard shortcuts

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