observe

package
v0.14.43 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2025 License: MPL-2.0 Imports: 35 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
)
View Source
const (
	RematerializationModeRematerialize             = TerraformRematerializationMode(gql.RematerializationModeRematerialize)
	RematerializationModeSkipRematerialization     = TerraformRematerializationMode(gql.RematerializationModeSkiprematerialization)
	RematerializationModeMustSkipRematerialization = TerraformRematerializationMode("MustSkipRematerialization")
)

Variables

Functions

func Provider

func Provider() *schema.Provider

Provider returns observe terraform provider

Types

type GrantRole added in v0.14.19

type GrantRole string
var (
	Administrator         GrantRole = createGrantRole("Administrator")
	ApitokenCreator       GrantRole = createGrantRole("ApitokenCreator")
	BookmarkManager       GrantRole = createGrantRole("BookmarkManager")
	DashboardCreator      GrantRole = createGrantRole("DashboardCreator")
	DashboardEditor       GrantRole = createGrantRole("DashboardEditor")
	DashboardViewer       GrantRole = createGrantRole("DashboardViewer")
	DatasetAccelerator    GrantRole = createGrantRole("DatasetAccelerator")
	DatasetCreator        GrantRole = createGrantRole("DatasetCreator")
	DatasetEditor         GrantRole = createGrantRole("DatasetEditor")
	DatasetViewer         GrantRole = createGrantRole("DatasetViewer")
	DatastreamCreator     GrantRole = createGrantRole("DatastreamCreator")
	DatastreamEditor      GrantRole = createGrantRole("DatastreamEditor")
	DatastreamViewer      GrantRole = createGrantRole("DatastreamViewer")
	InvestigatorGlobal    GrantRole = createGrantRole("InvestigatorGlobal")
	MonitorCreator        GrantRole = createGrantRole("MonitorCreator")
	MonitorEditor         GrantRole = createGrantRole("MonitorEditor")
	MonitorViewer         GrantRole = createGrantRole("MonitorViewer")
	MonitorActionCreator  GrantRole = createGrantRole("MonitorActionCreator")
	MonitorGlobalMuter    GrantRole = createGrantRole("MonitorGlobalMuter")
	ReferenceTableCreator GrantRole = createGrantRole("ReferenceTableCreator")
	ReportManager         GrantRole = createGrantRole("ReportManager")
	ServiceAccountCreator GrantRole = createGrantRole("ServiceAccountCreator")
	UserDeleter           GrantRole = createGrantRole("UserDeleter")
	UserInviter           GrantRole = createGrantRole("UserInviter")
	WorksheetCreator      GrantRole = createGrantRole("WorksheetCreator")
	WorksheetEditor       GrantRole = createGrantRole("WorksheetEditor")
	WorksheetViewer       GrantRole = createGrantRole("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

type TerraformRematerializationMode added in v0.14.30

type TerraformRematerializationMode string

Terraform-level options for rematerialization mode. This is because Terraform exposes some options the API doesn't have and we shouldn't mix them up

type WorkspaceDefaultGrantPermission added in v0.14.30

type WorkspaceDefaultGrantPermission string
const (
	WorkspaceDefaultGrantPermissionView WorkspaceDefaultGrantPermission = "View"
	WorkspaceDefaultGrantPermissionEdit WorkspaceDefaultGrantPermission = "Edit"
)

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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