Documentation ¶
Index ¶
- Constants
- Variables
- func Execute()
- func GetContainerSpec(instanceAnswer string) (containerID, endpointName, imageName, state string)
- func SplitFullImageName(name string) (imageName, imageTag string)
- func SplitFullRegistryImageName(name string) (dockerRegistryHost, imageShortName, imageTag string)
- type Manager
Constants ¶
View Source
const (
NameDataDir = ".portainer-cli"
)
Variables ¶
View Source
var ( User string Password string )
View Source
var ( RegistryUser string RegistryPassword string RegistryServerAddress string )
View Source
var ( // portainer host Host string Datadir string Verbose bool )
View Source
var ( Repo = "" Branch = "" Commit = "" Version = "" )
Functions ¶
func GetContainerSpec ¶ added in v0.0.13
func SplitFullImageName ¶ added in v0.0.10
func SplitFullRegistryImageName ¶ added in v0.0.10
SplitFullRegistryImageName split dockerRegistryHost/imageShortName/imageTag into each piece example: dockerhub.com/ccx/go-test-grpc-srv:v1.0.0 yields [dockerhub.com ccx/go-test-grpc-srv v1.0.0]
Types ¶
Click to show internal directories.
Click to hide internal directories.