Documentation
¶
Overview ¶
Package extension is a generated GoMock package.
Index ¶
Constants ¶
View Source
const ( DefaultExtensionName = "stateful.runme" PlatformExtensionName = "stateful.platform" )
Variables ¶
This section is empty.
Functions ¶
func InstallCommand ¶
Types ¶
type Extensioner ¶
type Extensioner interface { IsInstalled() (string, bool, error) Install() error InstallCommand() string Update() error }
func New ¶ added in v3.3.2
func New(isStateful bool) Extensioner
type MockExtensioner ¶
type MockExtensioner struct {
// contains filtered or unexported fields
}
MockExtensioner is a mock of Extensioner interface.
func NewMockExtensioner ¶
func NewMockExtensioner(ctrl *gomock.Controller) *MockExtensioner
NewMockExtensioner creates a new mock instance.
func (*MockExtensioner) EXPECT ¶
func (m *MockExtensioner) EXPECT() *MockExtensionerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockExtensioner) Install ¶
func (m *MockExtensioner) Install() error
Install mocks base method.
func (*MockExtensioner) InstallCommand ¶ added in v3.3.2
func (m *MockExtensioner) InstallCommand() string
InstallCommand mocks base method.
func (*MockExtensioner) IsInstalled ¶
func (m *MockExtensioner) IsInstalled() (string, bool, error)
IsInstalled mocks base method.
type MockExtensionerMockRecorder ¶
type MockExtensionerMockRecorder struct {
// contains filtered or unexported fields
}
MockExtensionerMockRecorder is the mock recorder for MockExtensioner.
func (*MockExtensionerMockRecorder) Install ¶
func (mr *MockExtensionerMockRecorder) Install() *gomock.Call
Install indicates an expected call of Install.
func (*MockExtensionerMockRecorder) InstallCommand ¶ added in v3.3.2
func (mr *MockExtensionerMockRecorder) InstallCommand() *gomock.Call
InstallCommand indicates an expected call of InstallCommand.
func (*MockExtensionerMockRecorder) IsInstalled ¶
func (mr *MockExtensionerMockRecorder) IsInstalled() *gomock.Call
IsInstalled indicates an expected call of IsInstalled.
func (*MockExtensionerMockRecorder) Update ¶
func (mr *MockExtensionerMockRecorder) Update() *gomock.Call
Update indicates an expected call of Update.
Click to show internal directories.
Click to hide internal directories.