v1

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: Apache-2.0 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 {
	common.Object `yaml:",inline" json:",inline"`
	Spec          ComponentSpec `yaml:"spec" json:"spec"`
}

type ComponentMixins

type ComponentMixins struct {
	Uri      string `yaml:"uri" json:"uri"`
	Version  string `yaml:"version" json:"version"`
	Filename string `yaml:"filename" json:"filename"`
}

type ComponentSource

type ComponentSource struct {
	Uri           string   `yaml:"uri" json:"uri"`
	Version       string   `yaml:"version" json:"version"`
	IncludedPaths []string `yaml:"included_paths,omitempty" json:"included_paths,omitempty"`
	ExcludedPaths []string `yaml:"excluded_paths,omitempty" json:"excluded_paths,omitempty"`
}

type ComponentSpec

type ComponentSpec struct {
	Source ComponentSource   `yaml:"source" json:"source"`
	Mixins []ComponentMixins `yaml:"mixins,omitempty" json:"mixins,omitempty"`
}

type Config added in v0.3.0

type Config struct {
	common.Object `yaml:",inline" json:",inline"`
	Spec          ConfigSpec `yaml:"spec" json:"spec"`
}

type ConfigSpec added in v0.3.0

type ConfigSpec struct {
	BasePath  *string                     `yaml:"base_path,omitempty" json:"base_path,omitempty" mapstructure:"base_path" validate:"required"`
	Stacks    *StacksSpec                 `yaml:"stacks,omitempty" json:"stacks,omitempty" mapstructure:"stacks" validate:"required"`
	Workflows WorkflowsSpec               `yaml:"workflows,omitempty" json:"workflows,omitempty"`
	Logs      LogSpec                     `yaml:"logs" json:"logs" mapstructure:"logs" validate:"required"`
	Providers map[string]ProviderSettings `yaml:",inline" json:",inline" mapstructure:",remain"`
}

type LogSpec added in v0.3.0

type LogSpec struct {
	Level *string `yaml:"level" json:"level" mapstructure:"level"`
	JSON  bool    `yaml:"json" json:"json" mapstructure:"json"`
	File  *string `yaml:"file" json:"file" mapstructure:"file"`
}

type ProviderSettings added in v0.3.0

type ProviderSettings map[string]any

type StacksSpec added in v0.3.0

type StacksSpec struct {
	BasePath      *string  `yaml:"base_path,omitempty" json:"base_path,omitempty" mapstructure:"base_path" validate:"required"`
	IncludedPaths []string `yaml:"included_paths,omitempty" json:"included_paths,omitempty" mapstructure:"included_paths" validate:"required"`
	ExcludedPaths []string `yaml:"excluded_paths,omitempty" json:"excluded_paths,omitempty" mapstructure:"excluded_paths"`
	NamePattern   *string  `yaml:"name_pattern,omitempty" json:"name_pattern,omitempty" mapstructure:"name_pattern" validate:"required"`
}

type WorkflowsSpec added in v0.3.0

type WorkflowsSpec struct {
}

Jump to

Keyboard shortcuts

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