store

package
v0.0.0-...-b022d11 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	GetNode(ctx context.Context, nodename string) (*types.Node, error)
	SetNodeStatus(ctx context.Context, ttl int64) error
	GetNodeStatus(ctx context.Context, nodename string) (*types.NodeStatus, error)
	SetWorkloadStatus(ctx context.Context, status *types.WorkloadStatus, ttl int64) error
	GetIdentifier(ctx context.Context) string
	NodeStatusStream(ctx context.Context) (<-chan *types.NodeStatus, <-chan error)
	ListPodNodes(ctx context.Context, all bool, podname string, labels map[string]string) ([]*types.Node, error)
}

Store wrapper of remote calls

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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