prometheusscraper

package
v0.0.0-...-917d9f1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Amp

type Amp struct {
	// WorkspaceArn: string, required
	WorkspaceArn terra.StringValue `hcl:"workspace_arn,attr" validate:"required"`
}

type AmpAttributes

type AmpAttributes struct {
	// contains filtered or unexported fields
}

func (AmpAttributes) InternalRef

func (a AmpAttributes) InternalRef() (terra.Reference, error)

func (AmpAttributes) InternalTokens

func (a AmpAttributes) InternalTokens() (hclwrite.Tokens, error)

func (AmpAttributes) InternalWithRef

func (a AmpAttributes) InternalWithRef(ref terra.Reference) AmpAttributes

func (AmpAttributes) WorkspaceArn

func (a AmpAttributes) WorkspaceArn() terra.StringValue

type AmpState

type AmpState struct {
	WorkspaceArn string `json:"workspace_arn"`
}

type Destination

type Destination struct {
	// Amp: min=0
	Amp []Amp `hcl:"amp,block" validate:"min=0"`
}

type DestinationAttributes

type DestinationAttributes struct {
	// contains filtered or unexported fields
}

func (DestinationAttributes) Amp

func (DestinationAttributes) InternalRef

func (d DestinationAttributes) InternalRef() (terra.Reference, error)

func (DestinationAttributes) InternalTokens

func (d DestinationAttributes) InternalTokens() (hclwrite.Tokens, error)

func (DestinationAttributes) InternalWithRef

type DestinationState

type DestinationState struct {
	Amp []AmpState `json:"amp"`
}

type Eks

type Eks struct {
	// ClusterArn: string, required
	ClusterArn terra.StringValue `hcl:"cluster_arn,attr" validate:"required"`
	// SecurityGroupIds: set of string, optional
	SecurityGroupIds terra.SetValue[terra.StringValue] `hcl:"security_group_ids,attr"`
	// SubnetIds: set of string, required
	SubnetIds terra.SetValue[terra.StringValue] `hcl:"subnet_ids,attr" validate:"required"`
}

type EksAttributes

type EksAttributes struct {
	// contains filtered or unexported fields
}

func (EksAttributes) ClusterArn

func (e EksAttributes) ClusterArn() terra.StringValue

func (EksAttributes) InternalRef

func (e EksAttributes) InternalRef() (terra.Reference, error)

func (EksAttributes) InternalTokens

func (e EksAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EksAttributes) InternalWithRef

func (e EksAttributes) InternalWithRef(ref terra.Reference) EksAttributes

func (EksAttributes) SecurityGroupIds

func (e EksAttributes) SecurityGroupIds() terra.SetValue[terra.StringValue]

func (EksAttributes) SubnetIds

func (e EksAttributes) SubnetIds() terra.SetValue[terra.StringValue]

type EksState

type EksState struct {
	ClusterArn       string   `json:"cluster_arn"`
	SecurityGroupIds []string `json:"security_group_ids"`
	SubnetIds        []string `json:"subnet_ids"`
}

type Source

type Source struct {
	// Eks: min=0
	Eks []Eks `hcl:"eks,block" validate:"min=0"`
}

type SourceAttributes

type SourceAttributes struct {
	// contains filtered or unexported fields
}

func (SourceAttributes) Eks

func (SourceAttributes) InternalRef

func (s SourceAttributes) InternalRef() (terra.Reference, error)

func (SourceAttributes) InternalTokens

func (s SourceAttributes) InternalTokens() (hclwrite.Tokens, error)

func (SourceAttributes) InternalWithRef

func (s SourceAttributes) InternalWithRef(ref terra.Reference) SourceAttributes

type SourceState

type SourceState struct {
	Eks []EksState `json:"eks"`
}

type Timeouts

type Timeouts struct {
	// Create: string, optional
	Create terra.StringValue `hcl:"create,attr"`
	// Delete: string, optional
	Delete terra.StringValue `hcl:"delete,attr"`
}

type TimeoutsAttributes

type TimeoutsAttributes struct {
	// contains filtered or unexported fields
}

func (TimeoutsAttributes) Create

func (TimeoutsAttributes) Delete

func (TimeoutsAttributes) InternalRef

func (t TimeoutsAttributes) InternalRef() (terra.Reference, error)

func (TimeoutsAttributes) InternalTokens

func (t TimeoutsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (TimeoutsAttributes) InternalWithRef

func (t TimeoutsAttributes) InternalWithRef(ref terra.Reference) TimeoutsAttributes

type TimeoutsState

type TimeoutsState struct {
	Create string `json:"create"`
	Delete string `json:"delete"`
}

Jump to

Keyboard shortcuts

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