Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.
Index ¶
- type MockAMI
- func (m *MockAMI) ApplyApp(arg0 string, arg1 v1.Application, arg2 map[string]v1.Configuration, ...) error
- func (m *MockAMI) CollectNodeInfo() (*v1.NodeInfo, error)
- func (m *MockAMI) CollectNodeStats() (*v1.NodeStats, error)
- func (m *MockAMI) DeleteApp(arg0, arg1 string) error
- func (m *MockAMI) EXPECT() *MockAMIMockRecorder
- func (m *MockAMI) FetchLog(arg0, arg1 string, arg2, arg3 int64) (io.ReadCloser, error)
- func (m *MockAMI) RemoteCommand(arg0 ami.DebugOptions, arg1 io.Reader, arg2, arg3 io.Writer) error
- func (m *MockAMI) StatsApps(arg0 string) ([]v1.AppStats, error)
- type MockAMIMockRecorder
- func (mr *MockAMIMockRecorder) ApplyApp(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAMIMockRecorder) CollectNodeInfo() *gomock.Call
- func (mr *MockAMIMockRecorder) CollectNodeStats() *gomock.Call
- func (mr *MockAMIMockRecorder) DeleteApp(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAMIMockRecorder) FetchLog(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAMIMockRecorder) RemoteCommand(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockAMIMockRecorder) StatsApps(arg0 interface{}) *gomock.Call
- type MockSecurity
- func (m *MockSecurity) EXPECT() *MockSecurityMockRecorder
- func (m *MockSecurity) GetCA() ([]byte, error)
- func (m *MockSecurity) IssueCertificate(arg0 string, arg1 security.AltNames) (*pki.CertPem, error)
- func (m *MockSecurity) RevokeCertificate(arg0 string) error
- func (m *MockSecurity) RotateCertificate(arg0 string) (*pki.CertPem, error)
- type MockSecurityMockRecorder
- func (mr *MockSecurityMockRecorder) GetCA() *gomock.Call
- func (mr *MockSecurityMockRecorder) IssueCertificate(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSecurityMockRecorder) RevokeCertificate(arg0 interface{}) *gomock.Call
- func (mr *MockSecurityMockRecorder) RotateCertificate(arg0 interface{}) *gomock.Call
- type MockSync
- func (m *MockSync) Close()
- func (m *MockSync) EXPECT() *MockSyncMockRecorder
- func (m *MockSync) Report(arg0 v1.Report) (v1.Desire, error)
- func (m *MockSync) Start()
- func (m *MockSync) SyncApps(arg0 []v1.AppInfo) (map[string]v1.Application, error)
- func (m *MockSync) SyncResource(arg0 v1.AppInfo) error
- type MockSyncMockRecorder
- func (mr *MockSyncMockRecorder) Close() *gomock.Call
- func (mr *MockSyncMockRecorder) Report(arg0 interface{}) *gomock.Call
- func (mr *MockSyncMockRecorder) Start() *gomock.Call
- func (mr *MockSyncMockRecorder) SyncApps(arg0 interface{}) *gomock.Call
- func (mr *MockSyncMockRecorder) SyncResource(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAMI ¶
type MockAMI struct {
// contains filtered or unexported fields
}
MockAMI is a mock of AMI interface
func NewMockAMI ¶
func NewMockAMI(ctrl *gomock.Controller) *MockAMI
NewMockAMI creates a new mock instance
func (*MockAMI) ApplyApp ¶
func (m *MockAMI) ApplyApp(arg0 string, arg1 v1.Application, arg2 map[string]v1.Configuration, arg3 map[string]v1.Secret) error
ApplyApp mocks base method
func (*MockAMI) CollectNodeInfo ¶
CollectNodeInfo mocks base method
func (*MockAMI) CollectNodeStats ¶
CollectNodeStats mocks base method
func (*MockAMI) EXPECT ¶
func (m *MockAMI) EXPECT() *MockAMIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAMI) RemoteCommand ¶
RemoteCommand mocks base method
type MockAMIMockRecorder ¶
type MockAMIMockRecorder struct {
// contains filtered or unexported fields
}
MockAMIMockRecorder is the mock recorder for MockAMI
func (*MockAMIMockRecorder) ApplyApp ¶
func (mr *MockAMIMockRecorder) ApplyApp(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ApplyApp indicates an expected call of ApplyApp
func (*MockAMIMockRecorder) CollectNodeInfo ¶
func (mr *MockAMIMockRecorder) CollectNodeInfo() *gomock.Call
CollectNodeInfo indicates an expected call of CollectNodeInfo
func (*MockAMIMockRecorder) CollectNodeStats ¶
func (mr *MockAMIMockRecorder) CollectNodeStats() *gomock.Call
CollectNodeStats indicates an expected call of CollectNodeStats
func (*MockAMIMockRecorder) DeleteApp ¶
func (mr *MockAMIMockRecorder) DeleteApp(arg0, arg1 interface{}) *gomock.Call
DeleteApp indicates an expected call of DeleteApp
func (*MockAMIMockRecorder) FetchLog ¶
func (mr *MockAMIMockRecorder) FetchLog(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
FetchLog indicates an expected call of FetchLog
func (*MockAMIMockRecorder) RemoteCommand ¶
func (mr *MockAMIMockRecorder) RemoteCommand(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
RemoteCommand indicates an expected call of RemoteCommand
func (*MockAMIMockRecorder) StatsApps ¶
func (mr *MockAMIMockRecorder) StatsApps(arg0 interface{}) *gomock.Call
StatsApps indicates an expected call of StatsApps
type MockSecurity ¶
type MockSecurity struct {
// contains filtered or unexported fields
}
MockSecurity is a mock of Security interface
func NewMockSecurity ¶
func NewMockSecurity(ctrl *gomock.Controller) *MockSecurity
NewMockSecurity creates a new mock instance
func (*MockSecurity) EXPECT ¶
func (m *MockSecurity) EXPECT() *MockSecurityMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSecurity) IssueCertificate ¶
IssueCertificate mocks base method
func (*MockSecurity) RevokeCertificate ¶
func (m *MockSecurity) RevokeCertificate(arg0 string) error
RevokeCertificate mocks base method
func (*MockSecurity) RotateCertificate ¶
func (m *MockSecurity) RotateCertificate(arg0 string) (*pki.CertPem, error)
RotateCertificate mocks base method
type MockSecurityMockRecorder ¶
type MockSecurityMockRecorder struct {
// contains filtered or unexported fields
}
MockSecurityMockRecorder is the mock recorder for MockSecurity
func (*MockSecurityMockRecorder) GetCA ¶
func (mr *MockSecurityMockRecorder) GetCA() *gomock.Call
GetCA indicates an expected call of GetCA
func (*MockSecurityMockRecorder) IssueCertificate ¶
func (mr *MockSecurityMockRecorder) IssueCertificate(arg0, arg1 interface{}) *gomock.Call
IssueCertificate indicates an expected call of IssueCertificate
func (*MockSecurityMockRecorder) RevokeCertificate ¶
func (mr *MockSecurityMockRecorder) RevokeCertificate(arg0 interface{}) *gomock.Call
RevokeCertificate indicates an expected call of RevokeCertificate
func (*MockSecurityMockRecorder) RotateCertificate ¶
func (mr *MockSecurityMockRecorder) RotateCertificate(arg0 interface{}) *gomock.Call
RotateCertificate indicates an expected call of RotateCertificate
type MockSync ¶
type MockSync struct {
// contains filtered or unexported fields
}
MockSync is a mock of Sync interface
func NewMockSync ¶
func NewMockSync(ctrl *gomock.Controller) *MockSync
NewMockSync creates a new mock instance
func (*MockSync) EXPECT ¶
func (m *MockSync) EXPECT() *MockSyncMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockSyncMockRecorder ¶
type MockSyncMockRecorder struct {
// contains filtered or unexported fields
}
MockSyncMockRecorder is the mock recorder for MockSync
func (*MockSyncMockRecorder) Close ¶
func (mr *MockSyncMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockSyncMockRecorder) Report ¶
func (mr *MockSyncMockRecorder) Report(arg0 interface{}) *gomock.Call
Report indicates an expected call of Report
func (*MockSyncMockRecorder) Start ¶
func (mr *MockSyncMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockSyncMockRecorder) SyncApps ¶
func (mr *MockSyncMockRecorder) SyncApps(arg0 interface{}) *gomock.Call
SyncApps indicates an expected call of SyncApps
func (*MockSyncMockRecorder) SyncResource ¶
func (mr *MockSyncMockRecorder) SyncResource(arg0 interface{}) *gomock.Call
SyncResource indicates an expected call of SyncResource