lifecycle

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Endpoints

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

Endpoints provides HTTP lifecycle endpoints - these are typically used when deploying Prana in k8s and provide startup, readiness and live-ness endpoints.

func NewLifecycleEndpoints

func NewLifecycleEndpoints(config conf.Config) *Endpoints

func (*Endpoints) SetActive

func (e *Endpoints) SetActive(active bool)

func (*Endpoints) Start

func (e *Endpoints) Start() error

func (*Endpoints) Stop

func (e *Endpoints) Stop() error

Jump to

Keyboard shortcuts

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