Documentation
¶
Index ¶
- Constants
- Variables
- func ParseKVPairs(pairs []string) map[string]*Var
- type Profile
- func (p *Profile) Delete(name string)
- func (p *Profile) Get(name string) *Var
- func (p *Profile) List() map[string]string
- func (p *Profile) MarshalJSON() ([]byte, error)
- func (p *Profile) Set(name string, v *Var)
- func (p *Profile) SetSourceDir(dir string)
- func (p *Profile) SourceDir() string
- func (p *Profile) UnmarshalJSON(b []byte) error
- type Profiles
- func (p *Profiles) Add(name string, profile *Profile) error
- func (p *Profiles) Delete(name string) error
- func (p *Profiles) Get(name string) (*Profile, error)
- func (p *Profiles) List() []string
- func (p *Profiles) MarshalJSON() ([]byte, error)
- func (p *Profiles) UnmarshalJSON(b []byte) error
- func (p *Profiles) Update(name string, profile *Profile) error
- type Var
Constants ¶
View Source
const ( VarOS = "OS" VarArch = "ARCH" VarTarget = "TARGET" VarFeatures = "FEATURES" VarAgentID = "FJ_AGENT_ID" VarServerURL = "FJ_SERVER_URL" VarServerCertificate = "FJ_SERVER_CERTIFICATE" VarUserJWT = "FJ_USER_JWT" VarUserKey = "FJ_USER_KEY" VarStream = "FJ_STREAM" VarConsumer = "FJ_CONSUMER" VarInboxPrefix = "FJ_INBOX_PREFIX" VarObjectStore = "FJ_OBJECT_STORE" )
Variables ¶
Functions ¶
func ParseKVPairs ¶
Types ¶
type Profile ¶
type Profile struct {
// contains filtered or unexported fields
}
func (*Profile) MarshalJSON ¶
func (*Profile) SetSourceDir ¶
func (*Profile) UnmarshalJSON ¶
type Profiles ¶
type Profiles struct {
// contains filtered or unexported fields
}
func (*Profiles) MarshalJSON ¶
func (*Profiles) UnmarshalJSON ¶
type Var ¶
type Var struct {
// contains filtered or unexported fields
}
func (*Var) Description ¶
func (*Var) MarshalJSON ¶
func (*Var) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.