Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultName = "T"
Variables ¶
This section is empty.
Functions ¶
func NewDefault ¶
Types ¶
type Checksum ¶ added in v0.5.0
type Checksum struct {
rs.BaseField `yaml:"-" json:"-"`
// File is the local file path to the target data file
//
// File and Data are mutually exclusive
File *string `yaml:"file"`
// Data is the raw string to be verified
//
// Path and Data are mutually exclusive
Data *string `yaml:"data"`
// Kind is the name of hash algo
Kind checksumKind `yaml:"kind"`
// Sum is the expected hex encoded string of checksum value
Sum string `yaml:"sum"`
// Key is the optional hmac key, if set, will do hmac
Key *string `yaml:"key"`
}
type Driver ¶ added in v0.4.3
type Driver struct {
rs.BaseField `yaml:"-"`
renderer.BaseRenderer `yaml:",inline"`
// contains filtered or unexported fields
}
func (*Driver) RenderYaml ¶ added in v0.4.3
func (d *Driver) RenderYaml( rc dukkha.RenderingContext, rawData interface{}, _ []dukkha.RendererAttribute, ) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.