Documentation ¶
Index ¶
- func ForType(t component.Type) interface{}
- func Mock(v interface{}) *mock.Mock
- type Authenticator
- type CapabilityHost
- type CapabilityPlatform
- type Command
- type Communicator
- func (_m *Communicator) DownloadFunc() interface{}
- func (_m *Communicator) ExecuteFunc() interface{}
- func (_m *Communicator) InitFunc() interface{}
- func (_m *Communicator) MatchFunc() interface{}
- func (_m *Communicator) PrivilegedExecuteFunc() interface{}
- func (_m *Communicator) ReadyFunc() interface{}
- func (_m *Communicator) ResetFunc() interface{}
- func (_m *Communicator) TestFunc() interface{}
- func (_m *Communicator) UploadFunc() interface{}
- func (_m *Communicator) WaitForReadyFunc() interface{}
- type Config
- type Configurable
- type ConfigurableNotify
- func (_m *ConfigurableNotify) Config() (interface{}, error)
- func (_m *ConfigurableNotify) ConfigSet(_a0 interface{}) error
- func (_m *ConfigurableNotify) Finalize() (interface{}, error)
- func (_m *ConfigurableNotify) Merge() (interface{}, error)
- func (_m *ConfigurableNotify) Reconfig() (interface{}, error)
- func (_m *ConfigurableNotify) Register() (*component.ConfigRegistration, error)
- type Documented
- type Downloader
- type Guest
- type Host
- type LogPlatform
- type LogViewer
- type PluginInfo
- type ProtoMarshaler
- type Provider
- func (_m *Provider) ActionFunc(actionName string) interface{}
- func (_m *Provider) CapabilityFunc(capName string) interface{}
- func (_m *Provider) HasCapabilityFunc() interface{}
- func (_m *Provider) InstalledFunc() interface{}
- func (_m *Provider) MachineIdChangedFunc() interface{}
- func (_m *Provider) SshInfoFunc() interface{}
- func (_m *Provider) StateFunc() interface{}
- func (_m *Provider) UsableFunc() interface{}
- type Provisioner
- type Push
- type SyncedFolder
- func (_m *SyncedFolder) CapabilityFunc(capName string) interface{}
- func (_m *SyncedFolder) CleanupFunc() interface{}
- func (_m *SyncedFolder) DisableFunc() interface{}
- func (_m *SyncedFolder) EnableFunc() interface{}
- func (_m *SyncedFolder) HasCapabilityFunc() interface{}
- func (_m *SyncedFolder) PrepareFunc() interface{}
- func (_m *SyncedFolder) UsableFunc() interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Authenticator ¶
Authenticator is an autogenerated mock type for the Authenticator type
func NewAuthenticator ¶
func NewAuthenticator(t mockConstructorTestingTNewAuthenticator) *Authenticator
NewAuthenticator creates a new instance of Authenticator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Authenticator) AuthFunc ¶
func (_m *Authenticator) AuthFunc() interface{}
AuthFunc provides a mock function with given fields:
func (*Authenticator) ValidateAuthFunc ¶
func (_m *Authenticator) ValidateAuthFunc() interface{}
ValidateAuthFunc provides a mock function with given fields:
type CapabilityHost ¶
CapabilityHost is an autogenerated mock type for the CapabilityHost type
func (*CapabilityHost) CapabilityFunc ¶
func (_m *CapabilityHost) CapabilityFunc(capName string) interface{}
CapabilityFunc provides a mock function with given fields: capName
func (*CapabilityHost) HasCapabilityFunc ¶
func (_m *CapabilityHost) HasCapabilityFunc() interface{}
HasCapabilityFunc provides a mock function with given fields:
func (*CapabilityHost) ParentsFunc ¶
func (_m *CapabilityHost) ParentsFunc() interface{}
ParentsFunc provides a mock function with given fields:
type CapabilityPlatform ¶
CapabilityPlatform is an autogenerated mock type for the CapabilityPlatform type
func NewCapabilityPlatform ¶
func NewCapabilityPlatform(t mockConstructorTestingTNewCapabilityPlatform) *CapabilityPlatform
NewCapabilityPlatform creates a new instance of CapabilityPlatform. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CapabilityPlatform) CapabilityFunc ¶
func (_m *CapabilityPlatform) CapabilityFunc(capName string) interface{}
CapabilityFunc provides a mock function with given fields: capName
func (*CapabilityPlatform) HasCapabilityFunc ¶
func (_m *CapabilityPlatform) HasCapabilityFunc() interface{}
HasCapabilityFunc provides a mock function with given fields:
type Command ¶
Command is an autogenerated mock type for the Command type
func NewCommand ¶
func NewCommand(t mockConstructorTestingTNewCommand) *Command
NewCommand creates a new instance of Command. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Command) CommandInfoFunc ¶
func (_m *Command) CommandInfoFunc() interface{}
CommandInfoFunc provides a mock function with given fields:
func (*Command) ExecuteFunc ¶
ExecuteFunc provides a mock function with given fields: _a0
type Communicator ¶
Communicator is an autogenerated mock type for the Communicator type
func NewCommunicator ¶
func NewCommunicator(t mockConstructorTestingTNewCommunicator) *Communicator
NewCommunicator creates a new instance of Communicator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Communicator) DownloadFunc ¶
func (_m *Communicator) DownloadFunc() interface{}
DownloadFunc provides a mock function with given fields:
func (*Communicator) ExecuteFunc ¶
func (_m *Communicator) ExecuteFunc() interface{}
ExecuteFunc provides a mock function with given fields:
func (*Communicator) InitFunc ¶
func (_m *Communicator) InitFunc() interface{}
InitFunc provides a mock function with given fields:
func (*Communicator) MatchFunc ¶
func (_m *Communicator) MatchFunc() interface{}
MatchFunc provides a mock function with given fields:
func (*Communicator) PrivilegedExecuteFunc ¶
func (_m *Communicator) PrivilegedExecuteFunc() interface{}
PrivilegedExecuteFunc provides a mock function with given fields:
func (*Communicator) ReadyFunc ¶
func (_m *Communicator) ReadyFunc() interface{}
ReadyFunc provides a mock function with given fields:
func (*Communicator) ResetFunc ¶
func (_m *Communicator) ResetFunc() interface{}
ResetFunc provides a mock function with given fields:
func (*Communicator) TestFunc ¶
func (_m *Communicator) TestFunc() interface{}
TestFunc provides a mock function with given fields:
func (*Communicator) UploadFunc ¶
func (_m *Communicator) UploadFunc() interface{}
UploadFunc provides a mock function with given fields:
func (*Communicator) WaitForReadyFunc ¶
func (_m *Communicator) WaitForReadyFunc() interface{}
WaitForReadyFunc provides a mock function with given fields:
type Config ¶
Config is an autogenerated mock type for the Config type
func NewConfig ¶
func NewConfig(t mockConstructorTestingTNewConfig) *Config
NewConfig creates a new instance of Config. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Config) FinalizeFunc ¶
func (_m *Config) FinalizeFunc() interface{}
FinalizeFunc provides a mock function with given fields:
func (*Config) MergeFunc ¶
func (_m *Config) MergeFunc() interface{}
MergeFunc provides a mock function with given fields:
func (*Config) Register ¶
func (_m *Config) Register() (*component.ConfigRegistration, error)
Register provides a mock function with given fields:
func (*Config) StructFunc ¶
func (_m *Config) StructFunc() interface{}
StructFunc provides a mock function with given fields:
type Configurable ¶
Configurable is an autogenerated mock type for the Configurable type
func NewConfigurable ¶
func NewConfigurable(t mockConstructorTestingTNewConfigurable) *Configurable
NewConfigurable creates a new instance of Configurable. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Configurable) Config ¶
func (_m *Configurable) Config() (interface{}, error)
Config provides a mock function with given fields:
func (*Configurable) Finalize ¶
func (_m *Configurable) Finalize() (interface{}, error)
Finalize provides a mock function with given fields:
func (*Configurable) Merge ¶
func (_m *Configurable) Merge() (interface{}, error)
Merge provides a mock function with given fields:
func (*Configurable) Reconfig ¶
func (_m *Configurable) Reconfig() (interface{}, error)
Reconfig provides a mock function with given fields:
func (*Configurable) Register ¶
func (_m *Configurable) Register() (*component.ConfigRegistration, error)
Register provides a mock function with given fields:
type ConfigurableNotify ¶
ConfigurableNotify is an autogenerated mock type for the ConfigurableNotify type
func NewConfigurableNotify ¶
func NewConfigurableNotify(t mockConstructorTestingTNewConfigurableNotify) *ConfigurableNotify
NewConfigurableNotify creates a new instance of ConfigurableNotify. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ConfigurableNotify) Config ¶
func (_m *ConfigurableNotify) Config() (interface{}, error)
Config provides a mock function with given fields:
func (*ConfigurableNotify) ConfigSet ¶
func (_m *ConfigurableNotify) ConfigSet(_a0 interface{}) error
ConfigSet provides a mock function with given fields: _a0
func (*ConfigurableNotify) Finalize ¶
func (_m *ConfigurableNotify) Finalize() (interface{}, error)
Finalize provides a mock function with given fields:
func (*ConfigurableNotify) Merge ¶
func (_m *ConfigurableNotify) Merge() (interface{}, error)
Merge provides a mock function with given fields:
func (*ConfigurableNotify) Reconfig ¶
func (_m *ConfigurableNotify) Reconfig() (interface{}, error)
Reconfig provides a mock function with given fields:
func (*ConfigurableNotify) Register ¶
func (_m *ConfigurableNotify) Register() (*component.ConfigRegistration, error)
Register provides a mock function with given fields:
type Documented ¶
Documented is an autogenerated mock type for the Documented type
func NewDocumented ¶
func NewDocumented(t mockConstructorTestingTNewDocumented) *Documented
NewDocumented creates a new instance of Documented. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Documented) Documentation ¶
func (_m *Documented) Documentation() (*docs.Documentation, error)
Documentation provides a mock function with given fields:
type Downloader ¶
Downloader is an autogenerated mock type for the Downloader type
func NewDownloader ¶
func NewDownloader(t mockConstructorTestingTNewDownloader) *Downloader
NewDownloader creates a new instance of Downloader. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Downloader) DownloadFunc ¶
func (_m *Downloader) DownloadFunc() interface{}
DownloadFunc provides a mock function with given fields:
type Guest ¶
Guest is an autogenerated mock type for the Guest type
func NewGuest ¶
func NewGuest(t mockConstructorTestingTNewGuest) *Guest
NewGuest creates a new instance of Guest. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Guest) CapabilityFunc ¶
CapabilityFunc provides a mock function with given fields: capName
func (*Guest) GuestDetectFunc ¶
func (_m *Guest) GuestDetectFunc() interface{}
GuestDetectFunc provides a mock function with given fields:
func (*Guest) HasCapabilityFunc ¶
func (_m *Guest) HasCapabilityFunc() interface{}
HasCapabilityFunc provides a mock function with given fields:
func (*Guest) ParentFunc ¶
func (_m *Guest) ParentFunc() interface{}
ParentFunc provides a mock function with given fields:
type Host ¶
Host is an autogenerated mock type for the Host type
func NewHost ¶
func NewHost(t mockConstructorTestingTNewHost) *Host
NewHost creates a new instance of Host. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Host) CapabilityFunc ¶
CapabilityFunc provides a mock function with given fields: capName
func (*Host) HasCapabilityFunc ¶
func (_m *Host) HasCapabilityFunc() interface{}
HasCapabilityFunc provides a mock function with given fields:
func (*Host) HostDetectFunc ¶
func (_m *Host) HostDetectFunc() interface{}
HostDetectFunc provides a mock function with given fields:
func (*Host) ParentFunc ¶
func (_m *Host) ParentFunc() interface{}
ParentFunc provides a mock function with given fields:
type LogPlatform ¶
LogPlatform is an autogenerated mock type for the LogPlatform type
func NewLogPlatform ¶
func NewLogPlatform(t mockConstructorTestingTNewLogPlatform) *LogPlatform
NewLogPlatform creates a new instance of LogPlatform. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*LogPlatform) LogsFunc ¶
func (_m *LogPlatform) LogsFunc() interface{}
LogsFunc provides a mock function with given fields:
type LogViewer ¶
LogViewer is an autogenerated mock type for the LogViewer type
func NewLogViewer ¶
func NewLogViewer(t mockConstructorTestingTNewLogViewer) *LogViewer
NewLogViewer creates a new instance of LogViewer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type PluginInfo ¶
PluginInfo is an autogenerated mock type for the PluginInfo type
func NewPluginInfo ¶
func NewPluginInfo(t mockConstructorTestingTNewPluginInfo) *PluginInfo
NewPluginInfo creates a new instance of PluginInfo. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*PluginInfo) ComponentOptions ¶
func (_m *PluginInfo) ComponentOptions() map[component.Type]interface{}
ComponentOptions provides a mock function with given fields:
func (*PluginInfo) ComponentTypes ¶
func (_m *PluginInfo) ComponentTypes() []component.Type
ComponentTypes provides a mock function with given fields:
func (*PluginInfo) Name ¶
func (_m *PluginInfo) Name() string
Name provides a mock function with given fields:
type ProtoMarshaler ¶
ProtoMarshaler is an autogenerated mock type for the ProtoMarshaler type
func NewProtoMarshaler ¶
func NewProtoMarshaler(t mockConstructorTestingTNewProtoMarshaler) *ProtoMarshaler
NewProtoMarshaler creates a new instance of ProtoMarshaler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ProtoMarshaler) Proto ¶
func (_m *ProtoMarshaler) Proto() protoreflect.ProtoMessage
Proto provides a mock function with given fields:
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶
func NewProvider(t mockConstructorTestingTNewProvider) *Provider
NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Provider) ActionFunc ¶
ActionFunc provides a mock function with given fields: actionName
func (*Provider) CapabilityFunc ¶
CapabilityFunc provides a mock function with given fields: capName
func (*Provider) HasCapabilityFunc ¶
func (_m *Provider) HasCapabilityFunc() interface{}
HasCapabilityFunc provides a mock function with given fields:
func (*Provider) InstalledFunc ¶
func (_m *Provider) InstalledFunc() interface{}
InstalledFunc provides a mock function with given fields:
func (*Provider) MachineIdChangedFunc ¶
func (_m *Provider) MachineIdChangedFunc() interface{}
MachineIdChangedFunc provides a mock function with given fields:
func (*Provider) SshInfoFunc ¶
func (_m *Provider) SshInfoFunc() interface{}
SshInfoFunc provides a mock function with given fields:
func (*Provider) StateFunc ¶
func (_m *Provider) StateFunc() interface{}
StateFunc provides a mock function with given fields:
func (*Provider) UsableFunc ¶
func (_m *Provider) UsableFunc() interface{}
UsableFunc provides a mock function with given fields:
type Provisioner ¶
Provisioner is an autogenerated mock type for the Provisioner type
func NewProvisioner ¶
func NewProvisioner(t mockConstructorTestingTNewProvisioner) *Provisioner
NewProvisioner creates a new instance of Provisioner. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Provisioner) CleanupFunc ¶
func (_m *Provisioner) CleanupFunc() interface{}
CleanupFunc provides a mock function with given fields:
func (*Provisioner) ConfigureFunc ¶
func (_m *Provisioner) ConfigureFunc() interface{}
ConfigureFunc provides a mock function with given fields:
func (*Provisioner) ProvisionFunc ¶
func (_m *Provisioner) ProvisionFunc() interface{}
ProvisionFunc provides a mock function with given fields:
type Push ¶
Push is an autogenerated mock type for the Push type
type SyncedFolder ¶
SyncedFolder is an autogenerated mock type for the SyncedFolder type
func NewSyncedFolder ¶
func NewSyncedFolder(t mockConstructorTestingTNewSyncedFolder) *SyncedFolder
NewSyncedFolder creates a new instance of SyncedFolder. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SyncedFolder) CapabilityFunc ¶
func (_m *SyncedFolder) CapabilityFunc(capName string) interface{}
CapabilityFunc provides a mock function with given fields: capName
func (*SyncedFolder) CleanupFunc ¶
func (_m *SyncedFolder) CleanupFunc() interface{}
CleanupFunc provides a mock function with given fields:
func (*SyncedFolder) DisableFunc ¶
func (_m *SyncedFolder) DisableFunc() interface{}
DisableFunc provides a mock function with given fields:
func (*SyncedFolder) EnableFunc ¶
func (_m *SyncedFolder) EnableFunc() interface{}
EnableFunc provides a mock function with given fields:
func (*SyncedFolder) HasCapabilityFunc ¶
func (_m *SyncedFolder) HasCapabilityFunc() interface{}
HasCapabilityFunc provides a mock function with given fields:
func (*SyncedFolder) PrepareFunc ¶
func (_m *SyncedFolder) PrepareFunc() interface{}
PrepareFunc provides a mock function with given fields:
func (*SyncedFolder) UsableFunc ¶
func (_m *SyncedFolder) UsableFunc() interface{}
UsableFunc provides a mock function with given fields: