sidecar

package
v0.8.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SUCCESS = 0
	ERROR   = 1
)
View Source
const (
	IteratorHeader = "Direktiv-Iterator"
)

Variables

This section is empty.

Functions

func ForceQuit

func ForceQuit()

func RunApplication

func RunApplication()

func Shutdown

func Shutdown(code int)

Types

type LocalServer

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

func (*LocalServer) Start

func (srv *LocalServer) Start()

type NetworkServer

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

NetworkServer defines a network server object.

func (*NetworkServer) Start

func (srv *NetworkServer) Start()

Start starts the network server for the sidecar.

type SignalListener

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

SignalListener controls the signals for a sidecar.

func (*SignalListener) Start

func (sl *SignalListener) Start()

Start starts listening for signals.

type Threads

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

Threads definition of a thread being maintained on a sidecar.

func (*Threads) ExitStatus

func (t *Threads) ExitStatus() int

ExitStatus returns the exit status of a code.

func (*Threads) Register

func (t *Threads) Register(stopper chan *time.Time) func()

Register adds a new channel to the threads.

func (*Threads) Stop

func (t *Threads) Stop(st *time.Time, code int)

Stop stops a thread.

func (*Threads) Wait

func (t *Threads) Wait()

Wait waits until all the threads have been returned.

type WrapperReader

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

func (*WrapperReader) Read

func (wr *WrapperReader) Read(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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