domain

package
v2.14.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: MIT Imports: 12 Imported by: 61

README

Generated types and API client

oss.ymlmust be periodically synced with latest changes and types and client must be re-generated to maintain full compatibility with the latest InfluxDB release

Install oapi generator

git clone git@github.com:bonitoo-io/oapi-codegen.git cd oapi-codegen git checkout feat/template_helpers go install ./cmd/oapi-codegen/oapi-codegen.go

Download latest swagger

wget https://raw.githubusercontent.com/influxdata/openapi/master/contracts/oss.yml cd domain

Generate

Generate types

oapi-codegen -generate types -exclude-tags Checks -o types.gen.go -package domain -templates .\templates oss.yml

Generate client

oapi-codegen -generate client -exclude-tags Checks -o client.gen.go -package domain -templates .\templates oss.yml

Documentation

Overview

Package domain provides primitives to interact with the openapi HTTP API.

Code generated by version DO NOT EDIT.

Package domain provides primitives to interact with the openapi HTTP API.

Code generated by version DO NOT EDIT.

Package domain provides primitives to interact with the openapi HTTP API.

Code generated by version DO NOT EDIT.

Package domain provides primitives to interact with the openapi HTTP API.

Code generated by version DO NOT EDIT.

Index

Constants

View Source
const (
	BasicAuthenticationScopes = "BasicAuthentication.Scopes"
	TokenAuthenticationScopes = "TokenAuthentication.Scopes"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ASTResponse

type ASTResponse struct {
	// Represents a complete package source tree.
	Ast *Package `json:"ast,omitempty"`
}

Contains the AST for the supplied Flux query

type AddResourceMemberRequestBody

type AddResourceMemberRequestBody struct {
	// The ID of the user to add to the resource.
	Id string `json:"id"`

	// The name of the user to add to the resource.
	Name *string `json:"name,omitempty"`
}

AddResourceMemberRequestBody defines model for AddResourceMemberRequestBody.

type After added in v2.1.0

type After string

After defines model for After.

type AnalyzeQueryResponse

type AnalyzeQueryResponse struct {
	Errors *[]struct {
		Character *int    `json:"character,omitempty"`
		Column    *int    `json:"column,omitempty"`
		Line      *int    `json:"line,omitempty"`
		Message   *string `json:"message,omitempty"`
	} `json:"errors,omitempty"`
}

AnalyzeQueryResponse defines model for AnalyzeQueryResponse.

type ArrayExpression

type ArrayExpression struct {
	// Elements of the array
	Elements *[]Expression `json:"elements,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

Used to create and directly specify the elements of an array object

type Authorization

type Authorization struct {
	// Embedded struct due to allOf(#/components/schemas/AuthorizationUpdateRequest)
	AuthorizationUpdateRequest `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	CreatedAt *time.Time `json:"createdAt,omitempty"`
	Id        *string    `json:"id,omitempty"`
	Links     *struct {
		// URI of resource.
		Self *Link `json:"self,omitempty"`

		// URI of resource.
		User *Link `json:"user,omitempty"`
	} `json:"links,omitempty"`

	// The name of the organization that the token is scoped to.
	Org *string `json:"org,omitempty"`

	// The ID of the organization.
	OrgID *string `json:"orgID,omitempty"`

	// A list of permissions for an authorization.
	// An authorization must have at least one permission.
	Permissions *[]Permission `json:"permissions,omitempty"`

	// The API token for authenticating InfluxDB API and CLI requests.
	Token     *string    `json:"token,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`

	// The name of the user that created and owns the token.
	User *string `json:"user,omitempty"`

	// The ID of the user that created and owns the token.
	UserID *string `json:"userID,omitempty"`
}

Authorization defines model for Authorization.

type AuthorizationError added in v2.11.0

type AuthorizationError struct {
	// The HTTP status code description. Default is `unauthorized`.
	Code *AuthorizationErrorCode `json:"code,omitempty"`

	// A human-readable message that may contain detail about the error.
	Message *string `json:"message,omitempty"`
}

AuthorizationError defines model for AuthorizationError.

type AuthorizationErrorCode added in v2.11.0

type AuthorizationErrorCode string

The HTTP status code description. Default is `unauthorized`.

const (
	AuthorizationErrorCodeUnauthorized AuthorizationErrorCode = "unauthorized"
)

Defines values for AuthorizationErrorCode.

type AuthorizationPostRequest added in v2.5.0

type AuthorizationPostRequest struct {
	// Embedded struct due to allOf(#/components/schemas/AuthorizationUpdateRequest)
	AuthorizationUpdateRequest `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// The ID of the organization that owns the authorization.
	OrgID *string `json:"orgID,omitempty"`

	// A list of permissions for an authorization.
	// An authorization must have at least one permission.
	Permissions *[]Permission `json:"permissions,omitempty"`

	// The ID of the user that the authorization is scoped to.
	UserID *string `json:"userID,omitempty"`
}

AuthorizationPostRequest defines model for AuthorizationPostRequest.

type AuthorizationUpdateRequest

type AuthorizationUpdateRequest struct {
	// A description of the token.
	Description *string `json:"description,omitempty"`

	// Status of the token. If `inactive`, requests using the token will be rejected.
	Status *AuthorizationUpdateRequestStatus `json:"status,omitempty"`
}

AuthorizationUpdateRequest defines model for AuthorizationUpdateRequest.

type AuthorizationUpdateRequestStatus

type AuthorizationUpdateRequestStatus string

Status of the token. If `inactive`, requests using the token will be rejected.

const (
	AuthorizationUpdateRequestStatusActive AuthorizationUpdateRequestStatus = "active"

	AuthorizationUpdateRequestStatusInactive AuthorizationUpdateRequestStatus = "inactive"
)

Defines values for AuthorizationUpdateRequestStatus.

type Authorizations

type Authorizations struct {
	Authorizations *[]Authorization `json:"authorizations,omitempty"`

	// URI pointers for additional paged results.
	Links *Links `json:"links,omitempty"`
}

Authorizations defines model for Authorizations.

type Axes

type Axes struct {
	// Axis used in a visualization.
	X Axis `json:"x"`

	// Axis used in a visualization.
	Y Axis `json:"y"`
}

The viewport for a View's visualizations

type Axis

type Axis struct {
	// Radix for formatting axis values.
	Base *AxisBase `json:"base,omitempty"`

	// The extents of the axis in the form [lower, upper]. Clients determine whether bounds are inclusive or exclusive of their limits.
	Bounds *[]string `json:"bounds,omitempty"`

	// Description of the axis.
	Label *string `json:"label,omitempty"`

	// Label prefix for formatting axis values.
	Prefix *string `json:"prefix,omitempty"`

	// Scale is the axis formatting scale. Supported: "log", "linear"
	Scale *AxisScale `json:"scale,omitempty"`

	// Label suffix for formatting axis values.
	Suffix *string `json:"suffix,omitempty"`
}

Axis used in a visualization.

type AxisBase

type AxisBase string

Radix for formatting axis values.

const (
	AxisBaseEmpty AxisBase = ""

	AxisBaseN10 AxisBase = "10"

	AxisBaseN2 AxisBase = "2"
)

Defines values for AxisBase.

type AxisScale

type AxisScale string

Scale is the axis formatting scale. Supported: "log", "linear"

const (
	AxisScaleLinear AxisScale = "linear"

	AxisScaleLog AxisScale = "log"
)

Defines values for AxisScale.

type BadRequestError added in v2.11.0

type BadRequestError Error

BadRequestError defines model for BadRequestError.

type BadStatement

type BadStatement struct {
	// Raw source text
	Text *string `json:"text,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

A placeholder for statements for which no correct statement nodes can be created

type BandViewProperties added in v2.1.0

type BandViewProperties struct {
	AdaptiveZoomHide *bool `json:"adaptiveZoomHide,omitempty"`

	// The viewport for a View's visualizations
	Axes Axes `json:"axes"`

	// Colors define color encoding of data into a visualization
	Colors                     []DashboardColor                  `json:"colors"`
	GenerateXAxisTicks         *[]string                         `json:"generateXAxisTicks,omitempty"`
	GenerateYAxisTicks         *[]string                         `json:"generateYAxisTicks,omitempty"`
	Geom                       XYGeom                            `json:"geom"`
	HoverDimension             *BandViewPropertiesHoverDimension `json:"hoverDimension,omitempty"`
	LegendColorizeRows         *bool                             `json:"legendColorizeRows,omitempty"`
	LegendHide                 *bool                             `json:"legendHide,omitempty"`
	LegendOpacity              *float32                          `json:"legendOpacity,omitempty"`
	LegendOrientationThreshold *int                              `json:"legendOrientationThreshold,omitempty"`
	LowerColumn                *string                           `json:"lowerColumn,omitempty"`
	MainColumn                 *string                           `json:"mainColumn,omitempty"`
	Note                       string                            `json:"note"`
	Queries                    []DashboardQuery                  `json:"queries"`
	Shape                      BandViewPropertiesShape           `json:"shape"`

	// If true, will display note when empty
	ShowNoteWhenEmpty bool `json:"showNoteWhenEmpty"`

	// StaticLegend represents the options specific to the static legend
	StaticLegend *StaticLegend          `json:"staticLegend,omitempty"`
	TimeFormat   *string                `json:"timeFormat,omitempty"`
	Type         BandViewPropertiesType `json:"type"`
	UpperColumn  *string                `json:"upperColumn,omitempty"`
	XColumn      *string                `json:"xColumn,omitempty"`
	XTickStart   *float32               `json:"xTickStart,omitempty"`
	XTickStep    *float32               `json:"xTickStep,omitempty"`
	XTotalTicks  *int                   `json:"xTotalTicks,omitempty"`
	YColumn      *string                `json:"yColumn,omitempty"`
	YTickStart   *float32               `json:"yTickStart,omitempty"`
	YTickStep    *float32               `json:"yTickStep,omitempty"`
	YTotalTicks  *int                   `json:"yTotalTicks,omitempty"`
}

BandViewProperties defines model for BandViewProperties.

type BandViewPropertiesHoverDimension added in v2.1.0

type BandViewPropertiesHoverDimension string

BandViewPropertiesHoverDimension defines model for BandViewProperties.HoverDimension.

const (
	BandViewPropertiesHoverDimensionAuto BandViewPropertiesHoverDimension = "auto"

	BandViewPropertiesHoverDimensionX BandViewPropertiesHoverDimension = "x"

	BandViewPropertiesHoverDimensionXy BandViewPropertiesHoverDimension = "xy"

	BandViewPropertiesHoverDimensionY BandViewPropertiesHoverDimension = "y"
)

Defines values for BandViewPropertiesHoverDimension.

type BandViewPropertiesShape added in v2.1.0

type BandViewPropertiesShape string

BandViewPropertiesShape defines model for BandViewProperties.Shape.

const (
	BandViewPropertiesShapeChronografV2 BandViewPropertiesShape = "chronograf-v2"
)

Defines values for BandViewPropertiesShape.

type BandViewPropertiesType added in v2.1.0

type BandViewPropertiesType string

BandViewPropertiesType defines model for BandViewProperties.Type.

const (
	BandViewPropertiesTypeBand BandViewPropertiesType = "band"
)

Defines values for BandViewPropertiesType.

type BinaryExpression

type BinaryExpression struct {
	Left     *Expression `json:"left,omitempty"`
	Operator *string     `json:"operator,omitempty"`
	Right    *Expression `json:"right,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

uses binary operators to act on two operands in an expression

type Block

type Block struct {
	// Block body
	Body *[]Statement `json:"body,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

A set of statements

type BooleanLiteral

type BooleanLiteral struct {
	// Type of AST node
	Type  *NodeType `json:"type,omitempty"`
	Value *bool     `json:"value,omitempty"`
}

Represents boolean values

type Bucket

type Bucket struct {
	CreatedAt   *time.Time `json:"createdAt,omitempty"`
	Description *string    `json:"description,omitempty"`
	Id          *string    `json:"id,omitempty"`
	Labels      *Labels    `json:"labels,omitempty"`
	Links       *struct {
		// URI of resource.
		Labels *Link `json:"labels,omitempty"`

		// URI of resource.
		Members *Link `json:"members,omitempty"`

		// URI of resource.
		Org *Link `json:"org,omitempty"`

		// URI of resource.
		Owners *Link `json:"owners,omitempty"`

		// URI of resource.
		Self *Link `json:"self,omitempty"`

		// URI of resource.
		Write *Link `json:"write,omitempty"`
	} `json:"links,omitempty"`
	Name  string  `json:"name"`
	OrgID *string `json:"orgID,omitempty"`

	// Retention rules to expire or retain data.
	// #### InfluxDB Cloud
	//
	// - `retentionRules` is required.
	//
	// #### InfluxDB OSS
	//
	// - `retentionRules` isn't required.
	RetentionRules RetentionRules `json:"retentionRules"`
	Rp             *string        `json:"rp,omitempty"`
	SchemaType     *SchemaType    `json:"schemaType,omitempty"`
	Type           *BucketType    `json:"type,omitempty"`
	UpdatedAt      *time.Time     `json:"updatedAt,omitempty"`
}

Bucket defines model for Bucket.

type BucketMetadataManifest added in v2.5.0

type BucketMetadataManifest struct {
	BucketID               string                   `json:"bucketID"`
	BucketName             string                   `json:"bucketName"`
	DefaultRetentionPolicy string                   `json:"defaultRetentionPolicy"`
	Description            *string                  `json:"description,omitempty"`
	OrganizationID         string                   `json:"organizationID"`
	OrganizationName       string                   `json:"organizationName"`
	RetentionPolicies      RetentionPolicyManifests `json:"retentionPolicies"`
}

BucketMetadataManifest defines model for BucketMetadataManifest.

type BucketMetadataManifests added in v2.5.0

type BucketMetadataManifests []BucketMetadataManifest

BucketMetadataManifests defines model for BucketMetadataManifests.

type BucketShardMapping added in v2.5.0

type BucketShardMapping struct {
	NewId int64 `json:"newId"`
	OldId int64 `json:"oldId"`
}

BucketShardMapping defines model for BucketShardMapping.

type BucketShardMappings added in v2.5.0

type BucketShardMappings []BucketShardMapping

BucketShardMappings defines model for BucketShardMappings.

type BucketType

type BucketType string

BucketType defines model for Bucket.Type.

const (
	BucketTypeSystem BucketType = "system"

	BucketTypeUser BucketType = "user"
)

Defines values for BucketType.

type Buckets

type Buckets struct {
	Buckets *[]Bucket `json:"buckets,omitempty"`

	// URI pointers for additional paged results.
	Links *Links `json:"links,omitempty"`
}

Buckets defines model for Buckets.

type BuilderAggregateFunctionType

type BuilderAggregateFunctionType string

BuilderAggregateFunctionType defines model for BuilderAggregateFunctionType.

const (
	BuilderAggregateFunctionTypeFilter BuilderAggregateFunctionType = "filter"

	BuilderAggregateFunctionTypeGroup BuilderAggregateFunctionType = "group"
)

Defines values for BuilderAggregateFunctionType.

type BuilderConfig

type BuilderConfig struct {
	AggregateWindow *struct {
		FillValues *bool   `json:"fillValues,omitempty"`
		Period     *string `json:"period,omitempty"`
	} `json:"aggregateWindow,omitempty"`
	Buckets   *[]string               `json:"buckets,omitempty"`
	Functions *[]BuilderFunctionsType `json:"functions,omitempty"`
	Tags      *[]BuilderTagsType      `json:"tags,omitempty"`
}

BuilderConfig defines model for BuilderConfig.

type BuilderFunctionsType

type BuilderFunctionsType struct {
	Name *string `json:"name,omitempty"`
}

BuilderFunctionsType defines model for BuilderFunctionsType.

type BuilderTagsType

type BuilderTagsType struct {
	AggregateFunctionType *BuilderAggregateFunctionType `json:"aggregateFunctionType,omitempty"`
	Key                   *string                       `json:"key,omitempty"`
	Values                *[]string                     `json:"values,omitempty"`
}

BuilderTagsType defines model for BuilderTagsType.

type BuiltinStatement

type BuiltinStatement struct {
	// A valid Flux identifier
	Id *Identifier `json:"id,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

Declares a builtin identifier and its type

type CallExpression

type CallExpression struct {
	// Function arguments
	Arguments *[]Expression `json:"arguments,omitempty"`
	Callee    *Expression   `json:"callee,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

Represents a function call

type Cell

type Cell struct {
	H     *int32  `json:"h,omitempty"`
	Id    *string `json:"id,omitempty"`
	Links *struct {
		Self *string `json:"self,omitempty"`
		View *string `json:"view,omitempty"`
	} `json:"links,omitempty"`

	// The reference to a view from the views API.
	ViewID *string `json:"viewID,omitempty"`
	W      *int32  `json:"w,omitempty"`
	X      *int32  `json:"x,omitempty"`
	Y      *int32  `json:"y,omitempty"`
}

Cell defines model for Cell.

type CellUpdate

type CellUpdate struct {
	H *int32 `json:"h,omitempty"`
	W *int32 `json:"w,omitempty"`
	X *int32 `json:"x,omitempty"`
	Y *int32 `json:"y,omitempty"`
}

CellUpdate defines model for CellUpdate.

type CellWithViewProperties

type CellWithViewProperties struct {
	// Embedded struct due to allOf(#/components/schemas/Cell)
	Cell `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	Name       *string         `json:"name,omitempty"`
	Properties *ViewProperties `json:"properties,omitempty"`
}

CellWithViewProperties defines model for CellWithViewProperties.

type Cells

type Cells []Cell

Cells defines model for Cells.

type CellsWithViewProperties

type CellsWithViewProperties []CellWithViewProperties

CellsWithViewProperties defines model for CellsWithViewProperties.

type Check

type Check interface {
	Type() string
}

Check defines model for Check.

type CheckBase

type CheckBase struct {
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// An optional description of the check.
	Description   *string                 `json:"description,omitempty"`
	Id            *string                 `json:"id,omitempty"`
	Labels        *Labels                 `json:"labels,omitempty"`
	LastRunError  *string                 `json:"lastRunError,omitempty"`
	LastRunStatus *CheckBaseLastRunStatus `json:"lastRunStatus,omitempty"`

	// A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)) of the latest scheduled and completed run.
	LatestCompleted *time.Time `json:"latestCompleted,omitempty"`
	Links           *struct {
		// URI of resource.
		Labels *Link `json:"labels,omitempty"`

		// URI of resource.
		Members *Link `json:"members,omitempty"`

		// URI of resource.
		Owners *Link `json:"owners,omitempty"`

		// URI of resource.
		Query *Link `json:"query,omitempty"`

		// URI of resource.
		Self *Link `json:"self,omitempty"`
	} `json:"links,omitempty"`
	Name string `json:"name"`

	// The ID of the organization that owns this check.
	OrgID string `json:"orgID"`

	// The ID of creator used to create this check.
	OwnerID *string        `json:"ownerID,omitempty"`
	Query   DashboardQuery `json:"query"`

	// `inactive` cancels scheduled runs and prevents manual runs of the task.
	Status TaskStatusType `json:"status"`

	// The ID of the task associated with this check.
	TaskID    *string    `json:"taskID,omitempty"`
	UpdatedAt *time.Time `json:"updatedAt,omitempty"`
}

CheckBase defines model for CheckBase.

type CheckBaseExtend added in v2.14.0

type CheckBaseExtend struct {
	CheckBase
	// Embedded fields due to inline allOf schema
	// Check repetition interval.
	Every *string `json:"every,omitempty"`

	// Duration to delay after the schedule, before executing check.
	Offset *string `json:"offset,omitempty"`

	// The template used to generate and write a status message.
	StatusMessageTemplate *string `json:"statusMessageTemplate,omitempty"`

	// List of tags to write to each status.
	Tags *[]struct {
		Key   *string `json:"key,omitempty"`
		Value *string `json:"value,omitempty"`
	} `json:"tags,omitempty"`
}

type CheckBaseLastRunStatus

type CheckBaseLastRunStatus string

CheckBaseLastRunStatus defines model for CheckBase.LastRunStatus.

const (
	CheckBaseLastRunStatusCanceled CheckBaseLastRunStatus = "canceled"

	CheckBaseLastRunStatusFailed CheckBaseLastRunStatus = "failed"

	CheckBaseLastRunStatusSuccess CheckBaseLastRunStatus = "success"
)

Defines values for CheckBaseLastRunStatus.

type CheckPatch

type CheckPatch struct {
	Description *string           `json:"description,omitempty"`
	Name        *string           `json:"name,omitempty"`
	Status      *CheckPatchStatus `json:"status,omitempty"`
}

CheckPatch defines model for CheckPatch.

type CheckPatchStatus

type CheckPatchStatus string

CheckPatchStatus defines model for CheckPatch.Status.

const (
	CheckPatchStatusActive CheckPatchStatus = "active"

	CheckPatchStatusInactive CheckPatchStatus = "inactive"
)

Defines values for CheckPatchStatus.

type CheckStatusLevel

type CheckStatusLevel string

The state to record if check matches a criteria.

const (
	CheckStatusLevelCRIT CheckStatusLevel = "CRIT"

	CheckStatusLevelINFO CheckStatusLevel = "INFO"

	CheckStatusLevelOK CheckStatusLevel = "OK"

	CheckStatusLevelUNKNOWN CheckStatusLevel = "UNKNOWN"

	CheckStatusLevelWARN CheckStatusLevel = "WARN"
)

Defines values for CheckStatusLevel.

type CheckViewProperties

type CheckViewProperties struct {
	AdaptiveZoomHide *bool  `json:"adaptiveZoomHide,omitempty"`
	Check            *Check `json:"check,omitempty"`
	CheckID          string `json:"checkID"`

	// Colors define color encoding of data into a visualization
	Colors                     []DashboardColor         `json:"colors"`
	LegendColorizeRows         *bool                    `json:"legendColorizeRows,omitempty"`
	LegendHide                 *bool                    `json:"legendHide,omitempty"`
	LegendOpacity              *float32                 `json:"legendOpacity,omitempty"`
	LegendOrientationThreshold *int                     `json:"legendOrientationThreshold,omitempty"`
	Queries                    []DashboardQuery         `json:"queries"`
	Shape                      CheckViewPropertiesShape `json:"shape"`
	Type                       CheckViewPropertiesType  `json:"type"`
}

CheckViewProperties defines model for CheckViewProperties.

type CheckViewPropertiesShape

type CheckViewPropertiesShape string

CheckViewPropertiesShape defines model for CheckViewProperties.Shape.

const (
	CheckViewPropertiesShapeChronografV2 CheckViewPropertiesShape = "chronograf-v2"
)

Defines values for CheckViewPropertiesShape.

type CheckViewPropertiesType

type CheckViewPropertiesType string

CheckViewPropertiesType defines model for CheckViewProperties.Type.

const (
	CheckViewPropertiesTypeCheck CheckViewPropertiesType = "check"
)

Defines values for CheckViewPropertiesType.

type Checks

type Checks struct {
	Checks *[]Check `json:"checks,omitempty"`

	// URI pointers for additional paged results.
	Links *Links `json:"links,omitempty"`
}

Checks defines model for Checks.

type Client

type Client struct {
	// The endpoint of the server conforming to this interface, with scheme,
	// https://api.deepmap.com for example. This can contain a path relative
	// to the server, such as https://api.deepmap.com/dev-test, and all the
	// paths in the swagger spec will be appended to the server.
	Server string

	// Server + /api/v2/
	APIEndpoint string

	// Doer for performing requests, typically a *http.Client with any
	// customized settings, such as certificate chains.
	Client HTTPRequestDoer
}

Client which conforms to the OpenAPI3 specification for this service.

func NewClient

func NewClient(server string, doer HTTPRequestDoer) (*Client, error)

Creates a new Client, with reasonable defaults

func (*Client) CreateCheck

func (c *Client) CreateCheck(ctx context.Context, params *CreateCheckAllParams) (Check, error)

CreateCheck calls the POST on /checks Add new check

func (*Client) CreateNotificationEndpoint

func (c *Client) CreateNotificationEndpoint(ctx context.Context, params *CreateNotificationEndpointAllParams) (*NotificationEndpoint, error)

CreateNotificationEndpoint calls the POST on /notificationEndpoints Add a notification endpoint

func (*Client) CreateNotificationRule

func (c *Client) CreateNotificationRule(ctx context.Context, params *CreateNotificationRuleAllParams) (*NotificationRule, error)

CreateNotificationRule calls the POST on /notificationRules Add a notification rule

func (*Client) CreateStack

func (c *Client) CreateStack(ctx context.Context, params *CreateStackAllParams) (*Stack, error)

CreateStack calls the POST on /stacks Create a stack

func (*Client) DeleteAuthorizationsID

func (c *Client) DeleteAuthorizationsID(ctx context.Context, params *DeleteAuthorizationsIDAllParams) error

DeleteAuthorizationsID calls the DELETE on /authorizations/{authID} Delete an authorization

func (*Client) DeleteBucketsID

func (c *Client) DeleteBucketsID(ctx context.Context, params *DeleteBucketsIDAllParams) error

DeleteBucketsID calls the DELETE on /buckets/{bucketID} Delete a bucket

func (*Client) DeleteBucketsIDLabelsID

func (c *Client) DeleteBucketsIDLabelsID(ctx context.Context, params *DeleteBucketsIDLabelsIDAllParams) error

DeleteBucketsIDLabelsID calls the DELETE on /buckets/{bucketID}/labels/{labelID} Delete a label from a bucket

func (*Client) DeleteBucketsIDMembersID

func (c *Client) DeleteBucketsIDMembersID(ctx context.Context, params *DeleteBucketsIDMembersIDAllParams) error

DeleteBucketsIDMembersID calls the DELETE on /buckets/{bucketID}/members/{userID} Remove a member from a bucket

func (*Client) DeleteBucketsIDOwnersID

func (c *Client) DeleteBucketsIDOwnersID(ctx context.Context, params *DeleteBucketsIDOwnersIDAllParams) error

DeleteBucketsIDOwnersID calls the DELETE on /buckets/{bucketID}/owners/{userID} Remove an owner from a bucket

func (*Client) DeleteChecksID

func (c *Client) DeleteChecksID(ctx context.Context, params *DeleteChecksIDAllParams) error

DeleteChecksID calls the DELETE on /checks/{checkID} Delete a check

func (*Client) DeleteChecksIDLabelsID

func (c *Client) DeleteChecksIDLabelsID(ctx context.Context, params *DeleteChecksIDLabelsIDAllParams) error

DeleteChecksIDLabelsID calls the DELETE on /checks/{checkID}/labels/{labelID} Delete label from a check

func (*Client) DeleteDBRPID

func (c *Client) DeleteDBRPID(ctx context.Context, params *DeleteDBRPIDAllParams) error

DeleteDBRPID calls the DELETE on /dbrps/{dbrpID} Delete a database retention policy

func (*Client) DeleteDashboardsID

func (c *Client) DeleteDashboardsID(ctx context.Context, params *DeleteDashboardsIDAllParams) error

DeleteDashboardsID calls the DELETE on /dashboards/{dashboardID} Delete a dashboard

func (*Client) DeleteDashboardsIDCellsID

func (c *Client) DeleteDashboardsIDCellsID(ctx context.Context, params *DeleteDashboardsIDCellsIDAllParams) error

DeleteDashboardsIDCellsID calls the DELETE on /dashboards/{dashboardID}/cells/{cellID} Delete a dashboard cell

func (*Client) DeleteDashboardsIDLabelsID

func (c *Client) DeleteDashboardsIDLabelsID(ctx context.Context, params *DeleteDashboardsIDLabelsIDAllParams) error

DeleteDashboardsIDLabelsID calls the DELETE on /dashboards/{dashboardID}/labels/{labelID} Delete a label from a dashboard

func (*Client) DeleteDashboardsIDMembersID

func (c *Client) DeleteDashboardsIDMembersID(ctx context.Context, params *DeleteDashboardsIDMembersIDAllParams) error

DeleteDashboardsIDMembersID calls the DELETE on /dashboards/{dashboardID}/members/{userID} Remove a member from a dashboard

func (*Client) DeleteDashboardsIDOwnersID

func (c *Client) DeleteDashboardsIDOwnersID(ctx context.Context, params *DeleteDashboardsIDOwnersIDAllParams) error

DeleteDashboardsIDOwnersID calls the DELETE on /dashboards/{dashboardID}/owners/{userID} Remove an owner from a dashboard

func (*Client) DeleteLabelsID

func (c *Client) DeleteLabelsID(ctx context.Context, params *DeleteLabelsIDAllParams) error

DeleteLabelsID calls the DELETE on /labels/{labelID} Delete a label

func (*Client) DeleteNotificationEndpointsID

func (c *Client) DeleteNotificationEndpointsID(ctx context.Context, params *DeleteNotificationEndpointsIDAllParams) error

DeleteNotificationEndpointsID calls the DELETE on /notificationEndpoints/{endpointID} Delete a notification endpoint

func (*Client) DeleteNotificationEndpointsIDLabelsID

func (c *Client) DeleteNotificationEndpointsIDLabelsID(ctx context.Context, params *DeleteNotificationEndpointsIDLabelsIDAllParams) error

DeleteNotificationEndpointsIDLabelsID calls the DELETE on /notificationEndpoints/{endpointID}/labels/{labelID} Delete a label from a notification endpoint

func (*Client) DeleteNotificationRulesID

func (c *Client) DeleteNotificationRulesID(ctx context.Context, params *DeleteNotificationRulesIDAllParams) error

DeleteNotificationRulesID calls the DELETE on /notificationRules/{ruleID} Delete a notification rule

func (*Client) DeleteNotificationRulesIDLabelsID

func (c *Client) DeleteNotificationRulesIDLabelsID(ctx context.Context, params *DeleteNotificationRulesIDLabelsIDAllParams) error

DeleteNotificationRulesIDLabelsID calls the DELETE on /notificationRules/{ruleID}/labels/{labelID} Delete label from a notification rule

func (*Client) DeleteOrgsID

func (c *Client) DeleteOrgsID(ctx context.Context, params *DeleteOrgsIDAllParams) error

DeleteOrgsID calls the DELETE on /orgs/{orgID} Delete an organization

func (*Client) DeleteOrgsIDMembersID

func (c *Client) DeleteOrgsIDMembersID(ctx context.Context, params *DeleteOrgsIDMembersIDAllParams) error

DeleteOrgsIDMembersID calls the DELETE on /orgs/{orgID}/members/{userID} Remove a member from an organization

func (*Client) DeleteOrgsIDOwnersID

func (c *Client) DeleteOrgsIDOwnersID(ctx context.Context, params *DeleteOrgsIDOwnersIDAllParams) error

DeleteOrgsIDOwnersID calls the DELETE on /orgs/{orgID}/owners/{userID} Remove an owner from an organization

func (*Client) DeleteOrgsIDSecretsID added in v2.6.0

func (c *Client) DeleteOrgsIDSecretsID(ctx context.Context, params *DeleteOrgsIDSecretsIDAllParams) error

DeleteOrgsIDSecretsID calls the DELETE on /orgs/{orgID}/secrets/{secretID} Delete a secret from an organization

func (*Client) DeleteRemoteConnectionByID added in v2.8.0

func (c *Client) DeleteRemoteConnectionByID(ctx context.Context, params *DeleteRemoteConnectionByIDAllParams) error

DeleteRemoteConnectionByID calls the DELETE on /remotes/{remoteID} Delete a remote connection

func (*Client) DeleteReplicationByID added in v2.8.0

func (c *Client) DeleteReplicationByID(ctx context.Context, params *DeleteReplicationByIDAllParams) error

DeleteReplicationByID calls the DELETE on /replications/{replicationID} Delete a replication

func (*Client) DeleteScrapersID

func (c *Client) DeleteScrapersID(ctx context.Context, params *DeleteScrapersIDAllParams) error

DeleteScrapersID calls the DELETE on /scrapers/{scraperTargetID} Delete a scraper target

func (*Client) DeleteScrapersIDLabelsID

func (c *Client) DeleteScrapersIDLabelsID(ctx context.Context, params *DeleteScrapersIDLabelsIDAllParams) error

DeleteScrapersIDLabelsID calls the DELETE on /scrapers/{scraperTargetID}/labels/{labelID} Delete a label from a scraper target

func (*Client) DeleteScrapersIDMembersID

func (c *Client) DeleteScrapersIDMembersID(ctx context.Context, params *DeleteScrapersIDMembersIDAllParams) error

DeleteScrapersIDMembersID calls the DELETE on /scrapers/{scraperTargetID}/members/{userID} Remove a member from a scraper target

func (*Client) DeleteScrapersIDOwnersID

func (c *Client) DeleteScrapersIDOwnersID(ctx context.Context, params *DeleteScrapersIDOwnersIDAllParams) error

DeleteScrapersIDOwnersID calls the DELETE on /scrapers/{scraperTargetID}/owners/{userID} Remove an owner from a scraper target

func (*Client) DeleteSourcesID

func (c *Client) DeleteSourcesID(ctx context.Context, params *DeleteSourcesIDAllParams) error

DeleteSourcesID calls the DELETE on /sources/{sourceID} Delete a source

func (*Client) DeleteStack

func (c *Client) DeleteStack(ctx context.Context, params *DeleteStackAllParams) error

DeleteStack calls the DELETE on /stacks/{stack_id} Delete a stack and associated resources

func (*Client) DeleteTasksID

func (c *Client) DeleteTasksID(ctx context.Context, params *DeleteTasksIDAllParams) error

DeleteTasksID calls the DELETE on /tasks/{taskID} Delete a task

func (*Client) DeleteTasksIDLabelsID

func (c *Client) DeleteTasksIDLabelsID(ctx context.Context, params *DeleteTasksIDLabelsIDAllParams) error

DeleteTasksIDLabelsID calls the DELETE on /tasks/{taskID}/labels/{labelID} Delete a label from a task

func (*Client) DeleteTasksIDMembersID

func (c *Client) DeleteTasksIDMembersID(ctx context.Context, params *DeleteTasksIDMembersIDAllParams) error

DeleteTasksIDMembersID calls the DELETE on /tasks/{taskID}/members/{userID} Remove a member from a task

func (*Client) DeleteTasksIDOwnersID

func (c *Client) DeleteTasksIDOwnersID(ctx context.Context, params *DeleteTasksIDOwnersIDAllParams) error

DeleteTasksIDOwnersID calls the DELETE on /tasks/{taskID}/owners/{userID} Remove an owner from a task

func (*Client) DeleteTasksIDRunsID

func (c *Client) DeleteTasksIDRunsID(ctx context.Context, params *DeleteTasksIDRunsIDAllParams) error

DeleteTasksIDRunsID calls the DELETE on /tasks/{taskID}/runs/{runID} Cancel a running task

func (*Client) DeleteTelegrafsID

func (c *Client) DeleteTelegrafsID(ctx context.Context, params *DeleteTelegrafsIDAllParams) error

DeleteTelegrafsID calls the DELETE on /telegrafs/{telegrafID} Delete a Telegraf configuration

func (*Client) DeleteTelegrafsIDLabelsID

func (c *Client) DeleteTelegrafsIDLabelsID(ctx context.Context, params *DeleteTelegrafsIDLabelsIDAllParams) error

DeleteTelegrafsIDLabelsID calls the DELETE on /telegrafs/{telegrafID}/labels/{labelID} Delete a label from a Telegraf config

func (*Client) DeleteTelegrafsIDMembersID

func (c *Client) DeleteTelegrafsIDMembersID(ctx context.Context, params *DeleteTelegrafsIDMembersIDAllParams) error

DeleteTelegrafsIDMembersID calls the DELETE on /telegrafs/{telegrafID}/members/{userID} Remove a member from a Telegraf config

func (*Client) DeleteTelegrafsIDOwnersID

func (c *Client) DeleteTelegrafsIDOwnersID(ctx context.Context, params *DeleteTelegrafsIDOwnersIDAllParams) error

DeleteTelegrafsIDOwnersID calls the DELETE on /telegrafs/{telegrafID}/owners/{userID} Remove an owner from a Telegraf config

func (*Client) DeleteUsersID

func (c *Client) DeleteUsersID(ctx context.Context, params *DeleteUsersIDAllParams) error

DeleteUsersID calls the DELETE on /users/{userID} Delete a user

func (*Client) DeleteVariablesID

func (c *Client) DeleteVariablesID(ctx context.Context, params *DeleteVariablesIDAllParams) error

DeleteVariablesID calls the DELETE on /variables/{variableID} Delete a variable

func (*Client) DeleteVariablesIDLabelsID

func (c *Client) DeleteVariablesIDLabelsID(ctx context.Context, params *DeleteVariablesIDLabelsIDAllParams) error

DeleteVariablesIDLabelsID calls the DELETE on /variables/{variableID}/labels/{labelID} Delete a label from a variable

func (*Client) ExportTemplate

func (c *Client) ExportTemplate(ctx context.Context, params *ExportTemplateAllParams) (*Template, error)

ExportTemplate calls the POST on /templates/export Export a new template

func (*Client) GetAuthorizations

func (c *Client) GetAuthorizations(ctx context.Context, params *GetAuthorizationsParams) (*Authorizations, error)

GetAuthorizations calls the GET on /authorizations List authorizations

func (*Client) GetAuthorizationsID

func (c *Client) GetAuthorizationsID(ctx context.Context, params *GetAuthorizationsIDAllParams) (*Authorization, error)

GetAuthorizationsID calls the GET on /authorizations/{authID} Retrieve an authorization

func (*Client) GetBuckets

func (c *Client) GetBuckets(ctx context.Context, params *GetBucketsParams) (*Buckets, error)

GetBuckets calls the GET on /buckets List buckets

func (*Client) GetBucketsID

func (c *Client) GetBucketsID(ctx context.Context, params *GetBucketsIDAllParams) (*Bucket, error)

GetBucketsID calls the GET on /buckets/{bucketID} Retrieve a bucket

func (*Client) GetBucketsIDLabels

func (c *Client) GetBucketsIDLabels(ctx context.Context, params *GetBucketsIDLabelsAllParams) (*LabelsResponse, error)

GetBucketsIDLabels calls the GET on /buckets/{bucketID}/labels List all labels for a bucket

func (*Client) GetBucketsIDMembers

func (c *Client) GetBucketsIDMembers(ctx context.Context, params *GetBucketsIDMembersAllParams) (*ResourceMembers, error)

GetBucketsIDMembers calls the GET on /buckets/{bucketID}/members List all users with member privileges for a bucket

func (*Client) GetBucketsIDOwners

func (c *Client) GetBucketsIDOwners(ctx context.Context, params *GetBucketsIDOwnersAllParams) (*ResourceOwners, error)

GetBucketsIDOwners calls the GET on /buckets/{bucketID}/owners List all owners of a bucket

func (*Client) GetChecks

func (c *Client) GetChecks(ctx context.Context, params *GetChecksParams) (*Checks, error)

GetChecks calls the GET on /checks List all checks

func (*Client) GetChecksID

func (c *Client) GetChecksID(ctx context.Context, params *GetChecksIDAllParams) (Check, error)

GetChecksID calls the GET on /checks/{checkID} Retrieve a check

func (*Client) GetChecksIDLabels

func (c *Client) GetChecksIDLabels(ctx context.Context, params *GetChecksIDLabelsAllParams) (*LabelsResponse, error)

GetChecksIDLabels calls the GET on /checks/{checkID}/labels List all labels for a check

func (*Client) GetChecksIDQuery

func (c *Client) GetChecksIDQuery(ctx context.Context, params *GetChecksIDQueryAllParams) (*FluxResponse, error)

GetChecksIDQuery calls the GET on /checks/{checkID}/query Retrieve a check query

func (*Client) GetConfig added in v2.8.0

func (c *Client) GetConfig(ctx context.Context, params *GetConfigParams) (*Config, error)

GetConfig calls the GET on /config Retrieve runtime configuration

func (*Client) GetDBRPs

func (c *Client) GetDBRPs(ctx context.Context, params *GetDBRPsParams) (*DBRPs, error)

GetDBRPs calls the GET on /dbrps List database retention policy mappings

func (*Client) GetDBRPsID

func (c *Client) GetDBRPsID(ctx context.Context, params *GetDBRPsIDAllParams) (*DBRPGet, error)

GetDBRPsID calls the GET on /dbrps/{dbrpID} Retrieve a database retention policy mapping

func (*Client) GetDashboards

func (c *Client) GetDashboards(ctx context.Context, params *GetDashboardsParams) (*Dashboards, error)

GetDashboards calls the GET on /dashboards List all dashboards

func (*Client) GetDashboardsIDCellsIDView

func (c *Client) GetDashboardsIDCellsIDView(ctx context.Context, params *GetDashboardsIDCellsIDViewAllParams) (*View, error)

GetDashboardsIDCellsIDView calls the GET on /dashboards/{dashboardID}/cells/{cellID}/view Retrieve the view for a cell

func (*Client) GetDashboardsIDLabels

func (c *Client) GetDashboardsIDLabels(ctx context.Context, params *GetDashboardsIDLabelsAllParams) (*LabelsResponse, error)

GetDashboardsIDLabels calls the GET on /dashboards/{dashboardID}/labels List all labels for a dashboard

func (*Client) GetDashboardsIDMembers

func (c *Client) GetDashboardsIDMembers(ctx context.Context, params *GetDashboardsIDMembersAllParams) (*ResourceMembers, error)

GetDashboardsIDMembers calls the GET on /dashboards/{dashboardID}/members List all dashboard members

func (*Client) GetDashboardsIDOwners

func (c *Client) GetDashboardsIDOwners(ctx context.Context, params *GetDashboardsIDOwnersAllParams) (*ResourceOwners, error)

GetDashboardsIDOwners calls the GET on /dashboards/{dashboardID}/owners List all dashboard owners

func (*Client) GetFlags

func (c *Client) GetFlags(ctx context.Context, params *GetFlagsParams) (*Flags, error)

GetFlags calls the GET on /flags Return the feature flags for the currently authenticated user

func (*Client) GetHealth

func (c *Client) GetHealth(ctx context.Context, params *GetHealthParams) (*HealthCheck, error)

GetHealth calls the GET on /health Retrieve the health of the instance

func (*Client) GetLabels

func (c *Client) GetLabels(ctx context.Context, params *GetLabelsParams) (*LabelsResponse, error)

GetLabels calls the GET on /labels List all labels

func (*Client) GetLabelsID

func (c *Client) GetLabelsID(ctx context.Context, params *GetLabelsIDAllParams) (*LabelResponse, error)

GetLabelsID calls the GET on /labels/{labelID} Retrieve a label

func (*Client) GetMe

func (c *Client) GetMe(ctx context.Context, params *GetMeParams) (*UserResponse, error)

GetMe calls the GET on /me Retrieve the currently authenticated user

func (*Client) GetNotificationEndpoints

func (c *Client) GetNotificationEndpoints(ctx context.Context, params *GetNotificationEndpointsParams) (*NotificationEndpoints, error)

GetNotificationEndpoints calls the GET on /notificationEndpoints List all notification endpoints

func (*Client) GetNotificationEndpointsID

func (c *Client) GetNotificationEndpointsID(ctx context.Context, params *GetNotificationEndpointsIDAllParams) (*NotificationEndpoint, error)

GetNotificationEndpointsID calls the GET on /notificationEndpoints/{endpointID} Retrieve a notification endpoint

func (*Client) GetNotificationEndpointsIDLabels

func (c *Client) GetNotificationEndpointsIDLabels(ctx context.Context, params *GetNotificationEndpointsIDLabelsAllParams) (*LabelsResponse, error)

GetNotificationEndpointsIDLabels calls the GET on /notificationEndpoints/{endpointID}/labels List all labels for a notification endpoint

func (*Client) GetNotificationRules

func (c *Client) GetNotificationRules(ctx context.Context, params *GetNotificationRulesParams) (*NotificationRules, error)

GetNotificationRules calls the GET on /notificationRules List all notification rules

func (*Client) GetNotificationRulesID

func (c *Client) GetNotificationRulesID(ctx context.Context, params *GetNotificationRulesIDAllParams) (*NotificationRule, error)

GetNotificationRulesID calls the GET on /notificationRules/{ruleID} Retrieve a notification rule

func (*Client) GetNotificationRulesIDLabels

func (c *Client) GetNotificationRulesIDLabels(ctx context.Context, params *GetNotificationRulesIDLabelsAllParams) (*LabelsResponse, error)

GetNotificationRulesIDLabels calls the GET on /notificationRules/{ruleID}/labels List all labels for a notification rule

func (*Client) GetNotificationRulesIDQuery

func (c *Client) GetNotificationRulesIDQuery(ctx context.Context, params *GetNotificationRulesIDQueryAllParams) (*FluxResponse, error)

GetNotificationRulesIDQuery calls the GET on /notificationRules/{ruleID}/query Retrieve a notification rule query

func (*Client) GetOrgs

func (c *Client) GetOrgs(ctx context.Context, params *GetOrgsParams) (*Organizations, error)

GetOrgs calls the GET on /orgs List organizations

func (*Client) GetOrgsID

func (c *Client) GetOrgsID(ctx context.Context, params *GetOrgsIDAllParams) (*Organization, error)

GetOrgsID calls the GET on /orgs/{orgID} Retrieve an organization

func (*Client) GetOrgsIDMembers

func (c *Client) GetOrgsIDMembers(ctx context.Context, params *GetOrgsIDMembersAllParams) (*ResourceMembers, error)

GetOrgsIDMembers calls the GET on /orgs/{orgID}/members List all members of an organization

func (*Client) GetOrgsIDOwners

func (c *Client) GetOrgsIDOwners(ctx context.Context, params *GetOrgsIDOwnersAllParams) (*ResourceOwners, error)

GetOrgsIDOwners calls the GET on /orgs/{orgID}/owners List all owners of an organization

func (*Client) GetOrgsIDSecrets

func (c *Client) GetOrgsIDSecrets(ctx context.Context, params *GetOrgsIDSecretsAllParams) (*SecretKeysResponse, error)

GetOrgsIDSecrets calls the GET on /orgs/{orgID}/secrets List all secret keys for an organization

func (*Client) GetPing added in v2.5.0

func (c *Client) GetPing(ctx context.Context) error

GetPing calls the GET on /ping Get the status and version of the instance

func (*Client) GetQuerySuggestions

func (c *Client) GetQuerySuggestions(ctx context.Context, params *GetQuerySuggestionsParams) (*FluxSuggestions, error)

GetQuerySuggestions calls the GET on /query/suggestions Retrieve Flux query suggestions

func (*Client) GetQuerySuggestionsName

func (c *Client) GetQuerySuggestionsName(ctx context.Context, params *GetQuerySuggestionsNameAllParams) (*FluxSuggestion, error)

GetQuerySuggestionsName calls the GET on /query/suggestions/{name} Retrieve a query suggestion for a branching suggestion

func (*Client) GetReady

func (c *Client) GetReady(ctx context.Context, params *GetReadyParams) (*Ready, error)

GetReady calls the GET on /ready Get the readiness of an instance at startup

func (*Client) GetRemoteConnectionByID added in v2.8.0

func (c *Client) GetRemoteConnectionByID(ctx context.Context, params *GetRemoteConnectionByIDAllParams) (*RemoteConnection, error)

GetRemoteConnectionByID calls the GET on /remotes/{remoteID} Retrieve a remote connection

func (*Client) GetRemoteConnections added in v2.8.0

func (c *Client) GetRemoteConnections(ctx context.Context, params *GetRemoteConnectionsParams) (*RemoteConnections, error)

GetRemoteConnections calls the GET on /remotes List all remote connections

func (*Client) GetReplicationByID added in v2.8.0

func (c *Client) GetReplicationByID(ctx context.Context, params *GetReplicationByIDAllParams) (*Replication, error)

GetReplicationByID calls the GET on /replications/{replicationID} Retrieve a replication

func (*Client) GetReplications added in v2.8.0

func (c *Client) GetReplications(ctx context.Context, params *GetReplicationsParams) (*Replications, error)

GetReplications calls the GET on /replications List all replications

func (*Client) GetResources added in v2.6.0

func (c *Client) GetResources(ctx context.Context, params *GetResourcesParams) (*[]string, error)

GetResources calls the GET on /resources List all known resources

func (*Client) GetScrapers

func (c *Client) GetScrapers(ctx context.Context, params *GetScrapersParams) (*ScraperTargetResponses, error)

GetScrapers calls the GET on /scrapers List all scraper targets

func (*Client) GetScrapersID

func (c *Client) GetScrapersID(ctx context.Context, params *GetScrapersIDAllParams) (*ScraperTargetResponse, error)

GetScrapersID calls the GET on /scrapers/{scraperTargetID} Retrieve a scraper target

func (*Client) GetScrapersIDLabels

func (c *Client) GetScrapersIDLabels(ctx context.Context, params *GetScrapersIDLabelsAllParams) (*LabelsResponse, error)

GetScrapersIDLabels calls the GET on /scrapers/{scraperTargetID}/labels List all labels for a scraper target

func (*Client) GetScrapersIDMembers

func (c *Client) GetScrapersIDMembers(ctx context.Context, params *GetScrapersIDMembersAllParams) (*ResourceMembers, error)

GetScrapersIDMembers calls the GET on /scrapers/{scraperTargetID}/members List all users with member privileges for a scraper target

func (*Client) GetScrapersIDOwners

func (c *Client) GetScrapersIDOwners(ctx context.Context, params *GetScrapersIDOwnersAllParams) (*ResourceOwners, error)

GetScrapersIDOwners calls the GET on /scrapers/{scraperTargetID}/owners List all owners of a scraper target

func (*Client) GetSetup

func (c *Client) GetSetup(ctx context.Context, params *GetSetupParams) (*IsOnboarding, error)

GetSetup calls the GET on /setup Check if database has default user, org, bucket

func (*Client) GetSources

func (c *Client) GetSources(ctx context.Context, params *GetSourcesParams) (*Sources, error)

GetSources calls the GET on /sources List all sources

func (*Client) GetSourcesID

func (c *Client) GetSourcesID(ctx context.Context, params *GetSourcesIDAllParams) (*Source, error)

GetSourcesID calls the GET on /sources/{sourceID} Retrieve a source

func (*Client) GetSourcesIDBuckets

func (c *Client) GetSourcesIDBuckets(ctx context.Context, params *GetSourcesIDBucketsAllParams) (*Buckets, error)

GetSourcesIDBuckets calls the GET on /sources/{sourceID}/buckets Get buckets in a source

func (*Client) GetSourcesIDHealth

func (c *Client) GetSourcesIDHealth(ctx context.Context, params *GetSourcesIDHealthAllParams) (*HealthCheck, error)

GetSourcesIDHealth calls the GET on /sources/{sourceID}/health Get the health of a source

func (*Client) GetTasks

func (c *Client) GetTasks(ctx context.Context, params *GetTasksParams) (*Tasks, error)

GetTasks calls the GET on /tasks List tasks

func (*Client) GetTasksID

func (c *Client) GetTasksID(ctx context.Context, params *GetTasksIDAllParams) (*Task, error)

GetTasksID calls the GET on /tasks/{taskID} Retrieve a task

func (*Client) GetTasksIDLabels

func (c *Client) GetTasksIDLabels(ctx context.Context, params *GetTasksIDLabelsAllParams) (*LabelsResponse, error)

GetTasksIDLabels calls the GET on /tasks/{taskID}/labels List labels for a task

func (*Client) GetTasksIDLogs

func (c *Client) GetTasksIDLogs(ctx context.Context, params *GetTasksIDLogsAllParams) (*Logs, error)

GetTasksIDLogs calls the GET on /tasks/{taskID}/logs Retrieve all logs for a task

func (*Client) GetTasksIDMembers

func (c *Client) GetTasksIDMembers(ctx context.Context, params *GetTasksIDMembersAllParams) (*ResourceMembers, error)

GetTasksIDMembers calls the GET on /tasks/{taskID}/members List all task members

func (*Client) GetTasksIDOwners

func (c *Client) GetTasksIDOwners(ctx context.Context, params *GetTasksIDOwnersAllParams) (*ResourceOwners, error)

GetTasksIDOwners calls the GET on /tasks/{taskID}/owners List all owners of a task

func (*Client) GetTasksIDRuns

func (c *Client) GetTasksIDRuns(ctx context.Context, params *GetTasksIDRunsAllParams) (*Runs, error)

GetTasksIDRuns calls the GET on /tasks/{taskID}/runs List runs for a task

func (*Client) GetTasksIDRunsID

func (c *Client) GetTasksIDRunsID(ctx context.Context, params *GetTasksIDRunsIDAllParams) (*Run, error)

GetTasksIDRunsID calls the GET on /tasks/{taskID}/runs/{runID} Retrieve a run for a task.

func (*Client) GetTasksIDRunsIDLogs

func (c *Client) GetTasksIDRunsIDLogs(ctx context.Context, params *GetTasksIDRunsIDLogsAllParams) (*Logs, error)

GetTasksIDRunsIDLogs calls the GET on /tasks/{taskID}/runs/{runID}/logs Retrieve all logs for a run

func (*Client) GetTelegrafPlugins

func (c *Client) GetTelegrafPlugins(ctx context.Context, params *GetTelegrafPluginsParams) (*TelegrafPlugins, error)

GetTelegrafPlugins calls the GET on /telegraf/plugins List all Telegraf plugins

func (*Client) GetTelegrafs

func (c *Client) GetTelegrafs(ctx context.Context, params *GetTelegrafsParams) (*Telegrafs, error)

GetTelegrafs calls the GET on /telegrafs List all Telegraf configurations

func (*Client) GetTelegrafsID

func (c *Client) GetTelegrafsID(ctx context.Context, params *GetTelegrafsIDAllParams) (*Telegraf, error)

GetTelegrafsID calls the GET on /telegrafs/{telegrafID} Retrieve a Telegraf configuration

func (*Client) GetTelegrafsIDLabels

func (c *Client) GetTelegrafsIDLabels(ctx context.Context, params *GetTelegrafsIDLabelsAllParams) (*LabelsResponse, error)

GetTelegrafsIDLabels calls the GET on /telegrafs/{telegrafID}/labels List all labels for a Telegraf config

func (*Client) GetTelegrafsIDMembers

func (c *Client) GetTelegrafsIDMembers(ctx context.Context, params *GetTelegrafsIDMembersAllParams) (*ResourceMembers, error)

GetTelegrafsIDMembers calls the GET on /telegrafs/{telegrafID}/members List all users with member privileges for a Telegraf config

func (*Client) GetTelegrafsIDOwners

func (c *Client) GetTelegrafsIDOwners(ctx context.Context, params *GetTelegrafsIDOwnersAllParams) (*ResourceOwners, error)

GetTelegrafsIDOwners calls the GET on /telegrafs/{telegrafID}/owners List all owners of a Telegraf configuration

func (*Client) GetUsers

func (c *Client) GetUsers(ctx context.Context, params *GetUsersParams) (*Users, error)

GetUsers calls the GET on /users List users

func (*Client) GetUsersID

func (c *Client) GetUsersID(ctx context.Context, params *GetUsersIDAllParams) (*UserResponse, error)

GetUsersID calls the GET on /users/{userID} Retrieve a user

func (*Client) GetVariables

func (c *Client) GetVariables(ctx context.Context, params *GetVariablesParams) (*Variables, error)

GetVariables calls the GET on /variables List all variables

func (*Client) GetVariablesID

func (c *Client) GetVariablesID(ctx context.Context, params *GetVariablesIDAllParams) (*Variable, error)

GetVariablesID calls the GET on /variables/{variableID} Retrieve a variable

func (*Client) GetVariablesIDLabels

func (c *Client) GetVariablesIDLabels(ctx context.Context, params *GetVariablesIDLabelsAllParams) (*LabelsResponse, error)

GetVariablesIDLabels calls the GET on /variables/{variableID}/labels List all labels for a variable

func (*Client) HeadPing added in v2.5.0

func (c *Client) HeadPing(ctx context.Context) error

HeadPing calls the HEAD on /ping Get the status and version of the instance

func (*Client) ListStacks

func (c *Client) ListStacks(ctx context.Context, params *ListStacksParams) (*struct {
	Stacks *[]Stack `json:"stacks,omitempty"`
}, error)

ListStacks calls the GET on /stacks List installed stacks

func (*Client) PatchAuthorizationsID

func (c *Client) PatchAuthorizationsID(ctx context.Context, params *PatchAuthorizationsIDAllParams) (*Authorization, error)

PatchAuthorizationsID calls the PATCH on /authorizations/{authID} Update an authorization to be active or inactive

func (*Client) PatchBucketsID

func (c *Client) PatchBucketsID(ctx context.Context, params *PatchBucketsIDAllParams) (*Bucket, error)

PatchBucketsID calls the PATCH on /buckets/{bucketID} Update a bucket

func (*Client) PatchChecksID

func (c *Client) PatchChecksID(ctx context.Context, params *PatchChecksIDAllParams) (Check, error)

PatchChecksID calls the PATCH on /checks/{checkID} Update a check

func (*Client) PatchDBRPID

func (c *Client) PatchDBRPID(ctx context.Context, params *PatchDBRPIDAllParams) (*DBRPGet, error)

PatchDBRPID calls the PATCH on /dbrps/{dbrpID} Update a database retention policy mapping

func (*Client) PatchDashboardsID

func (c *Client) PatchDashboardsID(ctx context.Context, params *PatchDashboardsIDAllParams) (*Dashboard, error)

PatchDashboardsID calls the PATCH on /dashboards/{dashboardID} Update a dashboard

func (*Client) PatchDashboardsIDCellsID

func (c *Client) PatchDashboardsIDCellsID(ctx context.Context, params *PatchDashboardsIDCellsIDAllParams) (*Cell, error)

PatchDashboardsIDCellsID calls the PATCH on /dashboards/{dashboardID}/cells/{cellID} Update the non-positional information related to a cell

func (*Client) PatchDashboardsIDCellsIDView

func (c *Client) PatchDashboardsIDCellsIDView(ctx context.Context, params *PatchDashboardsIDCellsIDViewAllParams) (*View, error)

PatchDashboardsIDCellsIDView calls the PATCH on /dashboards/{dashboardID}/cells/{cellID}/view Update the view for a cell

func (*Client) PatchLabelsID

func (c *Client) PatchLabelsID(ctx context.Context, params *PatchLabelsIDAllParams) (*LabelResponse, error)

PatchLabelsID calls the PATCH on /labels/{labelID} Update a label

func (*Client) PatchNotificationEndpointsID

func (c *Client) PatchNotificationEndpointsID(ctx context.Context, params *PatchNotificationEndpointsIDAllParams) (*NotificationEndpoint, error)

PatchNotificationEndpointsID calls the PATCH on /notificationEndpoints/{endpointID} Update a notification endpoint

func (*Client) PatchNotificationRulesID

func (c *Client) PatchNotificationRulesID(ctx context.Context, params *PatchNotificationRulesIDAllParams) (*NotificationRule, error)

PatchNotificationRulesID calls the PATCH on /notificationRules/{ruleID} Update a notification rule

func (*Client) PatchOrgsID

func (c *Client) PatchOrgsID(ctx context.Context, params *PatchOrgsIDAllParams) (*Organization, error)

PatchOrgsID calls the PATCH on /orgs/{orgID} Update an organization

func (*Client) PatchOrgsIDSecrets

func (c *Client) PatchOrgsIDSecrets(ctx context.Context, params *PatchOrgsIDSecretsAllParams) error

PatchOrgsIDSecrets calls the PATCH on /orgs/{orgID}/secrets Update secrets in an organization

func (*Client) PatchRemoteConnectionByID added in v2.8.0

func (c *Client) PatchRemoteConnectionByID(ctx context.Context, params *PatchRemoteConnectionByIDAllParams) (*RemoteConnection, error)

PatchRemoteConnectionByID calls the PATCH on /remotes/{remoteID} Update a remote connection

func (*Client) PatchReplicationByID added in v2.8.0

func (c *Client) PatchReplicationByID(ctx context.Context, params *PatchReplicationByIDAllParams) (*Replication, error)

PatchReplicationByID calls the PATCH on /replications/{replicationID} Update a replication

func (*Client) PatchScrapersID

func (c *Client) PatchScrapersID(ctx context.Context, params *PatchScrapersIDAllParams) (*ScraperTargetResponse, error)

PatchScrapersID calls the PATCH on /scrapers/{scraperTargetID} Update a scraper target

func (*Client) PatchSourcesID

func (c *Client) PatchSourcesID(ctx context.Context, params *PatchSourcesIDAllParams) (*Source, error)

PatchSourcesID calls the PATCH on /sources/{sourceID} Update a Source

func (*Client) PatchTasksID

func (c *Client) PatchTasksID(ctx context.Context, params *PatchTasksIDAllParams) (*Task, error)

PatchTasksID calls the PATCH on /tasks/{taskID} Update a task

func (*Client) PatchUsersID

func (c *Client) PatchUsersID(ctx context.Context, params *PatchUsersIDAllParams) (*UserResponse, error)

PatchUsersID calls the PATCH on /users/{userID} Update a user

func (*Client) PatchVariablesID

func (c *Client) PatchVariablesID(ctx context.Context, params *PatchVariablesIDAllParams) (*Variable, error)

PatchVariablesID calls the PATCH on /variables/{variableID} Update a variable

func (*Client) PostAuthorizations

func (c *Client) PostAuthorizations(ctx context.Context, params *PostAuthorizationsAllParams) (*Authorization, error)

PostAuthorizations calls the POST on /authorizations Create an authorization

func (*Client) PostBuckets

func (c *Client) PostBuckets(ctx context.Context, params *PostBucketsAllParams) (*Bucket, error)

PostBuckets calls the POST on /buckets Create a bucket

func (*Client) PostBucketsIDLabels

func (c *Client) PostBucketsIDLabels(ctx context.Context, params *PostBucketsIDLabelsAllParams) (*LabelResponse, error)

PostBucketsIDLabels calls the POST on /buckets/{bucketID}/labels Add a label to a bucket

func (*Client) PostBucketsIDMembers

func (c *Client) PostBucketsIDMembers(ctx context.Context, params *PostBucketsIDMembersAllParams) (*ResourceMember, error)

PostBucketsIDMembers calls the POST on /buckets/{bucketID}/members Add a member to a bucket

func (*Client) PostBucketsIDOwners

func (c *Client) PostBucketsIDOwners(ctx context.Context, params *PostBucketsIDOwnersAllParams) (*ResourceOwner, error)

PostBucketsIDOwners calls the POST on /buckets/{bucketID}/owners Add an owner to a bucket

func (*Client) PostChecksIDLabels

func (c *Client) PostChecksIDLabels(ctx context.Context, params *PostChecksIDLabelsAllParams) (*LabelResponse, error)

PostChecksIDLabels calls the POST on /checks/{checkID}/labels Add a label to a check

func (*Client) PostDBRP

func (c *Client) PostDBRP(ctx context.Context, params *PostDBRPAllParams) (*DBRP, error)

PostDBRP calls the POST on /dbrps Add a database retention policy mapping

func (*Client) PostDashboardsIDCells

func (c *Client) PostDashboardsIDCells(ctx context.Context, params *PostDashboardsIDCellsAllParams) (*Cell, error)

PostDashboardsIDCells calls the POST on /dashboards/{dashboardID}/cells Create a dashboard cell

func (*Client) PostDashboardsIDLabels

func (c *Client) PostDashboardsIDLabels(ctx context.Context, params *PostDashboardsIDLabelsAllParams) (*LabelResponse, error)

PostDashboardsIDLabels calls the POST on /dashboards/{dashboardID}/labels Add a label to a dashboard

func (*Client) PostDashboardsIDMembers

func (c *Client) PostDashboardsIDMembers(ctx context.Context, params *PostDashboardsIDMembersAllParams) (*ResourceMember, error)

PostDashboardsIDMembers calls the POST on /dashboards/{dashboardID}/members Add a member to a dashboard

func (*Client) PostDashboardsIDOwners

func (c *Client) PostDashboardsIDOwners(ctx context.Context, params *PostDashboardsIDOwnersAllParams) (*ResourceOwner, error)

PostDashboardsIDOwners calls the POST on /dashboards/{dashboardID}/owners Add an owner to a dashboard

func (*Client) PostDelete

func (c *Client) PostDelete(ctx context.Context, params *PostDeleteAllParams) error

PostDelete calls the POST on /delete Delete data

func (*Client) PostLabels

func (c *Client) PostLabels(ctx context.Context, params *PostLabelsAllParams) (*LabelResponse, error)

PostLabels calls the POST on /labels Create a label

func (*Client) PostNotificationEndpointIDLabels

func (c *Client) PostNotificationEndpointIDLabels(ctx context.Context, params *PostNotificationEndpointIDLabelsAllParams) (*LabelResponse, error)

PostNotificationEndpointIDLabels calls the POST on /notificationEndpoints/{endpointID}/labels Add a label to a notification endpoint

func (*Client) PostNotificationRuleIDLabels

func (c *Client) PostNotificationRuleIDLabels(ctx context.Context, params *PostNotificationRuleIDLabelsAllParams) (*LabelResponse, error)

PostNotificationRuleIDLabels calls the POST on /notificationRules/{ruleID}/labels Add a label to a notification rule

func (*Client) PostOrgs

func (c *Client) PostOrgs(ctx context.Context, params *PostOrgsAllParams) (*Organization, error)

PostOrgs calls the POST on /orgs Create an organization

func (*Client) PostOrgsIDMembers

func (c *Client) PostOrgsIDMembers(ctx context.Context, params *PostOrgsIDMembersAllParams) (*ResourceMember, error)

PostOrgsIDMembers calls the POST on /orgs/{orgID}/members Add a member to an organization

func (*Client) PostOrgsIDOwners

func (c *Client) PostOrgsIDOwners(ctx context.Context, params *PostOrgsIDOwnersAllParams) (*ResourceOwner, error)

PostOrgsIDOwners calls the POST on /orgs/{orgID}/owners Add an owner to an organization

func (*Client) PostOrgsIDSecrets

func (c *Client) PostOrgsIDSecrets(ctx context.Context, params *PostOrgsIDSecretsAllParams) error

PostOrgsIDSecrets calls the POST on /orgs/{orgID}/secrets/delete Delete secrets from an organization

func (*Client) PostQueryAnalyze

func (c *Client) PostQueryAnalyze(ctx context.Context, params *PostQueryAnalyzeAllParams) (*AnalyzeQueryResponse, error)

PostQueryAnalyze calls the POST on /query/analyze Analyze a Flux query

func (*Client) PostQueryAst

func (c *Client) PostQueryAst(ctx context.Context, params *PostQueryAstAllParams) (*ASTResponse, error)

PostQueryAst calls the POST on /query/ast Generate a query Abstract Syntax Tree (AST)

func (*Client) PostRemoteConnection added in v2.8.0

func (c *Client) PostRemoteConnection(ctx context.Context, params *PostRemoteConnectionAllParams) (*RemoteConnection, error)

PostRemoteConnection calls the POST on /remotes Register a new remote connection

func (*Client) PostReplication added in v2.8.0

func (c *Client) PostReplication(ctx context.Context, params *PostReplicationAllParams) (*Replication, error)

PostReplication calls the POST on /replications Register a new replication

func (*Client) PostRestoreBucketMetadata added in v2.5.0

func (c *Client) PostRestoreBucketMetadata(ctx context.Context, params *PostRestoreBucketMetadataAllParams) (*RestoredBucketMappings, error)

PostRestoreBucketMetadata calls the POST on /restore/bucketMetadata Create a new bucket pre-seeded with shard info from a backup.

func (*Client) PostScrapers

func (c *Client) PostScrapers(ctx context.Context, params *PostScrapersAllParams) (*ScraperTargetResponse, error)

PostScrapers calls the POST on /scrapers Create a scraper target

func (*Client) PostScrapersIDLabels

func (c *Client) PostScrapersIDLabels(ctx context.Context, params *PostScrapersIDLabelsAllParams) (*LabelResponse, error)

PostScrapersIDLabels calls the POST on /scrapers/{scraperTargetID}/labels Add a label to a scraper target

func (*Client) PostScrapersIDMembers

func (c *Client) PostScrapersIDMembers(ctx context.Context, params *PostScrapersIDMembersAllParams) (*ResourceMember, error)

PostScrapersIDMembers calls the POST on /scrapers/{scraperTargetID}/members Add a member to a scraper target

func (*Client) PostScrapersIDOwners

func (c *Client) PostScrapersIDOwners(ctx context.Context, params *PostScrapersIDOwnersAllParams) (*ResourceOwner, error)

PostScrapersIDOwners calls the POST on /scrapers/{scraperTargetID}/owners Add an owner to a scraper target

func (*Client) PostSetup

func (c *Client) PostSetup(ctx context.Context, params *PostSetupAllParams) (*OnboardingResponse, error)

PostSetup calls the POST on /setup Set up initial user, org and bucket

func (*Client) PostSignin

func (c *Client) PostSignin(ctx context.Context, params *PostSigninParams) error

PostSignin calls the POST on /signin Create a user session.

func (*Client) PostSignout

func (c *Client) PostSignout(ctx context.Context, params *PostSignoutParams) error

PostSignout calls the POST on /signout Expire the current UI session

func (*Client) PostSources

func (c *Client) PostSources(ctx context.Context, params *PostSourcesAllParams) (*Source, error)

PostSources calls the POST on /sources Create a source

func (*Client) PostTasks

func (c *Client) PostTasks(ctx context.Context, params *PostTasksAllParams) (*Task, error)

PostTasks calls the POST on /tasks Create a task

func (*Client) PostTasksIDLabels

func (c *Client) PostTasksIDLabels(ctx context.Context, params *PostTasksIDLabelsAllParams) (*LabelResponse, error)

PostTasksIDLabels calls the POST on /tasks/{taskID}/labels Add a label to a task

func (*Client) PostTasksIDMembers

func (c *Client) PostTasksIDMembers(ctx context.Context, params *PostTasksIDMembersAllParams) (*ResourceMember, error)

PostTasksIDMembers calls the POST on /tasks/{taskID}/members Add a member to a task

func (*Client) PostTasksIDOwners

func (c *Client) PostTasksIDOwners(ctx context.Context, params *PostTasksIDOwnersAllParams) (*ResourceOwner, error)

PostTasksIDOwners calls the POST on /tasks/{taskID}/owners Add an owner for a task

func (*Client) PostTasksIDRuns

func (c *Client) PostTasksIDRuns(ctx context.Context, params *PostTasksIDRunsAllParams) (*Run, error)

PostTasksIDRuns calls the POST on /tasks/{taskID}/runs Start a task run, overriding the schedule

func (*Client) PostTasksIDRunsIDRetry

func (c *Client) PostTasksIDRunsIDRetry(ctx context.Context, params *PostTasksIDRunsIDRetryAllParams) (*Run, error)

PostTasksIDRunsIDRetry calls the POST on /tasks/{taskID}/runs/{runID}/retry Retry a task run

func (*Client) PostTelegrafs

func (c *Client) PostTelegrafs(ctx context.Context, params *PostTelegrafsAllParams) (*Telegraf, error)

PostTelegrafs calls the POST on /telegrafs Create a Telegraf configuration

func (*Client) PostTelegrafsIDLabels

func (c *Client) PostTelegrafsIDLabels(ctx context.Context, params *PostTelegrafsIDLabelsAllParams) (*LabelResponse, error)

PostTelegrafsIDLabels calls the POST on /telegrafs/{telegrafID}/labels Add a label to a Telegraf config

func (*Client) PostTelegrafsIDMembers

func (c *Client) PostTelegrafsIDMembers(ctx context.Context, params *PostTelegrafsIDMembersAllParams) (*ResourceMember, error)

PostTelegrafsIDMembers calls the POST on /telegrafs/{telegrafID}/members Add a member to a Telegraf config

func (*Client) PostTelegrafsIDOwners

func (c *Client) PostTelegrafsIDOwners(ctx context.Context, params *PostTelegrafsIDOwnersAllParams) (*ResourceOwner, error)

PostTelegrafsIDOwners calls the POST on /telegrafs/{telegrafID}/owners Add an owner to a Telegraf configuration

func (*Client) PostUsers

func (c *Client) PostUsers(ctx context.Context, params *PostUsersAllParams) (*UserResponse, error)

PostUsers calls the POST on /users Create a user

func (*Client) PostUsersIDPassword

func (c *Client) PostUsersIDPassword(ctx context.Context, params *PostUsersIDPasswordAllParams) error

PostUsersIDPassword calls the POST on /users/{userID}/password Update a password

func (*Client) PostValidateReplicationByID added in v2.8.0

func (c *Client) PostValidateReplicationByID(ctx context.Context, params *PostValidateReplicationByIDAllParams) error

PostValidateReplicationByID calls the POST on /replications/{replicationID}/validate Validate a replication

func (*Client) PostVariables

func (c *Client) PostVariables(ctx context.Context, params *PostVariablesAllParams) (*Variable, error)

PostVariables calls the POST on /variables Create a variable

func (*Client) PostVariablesIDLabels

func (c *Client) PostVariablesIDLabels(ctx context.Context, params *PostVariablesIDLabelsAllParams) (*LabelResponse, error)

PostVariablesIDLabels calls the POST on /variables/{variableID}/labels Add a label to a variable

func (*Client) PutChecksID

func (c *Client) PutChecksID(ctx context.Context, params *PutChecksIDAllParams) (Check, error)

PutChecksID calls the PUT on /checks/{checkID} Update a check

func (*Client) PutDashboardsIDCells

func (c *Client) PutDashboardsIDCells(ctx context.Context, params *PutDashboardsIDCellsAllParams) (*Dashboard, error)

PutDashboardsIDCells calls the PUT on /dashboards/{dashboardID}/cells Replace cells in a dashboard

func (*Client) PutMePassword

func (c *Client) PutMePassword(ctx context.Context, params *PutMePasswordAllParams) error

PutMePassword calls the PUT on /me/password Update a password

func (*Client) PutNotificationEndpointsID

func (c *Client) PutNotificationEndpointsID(ctx context.Context, params *PutNotificationEndpointsIDAllParams) (*NotificationEndpoint, error)

PutNotificationEndpointsID calls the PUT on /notificationEndpoints/{endpointID} Update a notification endpoint

func (*Client) PutNotificationRulesID

func (c *Client) PutNotificationRulesID(ctx context.Context, params *PutNotificationRulesIDAllParams) (*NotificationRule, error)

PutNotificationRulesID calls the PUT on /notificationRules/{ruleID} Update a notification rule

func (*Client) PutTelegrafsID

func (c *Client) PutTelegrafsID(ctx context.Context, params *PutTelegrafsIDAllParams) (*Telegraf, error)

PutTelegrafsID calls the PUT on /telegrafs/{telegrafID} Update a Telegraf configuration

func (*Client) PutVariablesID

func (c *Client) PutVariablesID(ctx context.Context, params *PutVariablesIDAllParams) (*Variable, error)

PutVariablesID calls the PUT on /variables/{variableID} Replace a variable

func (*Client) ReadStack

func (c *Client) ReadStack(ctx context.Context, params *ReadStackAllParams) (*Stack, error)

ReadStack calls the GET on /stacks/{stack_id} Retrieve a stack

func (*Client) UninstallStack

func (c *Client) UninstallStack(ctx context.Context, params *UninstallStackAllParams) (*Stack, error)

UninstallStack calls the POST on /stacks/{stack_id}/uninstall Uninstall a stack

func (*Client) UpdateStack

func (c *Client) UpdateStack(ctx context.Context, params *UpdateStackAllParams) (*Stack, error)

UpdateStack calls the PATCH on /stacks/{stack_id} Update a stack

type ColorMapping added in v2.8.0

type ColorMapping struct {
	AdditionalProperties map[string]string `json:"-"`
}

A color mapping is an object that maps time series data to a UI color scheme to allow the UI to render graphs consistent colors across reloads.

func (ColorMapping) Get added in v2.8.0

func (a ColorMapping) Get(fieldName string) (value string, found bool)

Getter for additional properties for ColorMapping. Returns the specified element and whether it was found

func (ColorMapping) MarshalJSON added in v2.8.0

func (a ColorMapping) MarshalJSON() ([]byte, error)

Override default JSON handling for ColorMapping to handle AdditionalProperties

func (*ColorMapping) Set added in v2.8.0

func (a *ColorMapping) Set(fieldName string, value string)

Setter for additional properties for ColorMapping

func (*ColorMapping) UnmarshalJSON added in v2.8.0

func (a *ColorMapping) UnmarshalJSON(b []byte) error

Override default JSON handling for ColorMapping to handle AdditionalProperties

type ConditionalExpression

type ConditionalExpression struct {
	Alternate  *Expression `json:"alternate,omitempty"`
	Consequent *Expression `json:"consequent,omitempty"`
	Test       *Expression `json:"test,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

Selects one of two expressions, `Alternate` or `Consequent`, depending on a third boolean expression, `Test`

type Config added in v2.8.0

type Config struct {
	Config *map[string]interface{} `json:"config,omitempty"`
}

Config defines model for Config.

type ConstantVariableProperties

type ConstantVariableProperties struct {
	Type   *ConstantVariablePropertiesType `json:"type,omitempty"`
	Values *[]string                       `json:"values,omitempty"`
}

ConstantVariableProperties defines model for ConstantVariableProperties.

type ConstantVariablePropertiesType

type ConstantVariablePropertiesType string

ConstantVariablePropertiesType defines model for ConstantVariableProperties.Type.

const (
	ConstantVariablePropertiesTypeConstant ConstantVariablePropertiesType = "constant"
)

Defines values for ConstantVariablePropertiesType.

type CreateCell

type CreateCell struct {
	H    *int32  `json:"h,omitempty"`
	Name *string `json:"name,omitempty"`

	// Makes a copy of the provided view.
	UsingView *string `json:"usingView,omitempty"`
	W         *int32  `json:"w,omitempty"`
	X         *int32  `json:"x,omitempty"`
	Y         *int32  `json:"y,omitempty"`
}

CreateCell defines model for CreateCell.

type CreateCheckAllParams added in v2.11.0

type CreateCheckAllParams struct {
	Body CreateCheckJSONRequestBody
}

CreateCheckAllParams defines type for all parameters for CreateCheck.

type CreateCheckJSONBody

type CreateCheckJSONBody Check

CreateCheckJSONBody defines parameters for CreateCheck.

type CreateCheckJSONRequestBody

type CreateCheckJSONRequestBody CreateCheckJSONBody

CreateCheckJSONRequestBody defines body for CreateCheck for application/json ContentType.

type CreateDashboardRequest

type CreateDashboardRequest struct {
	// The user-facing description of the dashboard.
	Description *string `json:"description,omitempty"`

	// The user-facing name of the dashboard.
	Name string `json:"name"`

	// The ID of the organization that owns the dashboard.
	OrgID string `json:"orgID"`
}

CreateDashboardRequest defines model for CreateDashboardRequest.

type CreateNotificationEndpointAllParams added in v2.11.0

type CreateNotificationEndpointAllParams struct {
	Body CreateNotificationEndpointJSONRequestBody
}

CreateNotificationEndpointAllParams defines type for all parameters for CreateNotificationEndpoint.

type CreateNotificationEndpointJSONBody

type CreateNotificationEndpointJSONBody PostNotificationEndpoint

CreateNotificationEndpointJSONBody defines parameters for CreateNotificationEndpoint.

type CreateNotificationEndpointJSONRequestBody

type CreateNotificationEndpointJSONRequestBody CreateNotificationEndpointJSONBody

CreateNotificationEndpointJSONRequestBody defines body for CreateNotificationEndpoint for application/json ContentType.

type CreateNotificationRuleAllParams added in v2.11.0

type CreateNotificationRuleAllParams struct {
	Body CreateNotificationRuleJSONRequestBody
}

CreateNotificationRuleAllParams defines type for all parameters for CreateNotificationRule.

type CreateNotificationRuleJSONBody

type CreateNotificationRuleJSONBody PostNotificationRule

CreateNotificationRuleJSONBody defines parameters for CreateNotificationRule.

type CreateNotificationRuleJSONRequestBody

type CreateNotificationRuleJSONRequestBody CreateNotificationRuleJSONBody

CreateNotificationRuleJSONRequestBody defines body for CreateNotificationRule for application/json ContentType.

type CreateStackAllParams added in v2.11.0

type CreateStackAllParams struct {
	Body CreateStackJSONRequestBody
}

CreateStackAllParams defines type for all parameters for CreateStack.

type CreateStackJSONBody

type CreateStackJSONBody struct {
	Description *string   `json:"description,omitempty"`
	Name        *string   `json:"name,omitempty"`
	OrgID       *string   `json:"orgID,omitempty"`
	Urls        *[]string `json:"urls,omitempty"`
}

CreateStackJSONBody defines parameters for CreateStack.

type CreateStackJSONRequestBody

type CreateStackJSONRequestBody CreateStackJSONBody

CreateStackJSONRequestBody defines body for CreateStack for application/json ContentType.

type CustomCheck

type CustomCheck struct {
	// Embedded struct due to allOf(#/components/schemas/CheckBase)
	CheckBase
}

CustomCheck defines model for CustomCheck.

func (CustomCheck) MarshalJSON added in v2.14.0

func (c CustomCheck) MarshalJSON() ([]byte, error)

MarshalJSON implement json.Marshaler interface.

func (CustomCheck) Type

func (c CustomCheck) Type() string

type CustomCheckType

type CustomCheckType string

CustomCheckType defines model for CustomCheck.Type.

const (
	CustomCheckTypeCustom CustomCheckType = "custom"
)

Defines values for CustomCheckType.

type DBRP

type DBRP struct {
	// The ID of the bucket used as the target for the translation.
	BucketID string `json:"bucketID"`

	// InfluxDB v1 database
	Database string `json:"database"`

	// Mapping represents the default retention policy for the database specified.
	Default bool `json:"default"`

	// The ID of the DBRP mapping.
	Id string `json:"id"`

	// URI pointers for additional paged results.
	Links *Links `json:"links,omitempty"`

	// The ID of the organization.
	OrgID string `json:"orgID"`

	// InfluxDB v1 retention policy
	RetentionPolicy string `json:"retention_policy"`

	// Indicates an autogenerated, virtual mapping based on the bucket name. Currently only available in OSS.
	Virtual *bool `json:"virtual,omitempty"`
}

DBRP defines model for DBRP.

type DBRPCreate added in v2.5.0

type DBRPCreate struct {
	// The ID of the bucket used as the target for the translation.
	BucketID string `json:"bucketID"`

	// InfluxDB v1 database
	Database string `json:"database"`

	// Mapping represents the default retention policy for the database specified.
	Default *bool `json:"default,omitempty"`

	// The name of the organization that owns this mapping.
	Org *string `json:"org,omitempty"`

	// The ID of the organization.
	OrgID *string `json:"orgID,omitempty"`

	// InfluxDB v1 retention policy
	RetentionPolicy string `json:"retention_policy"`
}

DBRPCreate defines model for DBRPCreate.

type DBRPGet added in v2.5.0

type DBRPGet struct {
	Content *DBRP `json:"content,omitempty"`
}

DBRPGet defines model for DBRPGet.

type DBRPUpdate

type DBRPUpdate struct {
	Default *bool `json:"default,omitempty"`

	// InfluxDB v1 retention policy
	RetentionPolicy *string `json:"retention_policy,omitempty"`
}

DBRPUpdate defines model for DBRPUpdate.

type DBRPs

type DBRPs struct {
	Content *[]DBRP `json:"content,omitempty"`
}

DBRPs defines model for DBRPs.

type Dashboard

type Dashboard struct {
	// Embedded struct due to allOf(#/components/schemas/CreateDashboardRequest)
	CreateDashboardRequest `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	Cells  *Cells  `json:"cells,omitempty"`
	Id     *string `json:"id,omitempty"`
	Labels *Labels `json:"labels,omitempty"`
	Links  *struct {
		// URI of resource.
		Cells *Link `json:"cells,omitempty"`

		// URI of resource.
		Labels *Link `json:"labels,omitempty"`

		// URI of resource.
		Members *Link `json:"members,omitempty"`

		// URI of resource.
		Org *Link `json:"org,omitempty"`

		// URI of resource.
		Owners *Link `json:"owners,omitempty"`

		// URI of resource.
		Self *Link `json:"self,omitempty"`
	} `json:"links,omitempty"`
	Meta *struct {
		CreatedAt *time.Time `json:"createdAt,omitempty"`
		UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	} `json:"meta,omitempty"`
}

Dashboard defines model for Dashboard.

type DashboardColor

type DashboardColor struct {
	// The hex number of the color
	Hex string `json:"hex"`

	// The unique ID of the view color.
	Id string `json:"id"`

	// The user-facing name of the hex color.
	Name string `json:"name"`

	// Type is how the color is used.
	Type DashboardColorType `json:"type"`

	// The data value mapped to this color.
	Value float32 `json:"value"`
}

Defines an encoding of data value into color space.

type DashboardColorType

type DashboardColorType string

Type is how the color is used.

const (
	DashboardColorTypeBackground DashboardColorType = "background"

	DashboardColorTypeMax DashboardColorType = "max"

	DashboardColorTypeMin DashboardColorType = "min"

	DashboardColorTypeScale DashboardColorType = "scale"

	DashboardColorTypeText DashboardColorType = "text"

	DashboardColorTypeThreshold DashboardColorType = "threshold"
)

Defines values for DashboardColorType.

type DashboardQuery

type DashboardQuery struct {
	BuilderConfig *BuilderConfig `json:"builderConfig,omitempty"`
	EditMode      *QueryEditMode `json:"editMode,omitempty"`
	Name          *string        `json:"name,omitempty"`

	// The text of the Flux query.
	Text *string `json:"text,omitempty"`
}

DashboardQuery defines model for DashboardQuery.

type DashboardWithViewProperties

type DashboardWithViewProperties struct {
	// Embedded struct due to allOf(#/components/schemas/CreateDashboardRequest)
	CreateDashboardRequest `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	Cells  *CellsWithViewProperties `json:"cells,omitempty"`
	Id     *string                  `json:"id,omitempty"`
	Labels *Labels                  `json:"labels,omitempty"`
	Links  *struct {
		// URI of resource.
		Cells *Link `json:"cells,omitempty"`

		// URI of resource.
		Labels *Link `json:"labels,omitempty"`

		// URI of resource.
		Members *Link `json:"members,omitempty"`

		// URI of resource.
		Org *Link `json:"org,omitempty"`

		// URI of resource.
		Owners *Link `json:"owners,omitempty"`

		// URI of resource.
		Self *Link `json:"self,omitempty"`
	} `json:"links,omitempty"`
	Meta *struct {
		CreatedAt *time.Time `json:"createdAt,omitempty"`
		UpdatedAt *time.Time `json:"updatedAt,omitempty"`
	} `json:"meta,omitempty"`
}

DashboardWithViewProperties defines model for DashboardWithViewProperties.

type Dashboards

type Dashboards struct {
	Dashboards *[]Dashboard `json:"dashboards,omitempty"`

	// URI pointers for additional paged results.
	Links *Links `json:"links,omitempty"`
}

Dashboards defines model for Dashboards.

type DateTimeLiteral

type DateTimeLiteral struct {
	// Type of AST node
	Type  *NodeType  `json:"type,omitempty"`
	Value *time.Time `json:"value,omitempty"`
}

Represents an instant in time with nanosecond precision in [RFC3339Nano date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339nano-timestamp).

type DeadmanCheck

type DeadmanCheck struct {
	CheckBaseExtend
	// The state to record if check matches a criteria.
	Level *CheckStatusLevel `json:"level,omitempty"`

	// If only zero values reported since time, trigger an alert
	ReportZero *bool `json:"reportZero,omitempty"`

	// String duration for time that a series is considered stale and should not trigger deadman.
	StaleTime *string `json:"staleTime,omitempty"`

	// String duration before deadman triggers.
	TimeSince *string `json:"timeSince,omitempty"`
}

DeadmanCheck defines model for DeadmanCheck.

func (DeadmanCheck) MarshalJSON added in v2.14.0

func (d DeadmanCheck) MarshalJSON() ([]byte, error)

MarshalJSON implement json.Marshaler interface.

func (DeadmanCheck) Type

func (d DeadmanCheck) Type() string

type DeadmanCheckType

type DeadmanCheckType string

DeadmanCheckType defines model for DeadmanCheck.Type.

const (
	DeadmanCheckTypeDeadman DeadmanCheckType = "deadman"
)

Defines values for DeadmanCheckType.

type DecimalPlaces

type DecimalPlaces struct {
	// The number of digits after decimal to display
	Digits *int32 `json:"digits,omitempty"`

	// Indicates whether decimal point setting should be enforced
	IsEnforced *bool `json:"isEnforced,omitempty"`
}

Indicates whether decimal places should be enforced, and how many digits it should show.

type DeleteAuthorizationsIDAllParams added in v2.11.0

type DeleteAuthorizationsIDAllParams struct {
	DeleteAuthorizationsIDParams

	AuthID string
}

DeleteAuthorizationsIDAllParams defines type for all parameters for DeleteAuthorizationsID.

type DeleteAuthorizationsIDParams

type DeleteAuthorizationsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteAuthorizationsIDParams defines parameters for DeleteAuthorizationsID.

type DeleteBucketsIDAllParams added in v2.11.0

type DeleteBucketsIDAllParams struct {
	DeleteBucketsIDParams

	BucketID string
}

DeleteBucketsIDAllParams defines type for all parameters for DeleteBucketsID.

type DeleteBucketsIDLabelsIDAllParams added in v2.11.0

type DeleteBucketsIDLabelsIDAllParams struct {
	DeleteBucketsIDLabelsIDParams

	BucketID string

	LabelID string
}

DeleteBucketsIDLabelsIDAllParams defines type for all parameters for DeleteBucketsIDLabelsID.

type DeleteBucketsIDLabelsIDParams

type DeleteBucketsIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteBucketsIDLabelsIDParams defines parameters for DeleteBucketsIDLabelsID.

type DeleteBucketsIDMembersIDAllParams added in v2.11.0

type DeleteBucketsIDMembersIDAllParams struct {
	DeleteBucketsIDMembersIDParams

	BucketID string

	UserID string
}

DeleteBucketsIDMembersIDAllParams defines type for all parameters for DeleteBucketsIDMembersID.

type DeleteBucketsIDMembersIDParams

type DeleteBucketsIDMembersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteBucketsIDMembersIDParams defines parameters for DeleteBucketsIDMembersID.

type DeleteBucketsIDOwnersIDAllParams added in v2.11.0

type DeleteBucketsIDOwnersIDAllParams struct {
	DeleteBucketsIDOwnersIDParams

	BucketID string

	UserID string
}

DeleteBucketsIDOwnersIDAllParams defines type for all parameters for DeleteBucketsIDOwnersID.

type DeleteBucketsIDOwnersIDParams

type DeleteBucketsIDOwnersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteBucketsIDOwnersIDParams defines parameters for DeleteBucketsIDOwnersID.

type DeleteBucketsIDParams

type DeleteBucketsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteBucketsIDParams defines parameters for DeleteBucketsID.

type DeleteChecksIDAllParams added in v2.11.0

type DeleteChecksIDAllParams struct {
	DeleteChecksIDParams

	CheckID string
}

DeleteChecksIDAllParams defines type for all parameters for DeleteChecksID.

type DeleteChecksIDLabelsIDAllParams added in v2.11.0

type DeleteChecksIDLabelsIDAllParams struct {
	DeleteChecksIDLabelsIDParams

	CheckID string

	LabelID string
}

DeleteChecksIDLabelsIDAllParams defines type for all parameters for DeleteChecksIDLabelsID.

type DeleteChecksIDLabelsIDParams

type DeleteChecksIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteChecksIDLabelsIDParams defines parameters for DeleteChecksIDLabelsID.

type DeleteChecksIDParams

type DeleteChecksIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteChecksIDParams defines parameters for DeleteChecksID.

type DeleteDBRPIDAllParams added in v2.11.0

type DeleteDBRPIDAllParams struct {
	DeleteDBRPIDParams

	DbrpID string
}

DeleteDBRPIDAllParams defines type for all parameters for DeleteDBRPID.

type DeleteDBRPIDParams

type DeleteDBRPIDParams struct {
	// Specifies the organization ID of the mapping
	OrgID *string `json:"orgID,omitempty"`

	// Specifies the organization name of the mapping
	Org *string `json:"org,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteDBRPIDParams defines parameters for DeleteDBRPID.

type DeleteDashboardsIDAllParams added in v2.11.0

type DeleteDashboardsIDAllParams struct {
	DeleteDashboardsIDParams

	DashboardID string
}

DeleteDashboardsIDAllParams defines type for all parameters for DeleteDashboardsID.

type DeleteDashboardsIDCellsIDAllParams added in v2.11.0

type DeleteDashboardsIDCellsIDAllParams struct {
	DeleteDashboardsIDCellsIDParams

	DashboardID string

	CellID string
}

DeleteDashboardsIDCellsIDAllParams defines type for all parameters for DeleteDashboardsIDCellsID.

type DeleteDashboardsIDCellsIDParams

type DeleteDashboardsIDCellsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteDashboardsIDCellsIDParams defines parameters for DeleteDashboardsIDCellsID.

type DeleteDashboardsIDLabelsIDAllParams added in v2.11.0

type DeleteDashboardsIDLabelsIDAllParams struct {
	DeleteDashboardsIDLabelsIDParams

	DashboardID string

	LabelID string
}

DeleteDashboardsIDLabelsIDAllParams defines type for all parameters for DeleteDashboardsIDLabelsID.

type DeleteDashboardsIDLabelsIDParams

type DeleteDashboardsIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteDashboardsIDLabelsIDParams defines parameters for DeleteDashboardsIDLabelsID.

type DeleteDashboardsIDMembersIDAllParams added in v2.11.0

type DeleteDashboardsIDMembersIDAllParams struct {
	DeleteDashboardsIDMembersIDParams

	DashboardID string

	UserID string
}

DeleteDashboardsIDMembersIDAllParams defines type for all parameters for DeleteDashboardsIDMembersID.

type DeleteDashboardsIDMembersIDParams

type DeleteDashboardsIDMembersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteDashboardsIDMembersIDParams defines parameters for DeleteDashboardsIDMembersID.

type DeleteDashboardsIDOwnersIDAllParams added in v2.11.0

type DeleteDashboardsIDOwnersIDAllParams struct {
	DeleteDashboardsIDOwnersIDParams

	DashboardID string

	UserID string
}

DeleteDashboardsIDOwnersIDAllParams defines type for all parameters for DeleteDashboardsIDOwnersID.

type DeleteDashboardsIDOwnersIDParams

type DeleteDashboardsIDOwnersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteDashboardsIDOwnersIDParams defines parameters for DeleteDashboardsIDOwnersID.

type DeleteDashboardsIDParams

type DeleteDashboardsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteDashboardsIDParams defines parameters for DeleteDashboardsID.

type DeleteLabelsIDAllParams added in v2.11.0

type DeleteLabelsIDAllParams struct {
	DeleteLabelsIDParams

	LabelID string
}

DeleteLabelsIDAllParams defines type for all parameters for DeleteLabelsID.

type DeleteLabelsIDParams

type DeleteLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteLabelsIDParams defines parameters for DeleteLabelsID.

type DeleteNotificationEndpointsIDAllParams added in v2.11.0

type DeleteNotificationEndpointsIDAllParams struct {
	DeleteNotificationEndpointsIDParams

	EndpointID string
}

DeleteNotificationEndpointsIDAllParams defines type for all parameters for DeleteNotificationEndpointsID.

type DeleteNotificationEndpointsIDLabelsIDAllParams added in v2.11.0

type DeleteNotificationEndpointsIDLabelsIDAllParams struct {
	DeleteNotificationEndpointsIDLabelsIDParams

	EndpointID string

	LabelID string
}

DeleteNotificationEndpointsIDLabelsIDAllParams defines type for all parameters for DeleteNotificationEndpointsIDLabelsID.

type DeleteNotificationEndpointsIDLabelsIDParams

type DeleteNotificationEndpointsIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteNotificationEndpointsIDLabelsIDParams defines parameters for DeleteNotificationEndpointsIDLabelsID.

type DeleteNotificationEndpointsIDParams

type DeleteNotificationEndpointsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteNotificationEndpointsIDParams defines parameters for DeleteNotificationEndpointsID.

type DeleteNotificationRulesIDAllParams added in v2.11.0

type DeleteNotificationRulesIDAllParams struct {
	DeleteNotificationRulesIDParams

	RuleID string
}

DeleteNotificationRulesIDAllParams defines type for all parameters for DeleteNotificationRulesID.

type DeleteNotificationRulesIDLabelsIDAllParams added in v2.11.0

type DeleteNotificationRulesIDLabelsIDAllParams struct {
	DeleteNotificationRulesIDLabelsIDParams

	RuleID string

	LabelID string
}

DeleteNotificationRulesIDLabelsIDAllParams defines type for all parameters for DeleteNotificationRulesIDLabelsID.

type DeleteNotificationRulesIDLabelsIDParams

type DeleteNotificationRulesIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteNotificationRulesIDLabelsIDParams defines parameters for DeleteNotificationRulesIDLabelsID.

type DeleteNotificationRulesIDParams

type DeleteNotificationRulesIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteNotificationRulesIDParams defines parameters for DeleteNotificationRulesID.

type DeleteOrgsIDAllParams added in v2.11.0

type DeleteOrgsIDAllParams struct {
	DeleteOrgsIDParams

	OrgID string
}

DeleteOrgsIDAllParams defines type for all parameters for DeleteOrgsID.

type DeleteOrgsIDMembersIDAllParams added in v2.11.0

type DeleteOrgsIDMembersIDAllParams struct {
	DeleteOrgsIDMembersIDParams

	OrgID string

	UserID string
}

DeleteOrgsIDMembersIDAllParams defines type for all parameters for DeleteOrgsIDMembersID.

type DeleteOrgsIDMembersIDParams

type DeleteOrgsIDMembersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteOrgsIDMembersIDParams defines parameters for DeleteOrgsIDMembersID.

type DeleteOrgsIDOwnersIDAllParams added in v2.11.0

type DeleteOrgsIDOwnersIDAllParams struct {
	DeleteOrgsIDOwnersIDParams

	OrgID string

	UserID string
}

DeleteOrgsIDOwnersIDAllParams defines type for all parameters for DeleteOrgsIDOwnersID.

type DeleteOrgsIDOwnersIDParams

type DeleteOrgsIDOwnersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteOrgsIDOwnersIDParams defines parameters for DeleteOrgsIDOwnersID.

type DeleteOrgsIDParams

type DeleteOrgsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteOrgsIDParams defines parameters for DeleteOrgsID.

type DeleteOrgsIDSecretsIDAllParams added in v2.11.0

type DeleteOrgsIDSecretsIDAllParams struct {
	DeleteOrgsIDSecretsIDParams

	OrgID string

	SecretID string
}

DeleteOrgsIDSecretsIDAllParams defines type for all parameters for DeleteOrgsIDSecretsID.

type DeleteOrgsIDSecretsIDParams added in v2.6.0

type DeleteOrgsIDSecretsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteOrgsIDSecretsIDParams defines parameters for DeleteOrgsIDSecretsID.

type DeletePredicateRequest

type DeletePredicateRequest struct {
	// An expression in [delete predicate syntax](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/delete-predicate/).
	Predicate *string `json:"predicate,omitempty"`

	// A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)).
	// The earliest time to delete from.
	Start time.Time `json:"start"`

	// A timestamp ([RFC3339 date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp)).
	// The latest time to delete from.
	Stop time.Time `json:"stop"`
}

The delete predicate request.

type DeleteRemoteConnectionByIDAllParams added in v2.11.0

type DeleteRemoteConnectionByIDAllParams struct {
	DeleteRemoteConnectionByIDParams

	RemoteID string
}

DeleteRemoteConnectionByIDAllParams defines type for all parameters for DeleteRemoteConnectionByID.

type DeleteRemoteConnectionByIDParams added in v2.8.0

type DeleteRemoteConnectionByIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteRemoteConnectionByIDParams defines parameters for DeleteRemoteConnectionByID.

type DeleteReplicationByIDAllParams added in v2.11.0

type DeleteReplicationByIDAllParams struct {
	DeleteReplicationByIDParams

	ReplicationID string
}

DeleteReplicationByIDAllParams defines type for all parameters for DeleteReplicationByID.

type DeleteReplicationByIDParams added in v2.8.0

type DeleteReplicationByIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteReplicationByIDParams defines parameters for DeleteReplicationByID.

type DeleteScrapersIDAllParams added in v2.11.0

type DeleteScrapersIDAllParams struct {
	DeleteScrapersIDParams

	ScraperTargetID string
}

DeleteScrapersIDAllParams defines type for all parameters for DeleteScrapersID.

type DeleteScrapersIDLabelsIDAllParams added in v2.11.0

type DeleteScrapersIDLabelsIDAllParams struct {
	DeleteScrapersIDLabelsIDParams

	ScraperTargetID string

	LabelID string
}

DeleteScrapersIDLabelsIDAllParams defines type for all parameters for DeleteScrapersIDLabelsID.

type DeleteScrapersIDLabelsIDParams

type DeleteScrapersIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteScrapersIDLabelsIDParams defines parameters for DeleteScrapersIDLabelsID.

type DeleteScrapersIDMembersIDAllParams added in v2.11.0

type DeleteScrapersIDMembersIDAllParams struct {
	DeleteScrapersIDMembersIDParams

	ScraperTargetID string

	UserID string
}

DeleteScrapersIDMembersIDAllParams defines type for all parameters for DeleteScrapersIDMembersID.

type DeleteScrapersIDMembersIDParams

type DeleteScrapersIDMembersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteScrapersIDMembersIDParams defines parameters for DeleteScrapersIDMembersID.

type DeleteScrapersIDOwnersIDAllParams added in v2.11.0

type DeleteScrapersIDOwnersIDAllParams struct {
	DeleteScrapersIDOwnersIDParams

	ScraperTargetID string

	UserID string
}

DeleteScrapersIDOwnersIDAllParams defines type for all parameters for DeleteScrapersIDOwnersID.

type DeleteScrapersIDOwnersIDParams

type DeleteScrapersIDOwnersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteScrapersIDOwnersIDParams defines parameters for DeleteScrapersIDOwnersID.

type DeleteScrapersIDParams

type DeleteScrapersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteScrapersIDParams defines parameters for DeleteScrapersID.

type DeleteSourcesIDAllParams added in v2.11.0

type DeleteSourcesIDAllParams struct {
	DeleteSourcesIDParams

	SourceID string
}

DeleteSourcesIDAllParams defines type for all parameters for DeleteSourcesID.

type DeleteSourcesIDParams

type DeleteSourcesIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteSourcesIDParams defines parameters for DeleteSourcesID.

type DeleteStackAllParams added in v2.11.0

type DeleteStackAllParams struct {
	DeleteStackParams

	StackId string
}

DeleteStackAllParams defines type for all parameters for DeleteStack.

type DeleteStackParams

type DeleteStackParams struct {
	// The identifier of the organization.
	OrgID string `json:"orgID"`
}

DeleteStackParams defines parameters for DeleteStack.

type DeleteTasksIDAllParams added in v2.11.0

type DeleteTasksIDAllParams struct {
	DeleteTasksIDParams

	TaskID string
}

DeleteTasksIDAllParams defines type for all parameters for DeleteTasksID.

type DeleteTasksIDLabelsIDAllParams added in v2.11.0

type DeleteTasksIDLabelsIDAllParams struct {
	DeleteTasksIDLabelsIDParams

	TaskID string

	LabelID string
}

DeleteTasksIDLabelsIDAllParams defines type for all parameters for DeleteTasksIDLabelsID.

type DeleteTasksIDLabelsIDParams

type DeleteTasksIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTasksIDLabelsIDParams defines parameters for DeleteTasksIDLabelsID.

type DeleteTasksIDMembersIDAllParams added in v2.11.0

type DeleteTasksIDMembersIDAllParams struct {
	DeleteTasksIDMembersIDParams

	TaskID string

	UserID string
}

DeleteTasksIDMembersIDAllParams defines type for all parameters for DeleteTasksIDMembersID.

type DeleteTasksIDMembersIDParams

type DeleteTasksIDMembersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTasksIDMembersIDParams defines parameters for DeleteTasksIDMembersID.

type DeleteTasksIDOwnersIDAllParams added in v2.11.0

type DeleteTasksIDOwnersIDAllParams struct {
	DeleteTasksIDOwnersIDParams

	TaskID string

	UserID string
}

DeleteTasksIDOwnersIDAllParams defines type for all parameters for DeleteTasksIDOwnersID.

type DeleteTasksIDOwnersIDParams

type DeleteTasksIDOwnersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTasksIDOwnersIDParams defines parameters for DeleteTasksIDOwnersID.

type DeleteTasksIDParams

type DeleteTasksIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTasksIDParams defines parameters for DeleteTasksID.

type DeleteTasksIDRunsIDAllParams added in v2.11.0

type DeleteTasksIDRunsIDAllParams struct {
	DeleteTasksIDRunsIDParams

	TaskID string

	RunID string
}

DeleteTasksIDRunsIDAllParams defines type for all parameters for DeleteTasksIDRunsID.

type DeleteTasksIDRunsIDParams

type DeleteTasksIDRunsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTasksIDRunsIDParams defines parameters for DeleteTasksIDRunsID.

type DeleteTelegrafsIDAllParams added in v2.11.0

type DeleteTelegrafsIDAllParams struct {
	DeleteTelegrafsIDParams

	TelegrafID string
}

DeleteTelegrafsIDAllParams defines type for all parameters for DeleteTelegrafsID.

type DeleteTelegrafsIDLabelsIDAllParams added in v2.11.0

type DeleteTelegrafsIDLabelsIDAllParams struct {
	DeleteTelegrafsIDLabelsIDParams

	TelegrafID string

	LabelID string
}

DeleteTelegrafsIDLabelsIDAllParams defines type for all parameters for DeleteTelegrafsIDLabelsID.

type DeleteTelegrafsIDLabelsIDParams

type DeleteTelegrafsIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTelegrafsIDLabelsIDParams defines parameters for DeleteTelegrafsIDLabelsID.

type DeleteTelegrafsIDMembersIDAllParams added in v2.11.0

type DeleteTelegrafsIDMembersIDAllParams struct {
	DeleteTelegrafsIDMembersIDParams

	TelegrafID string

	UserID string
}

DeleteTelegrafsIDMembersIDAllParams defines type for all parameters for DeleteTelegrafsIDMembersID.

type DeleteTelegrafsIDMembersIDParams

type DeleteTelegrafsIDMembersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTelegrafsIDMembersIDParams defines parameters for DeleteTelegrafsIDMembersID.

type DeleteTelegrafsIDOwnersIDAllParams added in v2.11.0

type DeleteTelegrafsIDOwnersIDAllParams struct {
	DeleteTelegrafsIDOwnersIDParams

	TelegrafID string

	UserID string
}

DeleteTelegrafsIDOwnersIDAllParams defines type for all parameters for DeleteTelegrafsIDOwnersID.

type DeleteTelegrafsIDOwnersIDParams

type DeleteTelegrafsIDOwnersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTelegrafsIDOwnersIDParams defines parameters for DeleteTelegrafsIDOwnersID.

type DeleteTelegrafsIDParams

type DeleteTelegrafsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteTelegrafsIDParams defines parameters for DeleteTelegrafsID.

type DeleteUsersIDAllParams added in v2.11.0

type DeleteUsersIDAllParams struct {
	DeleteUsersIDParams

	UserID string
}

DeleteUsersIDAllParams defines type for all parameters for DeleteUsersID.

type DeleteUsersIDParams

type DeleteUsersIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteUsersIDParams defines parameters for DeleteUsersID.

type DeleteVariablesIDAllParams added in v2.11.0

type DeleteVariablesIDAllParams struct {
	DeleteVariablesIDParams

	VariableID string
}

DeleteVariablesIDAllParams defines type for all parameters for DeleteVariablesID.

type DeleteVariablesIDLabelsIDAllParams added in v2.11.0

type DeleteVariablesIDLabelsIDAllParams struct {
	DeleteVariablesIDLabelsIDParams

	VariableID string

	LabelID string
}

DeleteVariablesIDLabelsIDAllParams defines type for all parameters for DeleteVariablesIDLabelsID.

type DeleteVariablesIDLabelsIDParams

type DeleteVariablesIDLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteVariablesIDLabelsIDParams defines parameters for DeleteVariablesIDLabelsID.

type DeleteVariablesIDParams

type DeleteVariablesIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

DeleteVariablesIDParams defines parameters for DeleteVariablesID.

type Descending

type Descending bool

Descending defines model for Descending.

type Dialect

type Dialect struct {
	// Annotation rows to include in the results.
	// An _annotation_ is metadata associated with an object (column) in the data model.
	//
	// #### Related guides
	//
	// - See [Annotated CSV annotations](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/annotated-csv/#annotations) for examples and more information.
	//
	// For more information about **annotations** in tabular data,
	// see [W3 metadata vocabulary for tabular data](https://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#columns).
	Annotations *[]DialectAnnotations `json:"annotations,omitempty"`

	// The character prefixed to comment strings. Default is a number sign (`#`).
	CommentPrefix *string `json:"commentPrefix,omitempty"`

	// The format for timestamps in results.
	// Default is [`RFC3339` date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp).
	// To include nanoseconds in timestamps, use `RFC3339Nano`.
	//
	// #### Example formatted date/time values
	//
	// | Format      | Value                       |
	// |:------------|:----------------------------|
	// | `RFC3339`    | `"2006-01-02T15:04:05Z07:00"` |
	// | `RFC3339Nano` | `"2006-01-02T15:04:05.999999999Z07:00"` |
	DateTimeFormat *DialectDateTimeFormat `json:"dateTimeFormat,omitempty"`

	// The separator used between cells. Default is a comma (`,`).
	Delimiter *string `json:"delimiter,omitempty"`

	// If true, the results contain a header row.
	Header *bool `json:"header,omitempty"`
}

Options for tabular data output. Default output is [annotated CSV](https://docs.influxdata.com/influxdb/v2.3/reference/syntax/annotated-csv/#csv-response-format) with headers.

For more information about tabular data **dialect**, see [W3 metadata vocabulary for tabular data](https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dialect-descriptions).

type DialectAnnotations

type DialectAnnotations string

DialectAnnotations defines model for Dialect.Annotations.

const (
	DialectAnnotationsDatatype DialectAnnotations = "datatype"

	DialectAnnotationsDefault DialectAnnotations = "default"

	DialectAnnotationsGroup DialectAnnotations = "group"
)

Defines values for DialectAnnotations.

type DialectDateTimeFormat

type DialectDateTimeFormat string

The format for timestamps in results. Default is [`RFC3339` date/time format](https://docs.influxdata.com/influxdb/v2.3/reference/glossary/#rfc3339-timestamp). To include nanoseconds in timestamps, use `RFC3339Nano`.

#### Example formatted date/time values

| Format | Value | |:------------|:----------------------------| | `RFC3339` | `"2006-01-02T15:04:05Z07:00"` | | `RFC3339Nano` | `"2006-01-02T15:04:05.999999999Z07:00"` |

const (
	DialectDateTimeFormatRFC3339 DialectDateTimeFormat = "RFC3339"

	DialectDateTimeFormatRFC3339Nano DialectDateTimeFormat = "RFC3339Nano"
)

Defines values for DialectDateTimeFormat.

type DictExpression added in v2.3.0

type DictExpression struct {
	// Elements of the dictionary
	Elements *[]DictItem `json:"elements,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

Used to create and directly specify the elements of a dictionary

type DictItem added in v2.3.0

type DictItem struct {
	Key *Expression `json:"key,omitempty"`

	// Type of AST node
	Type *NodeType   `json:"type,omitempty"`
	Val  *Expression `json:"val,omitempty"`
}

A key-value pair in a dictionary.

type Duration

type Duration struct {
	Magnitude *int `json:"magnitude,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
	Unit *string   `json:"unit,omitempty"`
}

A pair consisting of length of time and the unit of time measured. It is the atomic unit from which all duration literals are composed.

type DurationLiteral

type DurationLiteral struct {
	// Type of AST node
	Type *NodeType `json:"type,omitempty"`

	// Duration values
	Values *[]Duration `json:"values,omitempty"`
}

Represents the elapsed time between two instants as an int64 nanosecond count with syntax of golang's time.Duration

type Error

type Error struct {
	// code is the machine-readable error code.
	Code ErrorCode `json:"code"`

	// Stack of errors that occurred during processing of the request. Useful for debugging.
	Err *string `json:"err,omitempty"`

	// Human-readable message.
	Message *string `json:"message,omitempty"`

	// Describes the logical code operation when the error occurred. Useful for debugging.
	Op *string `json:"op,omitempty"`
}

Error defines model for Error.

func (*Error) Error added in v2.11.0

func (e *Error) Error() error

type ErrorCode

type ErrorCode string

code is the machine-readable error code.

const (
	ErrorCodeConflict ErrorCode = "conflict"

	ErrorCodeEmptyValue ErrorCode = "empty value"

	ErrorCodeForbidden ErrorCode = "forbidden"

	ErrorCodeInternalError ErrorCode = "internal error"

	ErrorCodeInvalid ErrorCode = "invalid"

	ErrorCodeMethodNotAllowed ErrorCode = "method not allowed"

	ErrorCodeNotFound ErrorCode = "not found"

	ErrorCodeRequestTooLarge ErrorCode = "request too large"

	ErrorCodeTooManyRequests ErrorCode = "too many requests"

	ErrorCodeUnauthorized ErrorCode = "unauthorized"

	ErrorCodeUnavailable ErrorCode = "unavailable"

	ErrorCodeUnprocessableEntity ErrorCode = "unprocessable entity"

	ErrorCodeUnsupportedMediaType ErrorCode = "unsupported media type"
)

Defines values for ErrorCode.

type ExportTemplateAllParams added in v2.11.0

type ExportTemplateAllParams struct {
	Body ExportTemplateJSONRequestBody
}

ExportTemplateAllParams defines type for all parameters for ExportTemplate.

type ExportTemplateJSONBody

type ExportTemplateJSONBody interface{}

ExportTemplateJSONBody defines parameters for ExportTemplate.

type ExportTemplateJSONRequestBody

type ExportTemplateJSONRequestBody ExportTemplateJSONBody

ExportTemplateJSONRequestBody defines body for ExportTemplate for application/json ContentType.

type Expression

type Expression interface{}

Expression defines model for Expression.

type ExpressionStatement

type ExpressionStatement struct {
	Expression *Expression `json:"expression,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

May consist of an expression that doesn't return a value and is executed solely for its side-effects

type Field

type Field struct {
	// Alias overrides the field name in the returned response.  Applies only if type is `func`
	Alias *string `json:"alias,omitempty"`

	// Args are the arguments to the function
	Args *[]Field `json:"args,omitempty"`

	// `type` describes the field type. `func` is a function. `field` is a field reference.
	Type *FieldType `json:"type,omitempty"`

	// value is the value of the field.  Meaning of the value is implied by the `type` key
	Value *string `json:"value,omitempty"`
}

Field defines model for Field.

type FieldType

type FieldType string

`type` describes the field type. `func` is a function. `field` is a field reference.

const (
	FieldTypeField FieldType = "field"

	FieldTypeFunc FieldType = "func"

	FieldTypeInteger FieldType = "integer"

	FieldTypeNumber FieldType = "number"

	FieldTypeRegex FieldType = "regex"

	FieldTypeWildcard FieldType = "wildcard"
)

Defines values for FieldType.

type File

type File struct {
	// List of Flux statements
	Body *[]Statement `json:"body,omitempty"`

	// A list of package imports
	Imports *[]ImportDeclaration `json:"imports,omitempty"`

	// The name of the file.
	Name *string `json:"name,omitempty"`

	// Defines a package identifier
	Package *PackageClause `json:"package,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

Represents a source from a single file

type Flags

type Flags struct {
	AdditionalProperties map[string]interface{} `json:"-"`
}

Flags defines model for Flags.

func (Flags) Get

func (a Flags) Get(fieldName string) (value interface{}, found bool)

Getter for additional properties for Flags. Returns the specified element and whether it was found

func (Flags) MarshalJSON

func (a Flags) MarshalJSON() ([]byte, error)

Override default JSON handling for Flags to handle AdditionalProperties

func (*Flags) Set

func (a *Flags) Set(fieldName string, value interface{})

Setter for additional properties for Flags

func (*Flags) UnmarshalJSON

func (a *Flags) UnmarshalJSON(b []byte) error

Override default JSON handling for Flags to handle AdditionalProperties

type FloatLiteral

type FloatLiteral struct {
	// Type of AST node
	Type  *NodeType `json:"type,omitempty"`
	Value *float32  `json:"value,omitempty"`
}

Represents floating point numbers according to the double representations defined by the IEEE-754-1985

type FluxResponse

type FluxResponse struct {
	Flux *string `json:"flux,omitempty"`
}

Rendered flux that backs the check or notification.

type FluxSuggestion

type FluxSuggestion struct {
	Name   *string                `json:"name,omitempty"`
	Params *FluxSuggestion_Params `json:"params,omitempty"`
}

FluxSuggestion defines model for FluxSuggestion.

type FluxSuggestion_Params

type FluxSuggestion_Params struct {
	AdditionalProperties map[string]string `json:"-"`
}

FluxSuggestion_Params defines model for FluxSuggestion.Params.

func (FluxSuggestion_Params) Get

func (a FluxSuggestion_Params) Get(fieldName string) (value string, found bool)

Getter for additional properties for FluxSuggestion_Params. Returns the specified element and whether it was found

func (FluxSuggestion_Params) MarshalJSON

func (a FluxSuggestion_Params) MarshalJSON() ([]byte, error)

Override default JSON handling for FluxSuggestion_Params to handle AdditionalProperties

func (*FluxSuggestion_Params) Set

func (a *FluxSuggestion_Params) Set(fieldName string, value string)

Setter for additional properties for FluxSuggestion_Params

func (*FluxSuggestion_Params) UnmarshalJSON

func (a *FluxSuggestion_Params) UnmarshalJSON(b []byte) error

Override default JSON handling for FluxSuggestion_Params to handle AdditionalProperties

type FluxSuggestions

type FluxSuggestions struct {
	Funcs *[]FluxSuggestion `json:"funcs,omitempty"`
}

FluxSuggestions defines model for FluxSuggestions.

type FunctionExpression

type FunctionExpression struct {
	Body *Node `json:"body,omitempty"`

	// Function parameters
	Params *[]Property `json:"params,omitempty"`

	// Type of AST node
	Type *NodeType `json:"type,omitempty"`
}

Function expression

type GaugeViewProperties

type GaugeViewProperties struct {
	// Colors define color encoding of data into a visualization
	Colors []DashboardColor `json:"colors"`

	// Indicates whether decimal places should be enforced, and how many digits it should show.
	DecimalPlaces DecimalPlaces            `json:"decimalPlaces"`
	Note          string                   `json:"note"`
	Prefix        string                   `json:"prefix"`
	Queries       []DashboardQuery         `json:"queries"`
	Shape         GaugeViewPropertiesShape `json:"shape"`

	// If true, will display note when empty
	ShowNoteWhenEmpty bool                    `json:"showNoteWhenEmpty"`
	Suffix            string                  `json:"suffix"`
	TickPrefix        string                  `json:"tickPrefix"`
	TickSuffix        string                  `json:"tickSuffix"`
	Type              GaugeViewPropertiesType `json:"type"`
}

GaugeViewProperties defines model for GaugeViewProperties.

type GaugeViewPropertiesShape

type GaugeViewPropertiesShape string

GaugeViewPropertiesShape defines model for GaugeViewProperties.Shape.

const (
	GaugeViewPropertiesShapeChronografV2 GaugeViewPropertiesShape = "chronograf-v2"
)

Defines values for GaugeViewPropertiesShape.

type GaugeViewPropertiesType

type GaugeViewPropertiesType string

GaugeViewPropertiesType defines model for GaugeViewProperties.Type.

const (
	GaugeViewPropertiesTypeGauge GaugeViewPropertiesType = "gauge"
)

Defines values for GaugeViewPropertiesType.

type GeneralServerError added in v2.11.0

type GeneralServerError Error

GeneralServerError defines model for GeneralServerError.

type GeoCircleViewLayer added in v2.3.0

type GeoCircleViewLayer struct {
	// Embedded struct due to allOf(#/components/schemas/GeoViewLayerProperties)
	GeoViewLayerProperties `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// Axis used in a visualization.
	ColorDimension Axis `json:"colorDimension"`

	// Circle color field
	ColorField string `json:"colorField"`

	// Colors define color encoding of data into a visualization
	Colors []DashboardColor `json:"colors"`

	// Interpolate circle color based on displayed value
	InterpolateColors *bool `json:"interpolateColors,omitempty"`

	// Maximum radius size in pixels
	Radius *int `json:"radius,omitempty"`

	// Axis used in a visualization.
	RadiusDimension Axis `json:"radiusDimension"`

	// Radius field
	RadiusField string `json:"radiusField"`
}

GeoCircleViewLayer defines model for GeoCircleViewLayer.

type GeoHeatMapViewLayer added in v2.3.0

type GeoHeatMapViewLayer struct {
	// Embedded struct due to allOf(#/components/schemas/GeoViewLayerProperties)
	GeoViewLayerProperties `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// Blur for heatmap points
	Blur int `json:"blur"`

	// Colors define color encoding of data into a visualization
	Colors []DashboardColor `json:"colors"`

	// Axis used in a visualization.
	IntensityDimension Axis `json:"intensityDimension"`

	// Intensity field
	IntensityField string `json:"intensityField"`

	// Radius size in pixels
	Radius int `json:"radius"`
}

GeoHeatMapViewLayer defines model for GeoHeatMapViewLayer.

type GeoPointMapViewLayer added in v2.3.0

type GeoPointMapViewLayer struct {
	// Embedded struct due to allOf(#/components/schemas/GeoViewLayerProperties)
	GeoViewLayerProperties `yaml:",inline"`
	// Embedded fields due to inline allOf schema
	// Axis used in a visualization.
	ColorDimension Axis `json:"colorDimension"`

	// Marker color field
	ColorField string `json:"colorField"`

	// Colors define color encoding of data into a visualization
	Colors []DashboardColor `json:"colors"`

	// Cluster close markers together
	IsClustered *bool `json:"isClustered,omitempty"`

	// An array for which columns to display in tooltip
	TooltipColumns *[]string `json:"tooltipColumns,omitempty"`
}

GeoPointMapViewLayer defines model for GeoPointMapViewLayer.

type GeoTrackMapViewLayer added in v2.3.0

type GeoTrackMapViewLayer struct {
	// Embedded struct due to allOf(#/components/schemas/GeoViewLayerProperties)
	GeoViewLayerProperties `yaml:",inline"`
}

GeoTrackMapViewLayer defines model for GeoTrackMapViewLayer.

type GeoViewLayer added in v2.3.0

type GeoViewLayer interface{}

GeoViewLayer defines model for GeoViewLayer.

type GeoViewLayerProperties added in v2.3.0

type GeoViewLayerProperties struct {
	Type GeoViewLayerPropertiesType `json:"type"`
}

GeoViewLayerProperties defines model for GeoViewLayerProperties.

type GeoViewLayerPropertiesType added in v2.3.0

type GeoViewLayerPropertiesType string

GeoViewLayerPropertiesType defines model for GeoViewLayerProperties.Type.

const (
	GeoViewLayerPropertiesTypeCircleMap GeoViewLayerPropertiesType = "circleMap"

	GeoViewLayerPropertiesTypeHeatmap GeoViewLayerPropertiesType = "heatmap"

	GeoViewLayerPropertiesTypePointMap GeoViewLayerPropertiesType = "pointMap"

	GeoViewLayerPropertiesTypeTrackMap GeoViewLayerPropertiesType = "trackMap"
)

Defines values for GeoViewLayerPropertiesType.

type GeoViewProperties added in v2.3.0

type GeoViewProperties struct {
	// If true, map zoom and pan controls are enabled on the dashboard view
	AllowPanAndZoom bool `json:"allowPanAndZoom"`

	// Coordinates of the center of the map
	Center struct {
		// Latitude of the center of the map
		Lat float64 `json:"lat"`

		// Longitude of the center of the map
		Lon float64 `json:"lon"`
	} `json:"center"`

	// Colors define color encoding of data into a visualization
	Colors *[]DashboardColor `json:"colors,omitempty"`

	// If true, search results get automatically regroupped so that lon,lat and value are treated as columns
	DetectCoordinateFields bool `json:"detectCoordinateFields"`

	// Object type to define lat/lon columns
	LatLonColumns *LatLonColumns `json:"latLonColumns,omitempty"`

	// List of individual layers shown in the map
	Layers []GeoViewLayer `json:"layers"`

	// Define map type - regular, satellite etc.
	MapStyle *string          `json:"mapStyle,omitempty"`
	Note     string           `json:"note"`
	Queries  []DashboardQuery `json:"queries"`

	// String to define the column
	S2Column *string                `json:"s2Column,omitempty"`
	Shape    GeoViewPropertiesShape `json:"shape"`

	// If true, will display note when empty
	ShowNoteWhenEmpty bool                  `json:"showNoteWhenEmpty"`
	Type              GeoViewPropertiesType `json:"type"`

	// If true, S2 column is used to calculate lat/lon
	UseS2CellID *bool `json:"useS2CellID,omitempty"`

	// Zoom level used for initial display of the map
	Zoom float64 `json:"zoom"`
}

GeoViewProperties defines model for GeoViewProperties.

type GeoViewPropertiesShape added in v2.3.0

type GeoViewPropertiesShape string

GeoViewPropertiesShape defines model for GeoViewProperties.Shape.

const (
	GeoViewPropertiesShapeChronografV2 GeoViewPropertiesShape = "chronograf-v2"
)

Defines values for GeoViewPropertiesShape.

type GeoViewPropertiesType added in v2.3.0

type GeoViewPropertiesType string

GeoViewPropertiesType defines model for GeoViewProperties.Type.

const (
	GeoViewPropertiesTypeGeo GeoViewPropertiesType = "geo"
)

Defines values for GeoViewPropertiesType.

type GetAuthorizationsIDAllParams added in v2.11.0

type GetAuthorizationsIDAllParams struct {
	GetAuthorizationsIDParams

	AuthID string
}

GetAuthorizationsIDAllParams defines type for all parameters for GetAuthorizationsID.

type GetAuthorizationsIDParams

type GetAuthorizationsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetAuthorizationsIDParams defines parameters for GetAuthorizationsID.

type GetAuthorizationsParams

type GetAuthorizationsParams struct {
	// A user ID.
	// Only returns authorizations scoped to this user.
	UserID *string `json:"userID,omitempty"`

	// A user name.
	// Only returns authorizations scoped to this user.
	User *string `json:"user,omitempty"`

	// An organization ID. Only returns authorizations that belong to this organization.
	OrgID *string `json:"orgID,omitempty"`

	// An organization name.
	// Only returns authorizations that belong to this organization.
	Org *string `json:"org,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetAuthorizationsParams defines parameters for GetAuthorizations.

type GetBucketsIDAllParams added in v2.11.0

type GetBucketsIDAllParams struct {
	GetBucketsIDParams

	BucketID string
}

GetBucketsIDAllParams defines type for all parameters for GetBucketsID.

type GetBucketsIDLabelsAllParams added in v2.11.0

type GetBucketsIDLabelsAllParams struct {
	GetBucketsIDLabelsParams

	BucketID string
}

GetBucketsIDLabelsAllParams defines type for all parameters for GetBucketsIDLabels.

type GetBucketsIDLabelsParams

type GetBucketsIDLabelsParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetBucketsIDLabelsParams defines parameters for GetBucketsIDLabels.

type GetBucketsIDMembersAllParams added in v2.11.0

type GetBucketsIDMembersAllParams struct {
	GetBucketsIDMembersParams

	BucketID string
}

GetBucketsIDMembersAllParams defines type for all parameters for GetBucketsIDMembers.

type GetBucketsIDMembersParams

type GetBucketsIDMembersParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetBucketsIDMembersParams defines parameters for GetBucketsIDMembers.

type GetBucketsIDOwnersAllParams added in v2.11.0

type GetBucketsIDOwnersAllParams struct {
	GetBucketsIDOwnersParams

	BucketID string
}

GetBucketsIDOwnersAllParams defines type for all parameters for GetBucketsIDOwners.

type GetBucketsIDOwnersParams

type GetBucketsIDOwnersParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetBucketsIDOwnersParams defines parameters for GetBucketsIDOwners.

type GetBucketsIDParams

type GetBucketsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetBucketsIDParams defines parameters for GetBucketsID.

type GetBucketsParams

type GetBucketsParams struct {
	// The offset for pagination.
	// The number of records to skip.
	Offset *Offset `json:"offset,omitempty"`

	// Limits the number of records returned. Default is `20`.
	Limit *Limit `json:"limit,omitempty"`

	// Resource ID to seek from. Results are not inclusive of this ID. Use `after` instead of `offset`.
	After *After `json:"after,omitempty"`

	// Organization name.
	// The name of the organization.
	//
	// #### InfluxDB Cloud
	//
	//  - Doesn't use `org` or `orgID`.
	//  - Creates a bucket in the organization associated with the authorization (API token).
	//
	//  #### InfluxDB OSS
	//
	//  - Accepts either `org` or `orgID`.
	//  - InfluxDB creates the bucket within this organization.
	Org *string `json:"org,omitempty"`

	// Organization ID.
	// The organization ID.
	//
	// #### InfluxDB Cloud
	//
	//  - Doesn't use `org` or `orgID`.
	//  - Creates a bucket in the organization associated with the authorization (API token).
	//
	//  #### InfluxDB OSS
	//
	//  - Accepts either `org` or `orgID`.
	//  - InfluxDB creates the bucket within this organization.
	OrgID *string `json:"orgID,omitempty"`

	// Bucket name.
	// Only returns buckets with this specific name.
	Name *string `json:"name,omitempty"`

	// Bucket ID.
	// Only returns the bucket with this ID.
	Id *string `json:"id,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetBucketsParams defines parameters for GetBuckets.

type GetChecksIDAllParams added in v2.11.0

type GetChecksIDAllParams struct {
	GetChecksIDParams

	CheckID string
}

GetChecksIDAllParams defines type for all parameters for GetChecksID.

type GetChecksIDLabelsAllParams added in v2.11.0

type GetChecksIDLabelsAllParams struct {
	GetChecksIDLabelsParams

	CheckID string
}

GetChecksIDLabelsAllParams defines type for all parameters for GetChecksIDLabels.

type GetChecksIDLabelsParams

type GetChecksIDLabelsParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetChecksIDLabelsParams defines parameters for GetChecksIDLabels.

type GetChecksIDParams

type GetChecksIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetChecksIDParams defines parameters for GetChecksID.

type GetChecksIDQueryAllParams added in v2.11.0

type GetChecksIDQueryAllParams struct {
	GetChecksIDQueryParams

	CheckID string
}

GetChecksIDQueryAllParams defines type for all parameters for GetChecksIDQuery.

type GetChecksIDQueryParams

type GetChecksIDQueryParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetChecksIDQueryParams defines parameters for GetChecksIDQuery.

type GetChecksParams

type GetChecksParams struct {
	// The offset for pagination.
	// The number of records to skip.
	Offset *Offset `json:"offset,omitempty"`

	// Limits the number of records returned. Default is `20`.
	Limit *Limit `json:"limit,omitempty"`

	// Only show checks that belong to a specific organization ID.
	OrgID string `json:"orgID"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetChecksParams defines parameters for GetChecks.

type GetConfigParams added in v2.8.0

type GetConfigParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetConfigParams defines parameters for GetConfig.

type GetDBRPsIDAllParams added in v2.11.0

type GetDBRPsIDAllParams struct {
	GetDBRPsIDParams

	DbrpID string
}

GetDBRPsIDAllParams defines type for all parameters for GetDBRPsID.

type GetDBRPsIDParams

type GetDBRPsIDParams struct {
	// Specifies the organization ID of the mapping
	OrgID *string `json:"orgID,omitempty"`

	// Specifies the organization name of the mapping
	Org *string `json:"org,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetDBRPsIDParams defines parameters for GetDBRPsID.

type GetDBRPsParams

type GetDBRPsParams struct {
	// Specifies the organization ID to filter on
	OrgID *string `json:"orgID,omitempty"`

	// Specifies the organization name to filter on
	Org *string `json:"org,omitempty"`

	// Specifies the mapping ID to filter on
	Id *string `json:"id,omitempty"`

	// Specifies the bucket ID to filter on
	BucketID *string `json:"bucketID,omitempty"`

	// Specifies filtering on default
	Default *bool `json:"default,omitempty"`

	// Specifies the database to filter on
	Db *string `json:"db,omitempty"`

	// Specifies the retention policy to filter on
	Rp *string `json:"rp,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetDBRPsParams defines parameters for GetDBRPs.

type GetDashboardsIDCellsIDViewAllParams added in v2.11.0

type GetDashboardsIDCellsIDViewAllParams struct {
	GetDashboardsIDCellsIDViewParams

	DashboardID string

	CellID string
}

GetDashboardsIDCellsIDViewAllParams defines type for all parameters for GetDashboardsIDCellsIDView.

type GetDashboardsIDCellsIDViewParams

type GetDashboardsIDCellsIDViewParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetDashboardsIDCellsIDViewParams defines parameters for GetDashboardsIDCellsIDView.

type GetDashboardsIDLabelsAllParams added in v2.11.0

type GetDashboardsIDLabelsAllParams struct {
	GetDashboardsIDLabelsParams

	DashboardID string
}

GetDashboardsIDLabelsAllParams defines type for all parameters for GetDashboardsIDLabels.

type GetDashboardsIDLabelsParams

type GetDashboardsIDLabelsParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetDashboardsIDLabelsParams defines parameters for GetDashboardsIDLabels.

type GetDashboardsIDMembersAllParams added in v2.11.0

type GetDashboardsIDMembersAllParams struct {
	GetDashboardsIDMembersParams

	DashboardID string
}

GetDashboardsIDMembersAllParams defines type for all parameters for GetDashboardsIDMembers.

type GetDashboardsIDMembersParams

type GetDashboardsIDMembersParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetDashboardsIDMembersParams defines parameters for GetDashboardsIDMembers.

type GetDashboardsIDOwnersAllParams added in v2.11.0

type GetDashboardsIDOwnersAllParams struct {
	GetDashboardsIDOwnersParams

	DashboardID string
}

GetDashboardsIDOwnersAllParams defines type for all parameters for GetDashboardsIDOwners.

type GetDashboardsIDOwnersParams

type GetDashboardsIDOwnersParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetDashboardsIDOwnersParams defines parameters for GetDashboardsIDOwners.

type GetDashboardsParams

type GetDashboardsParams struct {
	// The offset for pagination.
	// The number of records to skip.
	Offset *Offset `json:"offset,omitempty"`

	// Limits the number of records returned. Default is `20`.
	Limit      *Limit      `json:"limit,omitempty"`
	Descending *Descending `json:"descending,omitempty"`

	// A user identifier. Returns only dashboards where this user has the `owner` role.
	Owner *string `json:"owner,omitempty"`

	// The column to sort by.
	SortBy *GetDashboardsParamsSortBy `json:"sortBy,omitempty"`

	// A list of dashboard identifiers. Returns only the listed dashboards. If both `id` and `owner` are specified, only `id` is used.
	Id *[]string `json:"id,omitempty"`

	// The identifier of the organization.
	OrgID *string `json:"orgID,omitempty"`

	// The name of the organization.
	Org *string `json:"org,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetDashboardsParams defines parameters for GetDashboards.

type GetDashboardsParamsSortBy

type GetDashboardsParamsSortBy string

GetDashboardsParamsSortBy defines parameters for GetDashboards.

type GetFlagsParams

type GetFlagsParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetFlagsParams defines parameters for GetFlags.

type GetHealthParams

type GetHealthParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetHealthParams defines parameters for GetHealth.

type GetLabelsIDAllParams added in v2.11.0

type GetLabelsIDAllParams struct {
	GetLabelsIDParams

	LabelID string
}

GetLabelsIDAllParams defines type for all parameters for GetLabelsID.

type GetLabelsIDParams

type GetLabelsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetLabelsIDParams defines parameters for GetLabelsID.

type GetLabelsParams

type GetLabelsParams struct {
	// The organization ID.
	OrgID *string `json:"orgID,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetLabelsParams defines parameters for GetLabels.

type GetMeParams

type GetMeParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetMeParams defines parameters for GetMe.

type GetNotificationEndpointsIDAllParams added in v2.11.0

type GetNotificationEndpointsIDAllParams struct {
	GetNotificationEndpointsIDParams

	EndpointID string
}

GetNotificationEndpointsIDAllParams defines type for all parameters for GetNotificationEndpointsID.

type GetNotificationEndpointsIDLabelsAllParams added in v2.11.0

type GetNotificationEndpointsIDLabelsAllParams struct {
	GetNotificationEndpointsIDLabelsParams

	EndpointID string
}

GetNotificationEndpointsIDLabelsAllParams defines type for all parameters for GetNotificationEndpointsIDLabels.

type GetNotificationEndpointsIDLabelsParams

type GetNotificationEndpointsIDLabelsParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetNotificationEndpointsIDLabelsParams defines parameters for GetNotificationEndpointsIDLabels.

type GetNotificationEndpointsIDParams

type GetNotificationEndpointsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetNotificationEndpointsIDParams defines parameters for GetNotificationEndpointsID.

type GetNotificationEndpointsParams

type GetNotificationEndpointsParams struct {
	// The offset for pagination.
	// The number of records to skip.
	Offset *Offset `json:"offset,omitempty"`

	// Limits the number of records returned. Default is `20`.
	Limit *Limit `json:"limit,omitempty"`

	// Only show notification endpoints that belong to specific organization ID.
	OrgID string `json:"orgID"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetNotificationEndpointsParams defines parameters for GetNotificationEndpoints.

type GetNotificationRulesIDAllParams added in v2.11.0

type GetNotificationRulesIDAllParams struct {
	GetNotificationRulesIDParams

	RuleID string
}

GetNotificationRulesIDAllParams defines type for all parameters for GetNotificationRulesID.

type GetNotificationRulesIDLabelsAllParams added in v2.11.0

type GetNotificationRulesIDLabelsAllParams struct {
	GetNotificationRulesIDLabelsParams

	RuleID string
}

GetNotificationRulesIDLabelsAllParams defines type for all parameters for GetNotificationRulesIDLabels.

type GetNotificationRulesIDLabelsParams

type GetNotificationRulesIDLabelsParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetNotificationRulesIDLabelsParams defines parameters for GetNotificationRulesIDLabels.

type GetNotificationRulesIDParams

type GetNotificationRulesIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetNotificationRulesIDParams defines parameters for GetNotificationRulesID.

type GetNotificationRulesIDQueryAllParams added in v2.11.0

type GetNotificationRulesIDQueryAllParams struct {
	GetNotificationRulesIDQueryParams

	RuleID string
}

GetNotificationRulesIDQueryAllParams defines type for all parameters for GetNotificationRulesIDQuery.

type GetNotificationRulesIDQueryParams

type GetNotificationRulesIDQueryParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetNotificationRulesIDQueryParams defines parameters for GetNotificationRulesIDQuery.

type GetNotificationRulesParams

type GetNotificationRulesParams struct {
	// The offset for pagination.
	// The number of records to skip.
	Offset *Offset `json:"offset,omitempty"`

	// Limits the number of records returned. Default is `20`.
	Limit *Limit `json:"limit,omitempty"`

	// Only show notification rules that belong to a specific organization ID.
	OrgID string `json:"orgID"`

	// Only show notifications that belong to the specific check ID.
	CheckID *string `json:"checkID,omitempty"`

	// Only return notification rules that "would match" statuses which contain the tag key value pairs provided.
	Tag *string `json:"tag,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetNotificationRulesParams defines parameters for GetNotificationRules.

type GetOrgsIDAllParams added in v2.11.0

type GetOrgsIDAllParams struct {
	GetOrgsIDParams

	OrgID string
}

GetOrgsIDAllParams defines type for all parameters for GetOrgsID.

type GetOrgsIDMembersAllParams added in v2.11.0

type GetOrgsIDMembersAllParams struct {
	GetOrgsIDMembersParams

	OrgID string
}

GetOrgsIDMembersAllParams defines type for all parameters for GetOrgsIDMembers.

type GetOrgsIDMembersParams

type GetOrgsIDMembersParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetOrgsIDMembersParams defines parameters for GetOrgsIDMembers.

type GetOrgsIDOwnersAllParams added in v2.11.0

type GetOrgsIDOwnersAllParams struct {
	GetOrgsIDOwnersParams

	OrgID string
}

GetOrgsIDOwnersAllParams defines type for all parameters for GetOrgsIDOwners.

type GetOrgsIDOwnersParams

type GetOrgsIDOwnersParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetOrgsIDOwnersParams defines parameters for GetOrgsIDOwners.

type GetOrgsIDParams

type GetOrgsIDParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetOrgsIDParams defines parameters for GetOrgsID.

type GetOrgsIDSecretsAllParams added in v2.11.0

type GetOrgsIDSecretsAllParams struct {
	GetOrgsIDSecretsParams

	OrgID string
}

GetOrgsIDSecretsAllParams defines type for all parameters for GetOrgsIDSecrets.

type GetOrgsIDSecretsParams

type GetOrgsIDSecretsParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetOrgsIDSecretsParams defines parameters for GetOrgsIDSecrets.

type GetOrgsParams

type GetOrgsParams struct {
	// The offset for pagination.
	// The number of records to skip.
	Offset *Offset `json:"offset,omitempty"`

	// Limits the number of records returned. Default is `20`.
	Limit      *Limit      `json:"limit,omitempty"`
	Descending *Descending `json:"descending,omitempty"`

	// An organization name.
	// Only returns organizations with this name.
	Org *string `json:"org,omitempty"`

	// An organization ID.
	// Only returns the organization with this ID.
	OrgID *string `json:"orgID,omitempty"`

	// A user ID.
	// Only returns organizations where this user is a member or owner.
	UserID *string `json:"userID,omitempty"`

	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetOrgsParams defines parameters for GetOrgs.

type GetQuerySuggestionsNameAllParams added in v2.11.0

type GetQuerySuggestionsNameAllParams struct {
	GetQuerySuggestionsNameParams

	Name string
}

GetQuerySuggestionsNameAllParams defines type for all parameters for GetQuerySuggestionsName.

type GetQuerySuggestionsNameParams

type GetQuerySuggestionsNameParams struct {
	// OpenTracing span context
	ZapTraceSpan *TraceSpan `json:"Zap-Trace-Span,omitempty"`
}

GetQuerySuggestionsNameParams defines parameters for GetQuerySuggestionsName.