types

package
v0.0.0-...-e9d226e Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Component

type Component struct {
	Name         string              `yaml:"name"`
	Integrations []IntegrationConfig `yaml:"integrations"`
	Every        time.Duration       `yaml:"every"`
}

Represents a component to watch within a project

type IntegrationConfig

type IntegrationConfig struct {
	// An integration name
	Name string `yaml:"name"`

	// Any integration-specific configuration that should be passed to the integration
	Config map[string]string `yaml:"config"`

	// Variables that should be exported to scope
	//
	// @ means passthrough
	Export []string `yaml:"export"`
}

type Project

type Project struct {
	Name        string      `yaml:"name"`
	Description string      `yaml:"description"`
	Components  []Component `yaml:"components"`
}

E.g: ibl:

  • PROJ

Represents a project to watch

Jump to

Keyboard shortcuts

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