api

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientInterface

type ClientInterface interface {
	RESTClient() *perseshttp.RESTClient
	V1() v1.ClientInterface
	Migrate(body *api.Migrate) (*modelV1.Dashboard, error)
	Validate() ValidateInterface
}

func NewWithClient

func NewWithClient(restClient *perseshttp.RESTClient) ClientInterface

type ValidateInterface added in v0.21.0

type ValidateInterface interface {
	Dashboard(entity *v1.Dashboard) error
	Datasource(entity *v1.Datasource) error
	GlobalDatasource(entity *v1.GlobalDatasource) error
	Variable(entity *v1.Variable) error
	GlobalVariable(entity *v1.GlobalVariable) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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