types

package
v1.0.0-beta.8 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LicenseField

type LicenseField struct {
	Name        string                `json:"name,omitempty" yaml:"name,omitempty"`
	Title       string                `json:"title,omitempty" yaml:"title,omitempty"`
	Description string                `json:"description,omitempty" yaml:"description,omitempty"`
	Value       interface{}           `json:"value,omitempty" yaml:"value,omitempty"`
	ValueType   string                `json:"valueType,omitempty" yaml:"valueType,omitempty"`
	IsHidden    bool                  `json:"isHidden,omitempty" yaml:"isHidden,omitempty"`
	Signature   LicenseFieldSignature `json:"signature,omitempty" yaml:"signature,omitempty"`
}

type LicenseFieldSignature

type LicenseFieldSignature struct {
	V1 string `json:"v1,omitempty" yaml:"v1,omitempty"` // this is a base64 encoded string because yaml.Unmarshal doesn't automatically convert base64 to []byte like json.Unmarshal does
}

type LicenseFields

type LicenseFields map[string]LicenseField

Jump to

Keyboard shortcuts

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