mocks

package
v0.0.0-...-ca399ba Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetInfoInterface

type GetInfoInterface struct {
	mock.Mock
}

GetInfoInterface is a mock for Info Interface

func (*GetInfoInterface) GetTokenEndpoint

func (_m *GetInfoInterface) GetTokenEndpoint() (string, error)

GetTokenEndpoint mocks geting the endpoint of the token

type GetTokenInterface

type GetTokenInterface struct {
	mock.Mock
}

GetTokenInterface is a mock for token interface

func (*GetTokenInterface) GetToken

func (_m *GetTokenInterface) GetToken() (string, error)

GetToken mocks GetToken function

type HTTPClient

type HTTPClient struct {
	mock.Mock
}

HTTPClient is a mock http client

func (*HTTPClient) Request

func (_m *HTTPClient) Request(request httpclient.Request) ([]byte, error)

Request is a mock method for Request

type ServicePlanInterface

type ServicePlanInterface struct {
	mock.Mock
}

ServicePlanInterface is a mock method for service plan

func (*ServicePlanInterface) Update

func (_m *ServicePlanInterface) Update(serviceGUID string) error

Update is the update method mock

Jump to

Keyboard shortcuts

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