extension

package
v3.2.5-rc.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package extension is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install() error

func InstallCommand

func InstallCommand() string

func IsInstalled

func IsInstalled() (string, bool, error)

func Update

func Update() error

Types

type Extensioner

type Extensioner interface {
	IsInstalled() (string, bool, error)
	Install() error
	Update() error
}

func Default

func Default() 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

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) IsInstalled

func (m *MockExtensioner) IsInstalled() (string, bool, error)

IsInstalled mocks base method.

func (*MockExtensioner) Update

func (m *MockExtensioner) Update() error

Update 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) 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.

Jump to

Keyboard shortcuts

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