Versions in this module Expand all Collapse all v0 v0.3.0 Nov 27, 2026 Changes in this version + type MockExec struct + func NewMockExec(ctrl *gomock.Controller) *MockExec + func (m *MockExec) EXPECT() *MockExecMockRecorder + func (m *MockExec) RunCmd(ctx context.Context, name string, args []string) (string, error) + func (m *MockExec) RunCmdFull(ctx context.Context, name string, args []string, cwd string, timeout int) (*exec.CmdResult, error) + func (m *MockExec) RunPrivilegedCmd(ctx context.Context, name string, args []string) (string, error) + func (m *MockExec) RunPrivilegedCmdFull(ctx context.Context, name string, args []string, stdin string) (string, string, int, error) + func (m *MockExec) RunPrivilegedCmdWithStdin(ctx context.Context, name string, args []string, stdin string) (string, error) + func (m *MockExec) RunReadCmd(ctx context.Context, name string, args []string) ([]byte, error) + type MockExecMockRecorder struct + func (mr *MockExecMockRecorder) RunCmd(ctx, name, args any) *gomock.Call + func (mr *MockExecMockRecorder) RunCmdFull(ctx, name, args, cwd, timeout any) *gomock.Call + func (mr *MockExecMockRecorder) RunPrivilegedCmd(ctx, name, args any) *gomock.Call + func (mr *MockExecMockRecorder) RunPrivilegedCmdFull(ctx, name, args, stdin any) *gomock.Call + func (mr *MockExecMockRecorder) RunPrivilegedCmdWithStdin(ctx, name, args, stdin any) *gomock.Call + func (mr *MockExecMockRecorder) RunReadCmd(ctx, name, args any) *gomock.Call + type MockObjects struct + func NewMockObjects(ctrl *gomock.Controller) *MockObjects + func (m *MockObjects) EXPECT() *MockObjectsMockRecorder + func (m *MockObjects) Object(ctx context.Context, name string) ([]byte, types.ContentType, error) + type MockObjectsMockRecorder struct + func (mr *MockObjectsMockRecorder) Object(ctx, name any) *gomock.Call