sheets

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2024 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 struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, spreadsheetId string, credentialsFilePath, b64ServiceAccount *string) (*Client, error)

func (*Client) FindNextRow

func (c *Client) FindNextRow(ctx context.Context, lakeName LakeName) (int, error)

func (*Client) ReadMeasurements

func (c *Client) ReadMeasurements(ctx context.Context, lakeName LakeName) ([]*lakeinfov1.LakeInfoMeasurement, error)

func (*Client) WriteMeasurement

func (c *Client) WriteMeasurement(ctx context.Context, lakeName LakeName, measurement *lakeinfov1.LakeInfoMeasurement) error

func (*Client) WriteMeasurements

func (c *Client) WriteMeasurements(ctx context.Context, lakeName LakeName, measurements []*lakeinfov1.LakeInfoMeasurement) error

type LakeName

type LakeName string
var TableRockLake LakeName = "Table Rock Lake"

Jump to

Keyboard shortcuts

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