sidecar

package
v0.0.0-...-39db037 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sidecar

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

Sidecar is the entity to joint provisioner, cache, etcd and launch the program.

func NewSidecar

func NewSidecar(cfg *config.Config) (*Sidecar, error)

NewSidecar creates a Sidecar object.

func (*Sidecar) Revision

func (s *Sidecar) Revision() int64

Revision implements etcdv3.Revisioner.

func (*Sidecar) Run

func (s *Sidecar) Run(stop chan struct{}) error

Run runs the sidecar program.

Jump to

Keyboard shortcuts

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