config

package
v0.0.0-...-c55fff8 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RepConfig

type RepConfig struct {
	AdvertiseDomain           string                `json:"advertise_domain,omitempty"`
	BBSAddress                string                `json:"bbs_address"`
	BBSClientSessionCacheSize int                   `json:"bbs_client_session_cache_size,omitempty"`
	BBSMaxIdleConnsPerHost    int                   `json:"bbs_max_idle_conns_per_host,omitempty"`
	BBSCACertFile             string                `json:"bbs_ca_cert_file"`     // DEPRECATED. Kept around for dusts compatability
	BBSClientCertFile         string                `json:"bbs_client_cert_file"` // DEPRECATED. Kept around for dusts compatability
	BBSClientKeyFile          string                `json:"bbs_client_key_file"`  // DEPRECATED. Kept around for dusts compatability
	CaCertFile                string                `json:"ca_cert_file"`
	CellID                    string                `json:"cell_id"`
	CellIndex                 int                   `json:"cell_index"`
	CommunicationTimeout      durationjson.Duration `json:"communication_timeout,omitempty"`
	EvacuationPollingInterval durationjson.Duration `json:"evacuation_polling_interval,omitempty"`
	EvacuationTimeout         durationjson.Duration `json:"evacuation_timeout,omitempty"`
	LayeringMode              string                `json:"layering_mode,omitempty"`
	ListenAddr                string                `json:"listen_addr,omitempty"`
	ListenAddrSecurable       string                `json:"listen_addr_securable,omitempty"`
	LockRetryInterval         durationjson.Duration `json:"lock_retry_interval,omitempty"`
	LockTTL                   durationjson.Duration `json:"lock_ttl,omitempty"`
	OptionalPlacementTags     []string              `json:"optional_placement_tags"`
	PlacementTags             []string              `json:"placement_tags"`
	PollingInterval           durationjson.Duration `json:"polling_interval,omitempty"`
	PreloadedRootFS           RootFSes              `json:"preloaded_root_fs"`
	ServerCertFile            string                `json:"server_cert_file"` // DEPRECATED. Kept around for dusts compatability
	ServerKeyFile             string                `json:"server_key_file"`  // DEPRECATED. Kept around for dusts compatability
	CertFile                  string                `json:"cert_file"`
	KeyFile                   string                `json:"key_file"`
	SessionName               string                `json:"session_name,omitempty"`
	SupportedProviders        []string              `json:"supported_providers"`
	Zone                      string                `json:"zone"`
	ReportInterval            durationjson.Duration `json:"report_interval,omitempty"`
	LoggregatorConfig         loggingclient.Config  `json:"loggregator"`
	debugserver.DebugServerConfig
	executorinit.ExecutorConfig
	lagerflags.LagerConfig
	locket.ClientLocketConfig
}

func NewRepConfig

func NewRepConfig(configPath string) (RepConfig, error)

type RootFS

type RootFS struct {
	Name, Path string
}

type RootFSes

type RootFSes []RootFS

func (RootFSes) MarshalJSON

func (m RootFSes) MarshalJSON() (b []byte, err error)

func (RootFSes) Names

func (rootFSes RootFSes) Names() []string

func (RootFSes) StackPathMap

func (rootFSes RootFSes) StackPathMap() rep.StackPathMap

func (*RootFSes) UnmarshalJSON

func (m *RootFSes) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

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