config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Certification

type Certification struct {
	Interactive *InteractiveCertification `yaml:"interactive,omitempty"`
}

type Identity

type Identity struct {
	ID        string      `yaml:"id"`
	Default   bool        `yaml:"default,omitempty"`
	Path      string      `yaml:"path"`
	CacheSize int         `yaml:"cacheSize"`
	Opts      interface{} `yaml:"opts,omitempty"`
}

func (*Identity) String

func (i *Identity) String() string

type InteractiveCertification

type InteractiveCertification struct {
	IDs []string `yaml:"ids,omitempty"`
}

type Manager

type Manager interface {
	TMS() *TMS
	TranslatePath(path string) string
}

type TMS

type TMS struct {
	Network       string         `yaml:"network,omitempty"`
	Channel       string         `yaml:"channel,omitempty"`
	Namespace     string         `yaml:"namespace,omitempty"`
	Certification *Certification `yaml:"certification,omitempty"`
	Wallets       *Wallets       `yaml:"wallets,omitempty"`
}

type Token

type Token struct {
	Enabled bool   `yaml:"enabled,omitempty"`
	TMS     []*TMS `yaml:"tms,omitempty"`
}

type Wallets

type Wallets struct {
	Certifiers []*Identity `yaml:"certifiers,omitempty"`
	Owners     []*Identity `yaml:"owners,omitempty"`
	Issuers    []*Identity `yaml:"issuers,omitempty"`
	Auditors   []*Identity `yaml:"auditors,omitempty"`
}

Jump to

Keyboard shortcuts

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