export

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Exporter

type Exporter interface {
	ExportDockerArtifacts(inputPath string, outputPath string, baseImage string, envVars []string) error
}

func NewExporterService

func NewExporterService(fs *cs.FileSystem) Exporter

type ExporterService

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

func (*ExporterService) ExportDockerArtifacts

func (e *ExporterService) ExportDockerArtifacts(inputPath string, outputPath string, baseImage string, envVars []string) error

ExportDockerArtifacts exports Docker artifacts based on the provided input path, output path, base image, and environment variables.

type MockExporter

type MockExporter struct {
	mock.Mock
}

MockExporter is an autogenerated mock type for the Exporter type

func NewMockExporter

func NewMockExporter(t interface {
	mock.TestingT
	Cleanup(func())
}) *MockExporter

NewMockExporter creates a new instance of MockExporter. 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 (*MockExporter) EXPECT

func (_m *MockExporter) EXPECT() *MockExporter_Expecter

func (*MockExporter) ExportDockerArtifacts

func (_mock *MockExporter) ExportDockerArtifacts(inputPath string, outputPath string, baseImage string, envVars []string) error

ExportDockerArtifacts provides a mock function for the type MockExporter

type MockExporter_Expecter

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

func (*MockExporter_Expecter) ExportDockerArtifacts

func (_e *MockExporter_Expecter) ExportDockerArtifacts(inputPath interface{}, outputPath interface{}, baseImage interface{}, envVars interface{}) *MockExporter_ExportDockerArtifacts_Call

ExportDockerArtifacts is a helper method to define mock.On call

  • inputPath
  • outputPath
  • baseImage
  • envVars

type MockExporter_ExportDockerArtifacts_Call

type MockExporter_ExportDockerArtifacts_Call struct {
	*mock.Call
}

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

func (*MockExporter_ExportDockerArtifacts_Call) Return

func (*MockExporter_ExportDockerArtifacts_Call) Run

func (_c *MockExporter_ExportDockerArtifacts_Call) Run(run func(inputPath string, outputPath string, baseImage string, envVars []string)) *MockExporter_ExportDockerArtifacts_Call

func (*MockExporter_ExportDockerArtifacts_Call) RunAndReturn

func (_c *MockExporter_ExportDockerArtifacts_Call) RunAndReturn(run func(inputPath string, outputPath string, baseImage string, envVars []string) error) *MockExporter_ExportDockerArtifacts_Call

Jump to

Keyboard shortcuts

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