observe

package
v0.14.24 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MPL-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CustomerIdMul          int64  = 137
	MinCustomerId          int64  = 100000000000
	MaxCustomerId          int64  = 200000000000
	MinUserId              int64  = 1000
	MaxUserId              int64  = 9999999
	InvalidObjectNameChars string = `:"\`
	MaxNameLength          int    = 127
)

Variables

This section is empty.

Functions

func Provider

func Provider() *schema.Provider

Provider returns observe terraform provider

Types

type GrantRole added in v0.14.19

type GrantRole string
const (
	Administrator      GrantRole = "Administrator"
	DashboardCreator   GrantRole = "DashboardCreator"
	DashboardEditor    GrantRole = "DashboardEditor"
	DashboardViewer    GrantRole = "DashboardViewer"
	DatasetCreator     GrantRole = "DatasetCreator"
	DatasetEditor      GrantRole = "DatasetEditor"
	DatasetViewer      GrantRole = "DatasetViewer"
	DatastreamCreator  GrantRole = "DatastreamCreator"
	DatastreamEditor   GrantRole = "DatastreamEditor"
	DatastreamViewer   GrantRole = "DatastreamViewer"
	MonitorCreator     GrantRole = "MonitorCreator"
	MonitorEditor      GrantRole = "MonitorEditor"
	MonitorViewer      GrantRole = "MonitorViewer"
	MonitorGlobalMuter GrantRole = "MonitorGlobalMuter"
	WorksheetCreator   GrantRole = "WorksheetCreator"
	WorksheetEditor    GrantRole = "WorksheetEditor"
	WorksheetViewer    GrantRole = "WorksheetViewer"
)

func (GrantRole) ToRbacRole added in v0.14.19

func (r GrantRole) ToRbacRole() (gql.RbacRole, error)

func (GrantRole) ToType added in v0.14.19

func (r GrantRole) ToType() *oid.Type

type Input added in v0.13.14

type Input struct {
	Dataset *string ` json:"dataset,omitempty"`
}

Input references an existing data source

type Poller added in v0.13.14

type Poller struct {
	// Interval configures the time interval before reattempting to invoke function
	Interval *time.Duration
	// Timeout specifies the upperbound we will attempt to get a result which meets exit condition
	Timeout *time.Duration
}

Poller runs function periodically until exit condition is met

func (*Poller) Run added in v0.13.14

func (p *Poller) Run(ctx context.Context, fn func(context.Context) error, exitCond func() bool) error

Run runs function until exit condition is met, according to poller settings

type Query added in v0.13.14

type Query struct {
	Inputs   map[string]*Input `json:"inputs"`
	Stages   []*Stage          `json:"stages"`
	StageIds []string          `json:"stage_ids"`
}

type Stage added in v0.13.14

type Stage struct {
	Alias       *string `json:"alias,omitempty"`
	Input       *string `json:"input,omitempty"`
	Pipeline    string  `json:"pipeline"`
	OutputStage bool    `json:"outputStage"`
}

Stage applies a pipeline to an input If no input is provided, stage will follow on from previous stage An alias must be provided for callers to be able to reference this stage in OPAL Internally, the alias does not map to the stageID - it is the input name we use when refering to this stage

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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