Documentation ¶
Overview ¶
Package updater is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrUpdateMetadataFailed is returned when failed to update metadata ErrUpdateMetadataFailed = errors.New("failed to update status") )
Functions ¶
This section is empty.
Types ¶
type AgentInfoUpdater ¶
AgentInfoUpdater updates the droplet agent related fields in the droplet's metadata
func NewAgentInfoUpdater ¶
func NewAgentInfoUpdater() AgentInfoUpdater
NewAgentInfoUpdater creates a new agent info updater
type MockhttpClient ¶
type MockhttpClient struct {
// contains filtered or unexported fields
}
MockhttpClient is a mock of httpClient interface.
func NewMockhttpClient ¶
func NewMockhttpClient(ctrl *gomock.Controller) *MockhttpClient
NewMockhttpClient creates a new mock instance.
func (*MockhttpClient) EXPECT ¶
func (m *MockhttpClient) EXPECT() *MockhttpClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockhttpClientMockRecorder ¶
type MockhttpClientMockRecorder struct {
// contains filtered or unexported fields
}
MockhttpClientMockRecorder is the mock recorder for MockhttpClient.
func (*MockhttpClientMockRecorder) Do ¶
func (mr *MockhttpClientMockRecorder) Do(req interface{}) *gomock.Call
Do indicates an expected call of Do.
Click to show internal directories.
Click to hide internal directories.