gluetrigger

package
v0.0.0-...-964ba77 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 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 Actions

type Actions struct {
	// Arguments: map of string, optional
	Arguments terra.MapValue[terra.StringValue] `hcl:"arguments,attr"`
	// CrawlerName: string, optional
	CrawlerName terra.StringValue `hcl:"crawler_name,attr"`
	// JobName: string, optional
	JobName terra.StringValue `hcl:"job_name,attr"`
	// SecurityConfiguration: string, optional
	SecurityConfiguration terra.StringValue `hcl:"security_configuration,attr"`
	// Timeout: number, optional
	Timeout terra.NumberValue `hcl:"timeout,attr"`
	// NotificationProperty: optional
	NotificationProperty *NotificationProperty `hcl:"notification_property,block"`
}

type ActionsAttributes

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

func (ActionsAttributes) Arguments

func (ActionsAttributes) CrawlerName

func (a ActionsAttributes) CrawlerName() terra.StringValue

func (ActionsAttributes) InternalRef

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

func (ActionsAttributes) InternalTokens

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

func (ActionsAttributes) InternalWithRef

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

func (ActionsAttributes) JobName

func (a ActionsAttributes) JobName() terra.StringValue

func (ActionsAttributes) NotificationProperty

func (ActionsAttributes) SecurityConfiguration

func (a ActionsAttributes) SecurityConfiguration() terra.StringValue

func (ActionsAttributes) Timeout

func (a ActionsAttributes) Timeout() terra.NumberValue

type ActionsState

type ActionsState struct {
	Arguments             map[string]string           `json:"arguments"`
	CrawlerName           string                      `json:"crawler_name"`
	JobName               string                      `json:"job_name"`
	SecurityConfiguration string                      `json:"security_configuration"`
	Timeout               float64                     `json:"timeout"`
	NotificationProperty  []NotificationPropertyState `json:"notification_property"`
}

type Conditions

type Conditions struct {
	// CrawlState: string, optional
	CrawlState terra.StringValue `hcl:"crawl_state,attr"`
	// CrawlerName: string, optional
	CrawlerName terra.StringValue `hcl:"crawler_name,attr"`
	// JobName: string, optional
	JobName terra.StringValue `hcl:"job_name,attr"`
	// LogicalOperator: string, optional
	LogicalOperator terra.StringValue `hcl:"logical_operator,attr"`
	// State: string, optional
	State terra.StringValue `hcl:"state,attr"`
}

type ConditionsAttributes

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

func (ConditionsAttributes) CrawlState

func (c ConditionsAttributes) CrawlState() terra.StringValue

func (ConditionsAttributes) CrawlerName

func (c ConditionsAttributes) CrawlerName() terra.StringValue

func (ConditionsAttributes) InternalRef

func (c ConditionsAttributes) InternalRef() (terra.Reference, error)

func (ConditionsAttributes) InternalTokens

func (c ConditionsAttributes) InternalTokens() (hclwrite.Tokens, error)

func (ConditionsAttributes) InternalWithRef

func (ConditionsAttributes) JobName

func (ConditionsAttributes) LogicalOperator

func (c ConditionsAttributes) LogicalOperator() terra.StringValue

func (ConditionsAttributes) State

type ConditionsState

type ConditionsState struct {
	CrawlState      string `json:"crawl_state"`
	CrawlerName     string `json:"crawler_name"`
	JobName         string `json:"job_name"`
	LogicalOperator string `json:"logical_operator"`
	State           string `json:"state"`
}

type EventBatchingCondition

type EventBatchingCondition struct {
	// BatchSize: number, required
	BatchSize terra.NumberValue `hcl:"batch_size,attr" validate:"required"`
	// BatchWindow: number, optional
	BatchWindow terra.NumberValue `hcl:"batch_window,attr"`
}

type EventBatchingConditionAttributes

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

func (EventBatchingConditionAttributes) BatchSize

func (EventBatchingConditionAttributes) BatchWindow

func (EventBatchingConditionAttributes) InternalRef

func (EventBatchingConditionAttributes) InternalTokens

func (ebc EventBatchingConditionAttributes) InternalTokens() (hclwrite.Tokens, error)

func (EventBatchingConditionAttributes) InternalWithRef

type EventBatchingConditionState

type EventBatchingConditionState struct {
	BatchSize   float64 `json:"batch_size"`
	BatchWindow float64 `json:"batch_window"`
}

type NotificationProperty

type NotificationProperty struct {
	// NotifyDelayAfter: number, optional
	NotifyDelayAfter terra.NumberValue `hcl:"notify_delay_after,attr"`
}

type NotificationPropertyAttributes

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

func (NotificationPropertyAttributes) InternalRef

func (NotificationPropertyAttributes) InternalTokens

func (np NotificationPropertyAttributes) InternalTokens() (hclwrite.Tokens, error)

func (NotificationPropertyAttributes) InternalWithRef

func (NotificationPropertyAttributes) NotifyDelayAfter

func (np NotificationPropertyAttributes) NotifyDelayAfter() terra.NumberValue

type NotificationPropertyState

type NotificationPropertyState struct {
	NotifyDelayAfter float64 `json:"notify_delay_after"`
}

type Predicate

type Predicate struct {
	// Logical: string, optional
	Logical terra.StringValue `hcl:"logical,attr"`
	// Conditions: min=1
	Conditions []Conditions `hcl:"conditions,block" validate:"min=1"`
}

type PredicateAttributes

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

func (PredicateAttributes) Conditions

func (PredicateAttributes) InternalRef

func (p PredicateAttributes) InternalRef() (terra.Reference, error)

func (PredicateAttributes) InternalTokens

func (p PredicateAttributes) InternalTokens() (hclwrite.Tokens, error)

func (PredicateAttributes) InternalWithRef

func (p PredicateAttributes) InternalWithRef(ref terra.Reference) PredicateAttributes

func (PredicateAttributes) Logical

type PredicateState

type PredicateState struct {
	Logical    string            `json:"logical"`
	Conditions []ConditionsState `json:"conditions"`
}

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