client

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 20, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_client is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

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 NewClient

func NewClient() Client

NewClient will return a internal codebuild client.

func (*Client) BatchGetBuilds

BatchGetBuilds will call the same function on the codebuild client

func (*Client) ListBuildsForProject

ListBuildsForProject will call the same function on the codebuild client

func (*Client) ListProjects

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

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

ListBuildsForProject mocks base method

func (*MockAPI) ListProjects

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL