hclspec

package
v0.0.0-...-1acd2bc Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2020 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	Method    string   `hcl:"method,attr"`
	File      string   `hcl:"file,optional"`
	ProjectID int      `hcl:"projectID,optional"`
	FileID    int      `hcl:"fileID,optional"`
	Sums      []string `hcl:"sums,attr"`
}

type Manifest

type Manifest struct {
	Mods   []Mod   `hcl:"mod,block"`
	Checks []Check `hcl:"check,block"`
}

type Mod

type Mod struct {
	Path      string `hcl:"path,label"`
	Action    string `hcl:"action,optional"`
	Method    string `hcl:"method,optional"`
	File      string `hcl:"file,optional"`
	ProjectID int    `hcl:"projectID,optional"`
	FileID    int    `hcl:"fileID,optional"`
}

Jump to

Keyboard shortcuts

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