Documentation ¶
Index ¶
- type Agent
- type EnvArgs
- type EnvReply
- type InfoArgs
- type InfoReply
- type InstallArgs
- type InstallReply
- type ListArgs
- type ListReply
- type RemoveArgs
- type RemoveReply
- type RestartArgs
- type RestartReply
- type SetArgs
- type SetReply
- type StartArgs
- type StartReply
- type StatusArgs
- type StatusReply
- type StopArgs
- type StopReply
- type UnsetArgs
- type UnsetReply
- type UpgradeArgs
- type UpgradeReply
- type Variable
- type Variables
- type WatchArgs
- type WatchReply
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct { Id bson.ObjectId `bson:"_id" codec:"-"` Alias string `bson:"alias" codec:"alias"` Name string `bson:"name" codec:"name,omitempty"` Version string `bson:"version" codec:"version,omitempty"` Description string `bson:"description" codec:"description,omitempty"` Repository string `bson:"repository" codec:"repository,omitempty"` CloneDir string `bson:"clone_dir,omitempty" codec:"clone_dir,omitempty" json:"clone_dir"` Vars Variables `bson:"vars,omitempty" codec:"vars,omitempty" json:"variables"` Enabled bool `bson:"enabled" codec:"enabled,omitempty"` Status string `bson:"-" codec:"status,omitempty"` }
func (*Agent) FillAndValidate ¶
type InstallArgs ¶
type InstallReply ¶
type InstallReply struct {
Error string `codec:"error"`
}
type RemoveArgs ¶
type RemoveReply ¶
type RemoveReply struct {
Error string `codec:"error"`
}
type RestartArgs ¶
type RestartReply ¶
type RestartReply struct {
Error string `codec:"error"`
}
type StartReply ¶
type StartReply struct {
Error string `codec:"error"`
}
type StatusArgs ¶
type StatusReply ¶
type UnsetReply ¶
type UnsetReply struct {
Error string `codec:"error"`
}
type UpgradeArgs ¶
type UpgradeReply ¶
type UpgradeReply struct {
Error string `codec:"error"`
}
type Variable ¶
type Variable struct { Usage string `bson:"usage" codec:"usage"` Type string `bson:"type" codec:"type"` Secret bool `bson:"secret,omitempty" codec:"secret,omitempty"` Optional bool `bson:"optional,omitempty" codec:"optional,omitempty"` Value string `bson:"value" codec:"value"` }
func (*Variable) FillAndValidate ¶
type WatchReply ¶
type WatchReply struct {
Error string `codec:"error"`
}
Click to show internal directories.
Click to hide internal directories.