mocks

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func (*Client) CreateChannel

func (_m *Client) CreateChannel(options core.CreateChannelOptions) (*v1alpha1.Channel, error)

CreateChannel provides a mock function with given fields: options

func (*Client) CreateFunction

func (_m *Client) CreateFunction(options core.CreateFunctionOptions, log io.Writer) (*servingv1alpha1.Service, error)

CreateFunction provides a mock function with given fields: options, log

func (*Client) CreateService

func (_m *Client) CreateService(options core.CreateOrUpdateServiceOptions) (*servingv1alpha1.Service, error)

CreateService provides a mock function with given fields: options

func (*Client) CreateSubscription

func (_m *Client) CreateSubscription(options core.CreateSubscriptionOptions) (*v1alpha1.Subscription, error)

CreateSubscription provides a mock function with given fields: options

func (*Client) DeleteChannel

func (_m *Client) DeleteChannel(options core.DeleteChannelOptions) error

DeleteChannel provides a mock function with given fields: options

func (*Client) DeleteService

func (_m *Client) DeleteService(options core.DeleteServiceOptions) error

DeleteService provides a mock function with given fields: options

func (*Client) DeleteSubscription added in v0.1.3

func (_m *Client) DeleteSubscription(options core.DeleteSubscriptionOptions) error

DeleteSubscription provides a mock function with given fields: options

func (*Client) ListChannels

func (_m *Client) ListChannels(options core.ListChannelOptions) (*v1alpha1.ChannelList, error)

ListChannels provides a mock function with given fields: options

func (*Client) ListServices

func (_m *Client) ListServices(options core.ListServiceOptions) (*servingv1alpha1.ServiceList, error)

ListServices provides a mock function with given fields: options

func (*Client) ListSubscriptions added in v0.1.3

func (_m *Client) ListSubscriptions(options core.ListSubscriptionsOptions) (*v1alpha1.SubscriptionList, error)

ListSubscriptions provides a mock function with given fields: options

func (*Client) ServiceCoordinates

func (_m *Client) ServiceCoordinates(options core.ServiceInvokeOptions) (string, string, error)

ServiceCoordinates provides a mock function with given fields: options

func (*Client) ServiceStatus

func (_m *Client) ServiceStatus(options core.ServiceStatusOptions) (*servingv1alpha1.ServiceCondition, error)

ServiceStatus provides a mock function with given fields: options

func (*Client) UpdateFunction added in v0.2.0

func (_m *Client) UpdateFunction(options core.UpdateFunctionOptions, log io.Writer) error

UpdateFunction provides a mock function with given fields: options, log

func (*Client) UpdateService added in v0.2.0

func (_m *Client) UpdateService(options core.CreateOrUpdateServiceOptions) (*servingv1alpha1.Service, error)

UpdateService provides a mock function with given fields: options

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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