Documentation ¶
Index ¶
Constants ¶
View Source
const NAME_REGEX = `[a-zA-Z][0-9a-zA-Z .,'-]*`
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Profile ¶
type ProfileDB ¶
type ProfileDB struct { Logger hclog.Logger DB Profiles }
func NewProfileDB ¶
func NewProfileDB(l hclog.Logger) *ProfileDB
func (*ProfileDB) AddProfile ¶
func (*ProfileDB) GetAllProfiles ¶
type ProfileStore ¶
type Validation ¶
type Validation struct {
// contains filtered or unexported fields
}
func NewValidator ¶
func NewValidator() *Validation
func (*Validation) Validate ¶
func (v *Validation) Validate(i interface{}) error
Click to show internal directories.
Click to hide internal directories.