state

package
v0.0.0-...-e7538a4 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type State

type State struct {
	IsFailedReadiness    bool  `json:"is_failed_readiness"`
	IsFailedLiveness     bool  `json:"is_failed_liveness"`
	ShutdownDelaySeconds int64 `json:"shutdown_delay_seconds"`
}

type StateManager

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

func NewStateManager

func NewStateManager() *StateManager

func (*StateManager) GetState

func (sm *StateManager) GetState() State

func (*StateManager) SetState

func (sm *StateManager) SetState(state State)

Jump to

Keyboard shortcuts

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