Documentation ¶
Index ¶
- type Versions
- func (_m *Versions) LatestVersion(ctx context.Context) (*model.AgentVersion, error)
- func (_m *Versions) LatestVersionString(ctx context.Context) string
- func (_m *Versions) SyncVersion(version string) (*model.AgentVersion, error)
- func (_m *Versions) SyncVersions() ([]*model.AgentVersion, error)
- func (_m *Versions) Version(ctx context.Context, version string) (*model.AgentVersion, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Versions ¶
Versions is an autogenerated mock type for the Versions type
func NewVersions ¶
NewVersions creates a new instance of Versions. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*Versions) LatestVersion ¶
LatestVersion provides a mock function with given fields:
func (*Versions) LatestVersionString ¶
LatestVersionString provides a mock function with given fields:
func (*Versions) SyncVersion ¶
func (_m *Versions) SyncVersion(version string) (*model.AgentVersion, error)
SyncVersion provides a mock function with given fields: version
func (*Versions) SyncVersions ¶
func (_m *Versions) SyncVersions() ([]*model.AgentVersion, error)
SyncVersions provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.