Documentation
¶
Index ¶
- Variables
- type MockCommand
- func (c *MockCommand) CreateAptTarFile(tmpDir string, aptTarFile string, packages ...string) (string, error)
- func (c *MockCommand) CreateTarFile(image string, tmpDir string, tarFile string, folder string) (string, error)
- func (c *MockCommand) Inspect(image string) (*command.Manifest, error)
- func (c *MockCommand) LoadUserInformation(registryHost string) (*command.UserInfo, error)
- func (c *MockCommand) Pull(image string) error
- func (c *MockCommand) Push(image string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var MockCogConfig string = "" /* 193-byte string literal not displayed */
View Source
var MockOpenAPISchema string = "{}"
View Source
var PushError error = nil
Functions ¶
This section is empty.
Types ¶
type MockCommand ¶
type MockCommand struct{}
func NewMockCommand ¶
func NewMockCommand() *MockCommand
func (*MockCommand) CreateAptTarFile ¶
func (*MockCommand) CreateTarFile ¶
func (*MockCommand) Inspect ¶
func (c *MockCommand) Inspect(image string) (*command.Manifest, error)
func (*MockCommand) LoadUserInformation ¶
func (c *MockCommand) LoadUserInformation(registryHost string) (*command.UserInfo, error)
func (*MockCommand) Pull ¶
func (c *MockCommand) Pull(image string) error
func (*MockCommand) Push ¶
func (c *MockCommand) Push(image string) error
Click to show internal directories.
Click to hide internal directories.