types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2022 License: Apache-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 PipelineOutput

type PipelineOutput struct {
	Pipelines []*PipelineSummary `json:"pipelines"`
	Error     string             `json:"error"`
	IsValid   bool               `json:"valid"`
	Filename  string             `json:"filename"`
}

func NewPipelineOutput

func NewPipelineOutput(valid bool, filename string, cfg *config.Config, err error) *PipelineOutput

func (PipelineOutput) JSONString

func (po PipelineOutput) JSONString() string

func (PipelineOutput) String

func (po PipelineOutput) String() string

type PipelineSummary

type PipelineSummary struct {
	PipelineName string   `json:"name"`
	Receivers    []string `json:"receivers"`
	Processors   []string `json:"processors"`
	Exporters    []string `json:"exporters"`
}

func NewPipelineSummary

func NewPipelineSummary(name string, r []config.ComponentID, p []config.ComponentID, e []config.ComponentID) *PipelineSummary

Jump to

Keyboard shortcuts

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