Documentation ¶
Index ¶
- func BuildCommand(configFilePath string, dir string) error
- func DestroyLocalRegistry() error
- func GetNonNilFields(logString DockerEngineLogString) (result string)
- func InitCommand(configFilePath string) error
- func PrintLog(rd io.Reader) error
- func RotateCommand(configFilePath string) error
- func RotateCreds(dockerClient *client.Client, ctx context.Context, ...) error
- func StopAndRemoveContainer(containerID string) error
- type DockerEngineLogString
- type ErrorLine
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildCommand ¶
func DestroyLocalRegistry ¶
func DestroyLocalRegistry() error
DestroyLocalRegistry stops and removes the local Docker registry based on the ID stored in the profile
func GetNonNilFields ¶
func GetNonNilFields(logString DockerEngineLogString) (result string)
func InitCommand ¶
func PrintLog ¶
PrintLog Get logs produced by docker engine and print them in fancy formating takes io.Reader as input and returns error if any occur in logs form docker engine
func RotateCommand ¶
func RotateCreds ¶
func StopAndRemoveContainer ¶
StopAndRemoveContainer stops and removes a Docker container
Types ¶
type DockerEngineLogString ¶
Click to show internal directories.
Click to hide internal directories.