Documentation
¶
Index ¶
- type API
- type MockAPI
- func (m *MockAPI) AddScanSeedById(ctx context.Context, scanID string, request asm.CreateScanSeedRequest) (*asm.NodeResponse, *http.Response, error)
- func (m *MockAPI) GetScanByID(ctx context.Context, scanID string) (*asm.ScanResponse, *http.Response, error)
- func (m *MockAPI) GetScanSeedsById(ctx context.Context, scanID string) ([]asm.SeedsResponseInner, *http.Response, error)
- func (m *MockAPI) GetState(ctx context.Context) (*asm.AuthResponse, *http.Response, error)
- func (m *MockAPI) RemoveScanSeedById(ctx context.Context, scanID string, seedID string) (*http.Response, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface {
GetState(ctx context.Context) (*asm.AuthResponse, *http.Response, error)
GetScanByID(ctx context.Context, scanID string) (*asm.ScanResponse, *http.Response, error)
GetScanSeedsById(ctx context.Context, scanID string) ([]asm.SeedsResponseInner, *http.Response, error)
AddScanSeedById(ctx context.Context, scanID string, request asm.CreateScanSeedRequest) (*asm.NodeResponse, *http.Response, error)
RemoveScanSeedById(ctx context.Context, scanID string, seedID string) (*http.Response, error)
}
func NewMockAPI ¶
type MockAPI ¶
func (*MockAPI) AddScanSeedById ¶
func (*MockAPI) GetScanByID ¶
func (*MockAPI) GetScanSeedsById ¶
Click to show internal directories.
Click to hide internal directories.