v1

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 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 Component

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

func ReadComponent

func ReadComponent(r io.Reader) (*Component, error)

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"`
}

Jump to

Keyboard shortcuts

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