bootstrap

package
v0.0.0-...-52063fc Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AerakiArgs

type AerakiArgs struct {
	IstiodAddr        string
	XdsAddr           string
	Namespace         string
	ConfigStoreSecret string
	ElectionID        string
	LogLevel          string
	Protocols         map[protocol.Instance]envoyfilter.Generator
}

AerakiArgs provides all of the configuration parameters for the Aeraki service.

func NewAerakiArgs

func NewAerakiArgs() *AerakiArgs

NewAerakiArgs constructs AerakiArgs with default value.

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server contains the runtime configuration for the Aeraki service.

func NewServer

func NewServer(args *AerakiArgs) (*Server, error)

NewServer creates a new Server instance based on the provided arguments.

func (*Server) Start

func (s *Server) Start(stop <-chan struct{})

Start starts all components of the Aeraki service. Serving can be canceled at any time by closing the provided stop channel. This method won't block

Jump to

Keyboard shortcuts

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