views

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BaseMsg

type BaseMsg struct {
	Level     string           `json:"@level"`
	Message   string           `json:"@message"`
	Module    string           `json:"@module"`
	TimeStamp time.Time        `json:"@timestamp"`
	Type      json.MessageType `json:"type"`
}

func (BaseMsg) BaseMessage

func (m BaseMsg) BaseMessage() BaseMsg

type ChangeSummaryMsg

type ChangeSummaryMsg struct {
	BaseMsg
	Changes *json.ChangeSummary `json:"changes"`
}

func (ChangeSummaryMsg) BaseMessage

func (m ChangeSummaryMsg) BaseMessage() BaseMsg

type DiagnosticsMsg

type DiagnosticsMsg struct {
	BaseMsg
	Diagnostic *json.Diagnostic `json:"diagnostic"`
}

func (DiagnosticsMsg) BaseMessage

func (m DiagnosticsMsg) BaseMessage() BaseMsg

type HookMsg

type HookMsg struct {
	BaseMsg
	json.Hook `json:"hook"`
}

func (HookMsg) BaseMessage

func (m HookMsg) BaseMessage() BaseMsg

type LogMsg

type LogMsg struct {
	BaseMsg
	KVs map[string]interface{}
}

func (LogMsg) BaseMessage

func (m LogMsg) BaseMessage() BaseMsg

func (LogMsg) MarshalJSON

func (v LogMsg) MarshalJSON() ([]byte, error)

type Message

type Message interface {
	BaseMessage() BaseMsg
}

func UnmarshalMessage

func UnmarshalMessage(b []byte) (Message, error)

type OutputMsg

type OutputMsg struct {
	BaseMsg
	Outputs json.Outputs `json:"outputs"`
}

func (OutputMsg) BaseMessage

func (m OutputMsg) BaseMessage() BaseMsg

type PlannedChangeMsg

type PlannedChangeMsg struct {
	BaseMsg
	Change *json.ResourceInstanceChange `json:"change"`
}

func (PlannedChangeMsg) BaseMessage

func (m PlannedChangeMsg) BaseMessage() BaseMsg

type ResourceDriftMsg

type ResourceDriftMsg struct {
	BaseMsg
	Change *json.ResourceInstanceChange `json:"change"`
}

func (ResourceDriftMsg) BaseMessage

func (m ResourceDriftMsg) BaseMessage() BaseMsg

type VersionMsg

type VersionMsg struct {
	BaseMsg
	Terraform string `json:"terraform"`
	Tofu      string `json:"tofu"`
	UI        string `json:"ui"`
}

func (VersionMsg) BaseMessage

func (m VersionMsg) BaseMessage() BaseMsg

Directories

Path Synopsis
This is derived from terraform b4a634ced88673d4d208ddee41f39666f51cd133
This is derived from terraform b4a634ced88673d4d208ddee41f39666f51cd133

Jump to

Keyboard shortcuts

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