mocks

package
v0.0.0-...-046bf89 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockMarathoner

type MockMarathoner struct {
	// contains filtered or unexported fields
}

MockMarathoner is a mock of Marathoner interface

func NewMockMarathoner

func NewMockMarathoner(ctrl *gomock.Controller) *MockMarathoner

NewMockMarathoner returns a MockMarathoner

func (*MockMarathoner) CheckDeployment

func (_m *MockMarathoner) CheckDeployment(deploymentID string) (bool, error)

CheckDeployment ...

func (*MockMarathoner) DeleteDeployment

func (_m *MockMarathoner) DeleteDeployment(deploymentID string) error

DeleteDeployment ...

func (*MockMarathoner) EXPECT

func (_m *MockMarathoner) EXPECT() *_MockMarathonerRecorder

EXPECT ...

func (*MockMarathoner) GetApp

func (_m *MockMarathoner) GetApp(appID string, version string) (go_marathon.Application, error)

GetApp ...

func (*MockMarathoner) LatestVersions

func (_m *MockMarathoner) LatestVersions(appID string, version string) ([]string, error)

LatestVersions ...

func (*MockMarathoner) RestartApp

func (_m *MockMarathoner) RestartApp(appID string) (go_marathon.DeploymentID, error)

RestartApp ...

func (*MockMarathoner) UpdateApp

UpdateApp ...

type Mockdoer

type Mockdoer struct {
	// contains filtered or unexported fields
}

Mockdoer is a mock of doer interface

func NewMockdoer

func NewMockdoer(ctrl *gomock.Controller) *Mockdoer

NewMockdoer returns a Mockdoer

func (*Mockdoer) Do

func (_m *Mockdoer) Do(req *http.Request) (*http.Response, error)

Do ...

func (*Mockdoer) EXPECT

func (_m *Mockdoer) EXPECT() *_MockdoerRecorder

EXPECT ...

Jump to

Keyboard shortcuts

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