annotations

package
Version: v0.0.0-...-4f11ef6 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 License: AGPL-3.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	base.ClientFacade
	// contains filtered or unexported fields
}

Client allows access to the annotations API end point.

func NewClient

func NewClient(st base.APICallCloser) *Client

NewClient creates a new client for accessing the annotations API.

func (*Client) Get

func (c *Client) Get(tags []string) ([]params.AnnotationsGetResult, error)

Get returns annotations that have been set on the given entities.

func (*Client) Set

func (c *Client) Set(annotations map[string]map[string]string) ([]params.ErrorResult, error)

Set sets entity annotation pairs.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL