Documentation ¶
Overview ¶
Package mock_client is a generated GoMock package.
Index ¶
- type API
- type Client
- func (c *Client) BatchGetBuilds(input *codebuild.BatchGetBuildsInput) (*codebuild.BatchGetBuildsOutput, error)
- func (c *Client) ListBuildsForProject(input *codebuild.ListBuildsForProjectInput) (*codebuild.ListBuildsForProjectOutput, error)
- func (c *Client) ListProjects(input *codebuild.ListProjectsInput) (*codebuild.ListProjectsOutput, error)
- type MockAPI
- func (m *MockAPI) BatchGetBuilds(input *codebuild.BatchGetBuildsInput) (*codebuild.BatchGetBuildsOutput, error)
- func (m *MockAPI) EXPECT() *MockAPIMockRecorder
- func (m *MockAPI) ListBuildsForProject(input *codebuild.ListBuildsForProjectInput) (*codebuild.ListBuildsForProjectOutput, error)
- func (m *MockAPI) ListProjects(input *codebuild.ListProjectsInput) (*codebuild.ListProjectsOutput, error)
- type MockAPIMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { BatchGetBuilds(input *codebuild.BatchGetBuildsInput) (*codebuild.BatchGetBuildsOutput, error) ListBuildsForProject(input *codebuild.ListBuildsForProjectInput) (*codebuild.ListBuildsForProjectOutput, error) ListProjects(input *codebuild.ListProjectsInput) (*codebuild.ListProjectsOutput, error) }
API defines the client interface
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the content implementation of the API we are using in the app
func (*Client) BatchGetBuilds ¶
func (c *Client) BatchGetBuilds(input *codebuild.BatchGetBuildsInput) (*codebuild.BatchGetBuildsOutput, error)
BatchGetBuilds will call the same function on the codebuild client
func (*Client) ListBuildsForProject ¶
func (c *Client) ListBuildsForProject(input *codebuild.ListBuildsForProjectInput) (*codebuild.ListBuildsForProjectOutput, error)
ListBuildsForProject will call the same function on the codebuild client
func (*Client) ListProjects ¶
func (c *Client) ListProjects(input *codebuild.ListProjectsInput) (*codebuild.ListProjectsOutput, error)
ListProjects will call the same function on the codebuild client
type MockAPI ¶
type MockAPI struct {
// contains filtered or unexported fields
}
MockAPI is a mock of API interface
func NewMockAPI ¶
func NewMockAPI(ctrl *gomock.Controller) *MockAPI
NewMockAPI creates a new mock instance
func (*MockAPI) BatchGetBuilds ¶
func (m *MockAPI) BatchGetBuilds(input *codebuild.BatchGetBuildsInput) (*codebuild.BatchGetBuildsOutput, error)
BatchGetBuilds mocks base method
func (*MockAPI) EXPECT ¶
func (m *MockAPI) EXPECT() *MockAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPI) ListBuildsForProject ¶
func (m *MockAPI) ListBuildsForProject(input *codebuild.ListBuildsForProjectInput) (*codebuild.ListBuildsForProjectOutput, error)
ListBuildsForProject mocks base method
func (*MockAPI) ListProjects ¶
func (m *MockAPI) ListProjects(input *codebuild.ListProjectsInput) (*codebuild.ListProjectsOutput, error)
ListProjects mocks base method
type MockAPIMockRecorder ¶
type MockAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockAPIMockRecorder is the mock recorder for MockAPI
func (*MockAPIMockRecorder) BatchGetBuilds ¶
func (mr *MockAPIMockRecorder) BatchGetBuilds(input interface{}) *gomock.Call
BatchGetBuilds indicates an expected call of BatchGetBuilds
func (*MockAPIMockRecorder) ListBuildsForProject ¶
func (mr *MockAPIMockRecorder) ListBuildsForProject(input interface{}) *gomock.Call
ListBuildsForProject indicates an expected call of ListBuildsForProject
func (*MockAPIMockRecorder) ListProjects ¶
func (mr *MockAPIMockRecorder) ListProjects(input interface{}) *gomock.Call
ListProjects indicates an expected call of ListProjects