state

package
v0.0.0-...-f373e18 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	ReadState(ctx context.Context) (lastMeasurement *contractsv1.Measurement, err error)
	StoreState(ctx context.Context, measurement contractsv1.Measurement) (err error)
}

Client is the interface for retrieving and storing state

func NewClient

func NewClient(ctx context.Context, kubeClientset *kubernetes.Clientset, measurementFilePath, measurementFileConfigMapName string) (Client, error)

NewClient returns new bigquery.Client

Jump to

Keyboard shortcuts

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