system

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Image added in v0.15.0

type Image struct {
	// contains filtered or unexported fields
}

func NewImage added in v0.15.0

func NewImage(ctx context.Context) *Image

func (*Image) BuildImage added in v0.15.0

func (i *Image) BuildImage(dockerfile string, tag string, buildContext string) error

func (*Image) LoadImage added in v0.15.0

func (i *Image) LoadImage(imageTarPath string) error

func (*Image) PushImage added in v0.15.0

func (i *Image) PushImage(tag string) error

type ImageManager added in v0.15.0

type ImageManager interface {
	LoadImage(imageTarPath string) error
	BuildImage(dockerfile string, tag string, buildContext string) error
	PushImage(tag string) error
}

type MockImageManager added in v0.15.0

type MockImageManager struct {
	mock.Mock
}

MockImageManager is an autogenerated mock type for the ImageManager type

func NewMockImageManager added in v0.15.0

func NewMockImageManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockImageManager

NewMockImageManager creates a new instance of MockImageManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*MockImageManager) BuildImage added in v0.15.0

func (_mock *MockImageManager) BuildImage(dockerfile string, tag string, buildContext string) error

BuildImage provides a mock function for the type MockImageManager

func (*MockImageManager) EXPECT added in v0.15.0

func (*MockImageManager) LoadImage added in v0.15.0

func (_mock *MockImageManager) LoadImage(imageTarPath string) error

LoadImage provides a mock function for the type MockImageManager

func (*MockImageManager) PushImage added in v0.15.0

func (_mock *MockImageManager) PushImage(tag string) error

PushImage provides a mock function for the type MockImageManager

type MockImageManager_BuildImage_Call added in v0.15.0

type MockImageManager_BuildImage_Call struct {
	*mock.Call
}

MockImageManager_BuildImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildImage'

func (*MockImageManager_BuildImage_Call) Return added in v0.15.0

func (*MockImageManager_BuildImage_Call) Run added in v0.15.0

func (_c *MockImageManager_BuildImage_Call) Run(run func(dockerfile string, tag string, buildContext string)) *MockImageManager_BuildImage_Call

func (*MockImageManager_BuildImage_Call) RunAndReturn added in v0.15.0

func (_c *MockImageManager_BuildImage_Call) RunAndReturn(run func(dockerfile string, tag string, buildContext string) error) *MockImageManager_BuildImage_Call

type MockImageManager_Expecter added in v0.15.0

type MockImageManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*MockImageManager_Expecter) BuildImage added in v0.15.0

func (_e *MockImageManager_Expecter) BuildImage(dockerfile interface{}, tag interface{}, buildContext interface{}) *MockImageManager_BuildImage_Call

BuildImage is a helper method to define mock.On call

  • dockerfile string
  • tag string
  • buildContext string

func (*MockImageManager_Expecter) LoadImage added in v0.15.0

func (_e *MockImageManager_Expecter) LoadImage(imageTarPath interface{}) *MockImageManager_LoadImage_Call

LoadImage is a helper method to define mock.On call

  • imageTarPath string

func (*MockImageManager_Expecter) PushImage added in v0.15.0

func (_e *MockImageManager_Expecter) PushImage(tag interface{}) *MockImageManager_PushImage_Call

PushImage is a helper method to define mock.On call

  • tag string

type MockImageManager_LoadImage_Call added in v0.15.0

type MockImageManager_LoadImage_Call struct {
	*mock.Call
}

MockImageManager_LoadImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LoadImage'

func (*MockImageManager_LoadImage_Call) Return added in v0.15.0

func (*MockImageManager_LoadImage_Call) Run added in v0.15.0

func (*MockImageManager_LoadImage_Call) RunAndReturn added in v0.15.0

func (_c *MockImageManager_LoadImage_Call) RunAndReturn(run func(imageTarPath string) error) *MockImageManager_LoadImage_Call

type MockImageManager_PushImage_Call added in v0.15.0

type MockImageManager_PushImage_Call struct {
	*mock.Call
}

MockImageManager_PushImage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PushImage'

func (*MockImageManager_PushImage_Call) Return added in v0.15.0

func (*MockImageManager_PushImage_Call) Run added in v0.15.0

func (*MockImageManager_PushImage_Call) RunAndReturn added in v0.15.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL