Documentation
¶
Index ¶
- Constants
- func ConfigSet(req ConfigSetRequest) output.Outcome
- func ConfigShow(req ConfigShowRequest) output.Outcome
- func ConfigUnset(req ConfigUnsetRequest) output.Outcome
- func Drop(req DropRequest) output.Outcome
- func List(req ListRequest) output.Outcome
- func Refresh(req RefreshRequest) output.Outcome
- func Show(req ShowRequest) output.Outcome
- func Status(req StatusRequest) output.Outcome
- func Use(req UseRequest) output.Outcome
- type ConfigFile
- type ConfigPayload
- type ConfigSetRequest
- type ConfigShowRequest
- type ConfigUnsetRequest
- type DropRequest
- type ListPayload
- type ListRequest
- type RefreshRequest
- type ShowRequest
- type StatusRequest
- type UseRequest
Constants ¶
View Source
const ( CommandUse output.Command = "package use" CommandDrop output.Command = "package drop" CommandRefresh output.Command = "package refresh" CommandStatus output.Command = "package status" CommandConfigShow output.Command = "package config show" CommandConfigSet output.Command = "package config set" CommandConfigUnset output.Command = "package config unset" )
View Source
const ( CommandList output.Command = "package list" KindPackages output.Kind = "packages" )
View Source
const ( CommandShow output.Command = "package show" KindTree output.Kind = "tree" )
View Source
const KindConfig output.Kind = "config"
Variables ¶
This section is empty.
Functions ¶
func ConfigSet ¶
func ConfigSet(req ConfigSetRequest) output.Outcome
func ConfigShow ¶
func ConfigShow(req ConfigShowRequest) output.Outcome
func ConfigUnset ¶
func ConfigUnset(req ConfigUnsetRequest) output.Outcome
func Drop ¶
func Drop(req DropRequest) output.Outcome
func List ¶
func List(req ListRequest) output.Outcome
func Refresh ¶
func Refresh(req RefreshRequest) output.Outcome
func Show ¶
func Show(req ShowRequest) output.Outcome
func Status ¶
func Status(req StatusRequest) output.Outcome
func Use ¶
func Use(req UseRequest) output.Outcome
Types ¶
type ConfigFile ¶
type ConfigPayload ¶
type ConfigPayload struct {
Source string `json:"source"`
Package string `json:"package"`
ManifestPath string `json:"manifestPath,omitempty"`
Files []ConfigFile `json:"files"`
}
type ConfigSetRequest ¶
type ConfigShowRequest ¶
type ConfigUnsetRequest ¶
type DropRequest ¶
type ListPayload ¶
type ListRequest ¶
type RefreshRequest ¶
type ShowRequest ¶
type StatusRequest ¶
Click to show internal directories.
Click to hide internal directories.