bootstrap

package
v0.0.0-...-2c1c132 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 42 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 {
	Master                   bool
	IstiodAddr               string
	AerakiXdsAddr            string
	AerakiXdsPort            string
	PodName                  string
	IstioConfigMapName       string
	HTTPSAddr                string // The listening address for HTTPS (webhooks).
	HTTPAddr                 string // The listening address for HTTP (health).
	RootNamespace            string
	ClusterID                string
	ConfigStoreSecret        string
	ElectionID               string
	ServerID                 string
	LogLevel                 string
	KubeDomainSuffix         string
	EnableEnvoyFilterNSScope bool
	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 {
	CABundle *bytes.Buffer
	// 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