mocks

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 20, 2019 License: Apache-2.0 Imports: 7 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) BuildFunction added in v0.1.2

func (_m *Client) BuildFunction(builder core.Builder, options core.BuildFunctionOptions, log io.Writer) error

BuildFunction provides a mock function with given fields: builder, options, log

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

CreateFunction provides a mock function with given fields: builder, 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) DefaultBuildImagePrefix added in v0.3.0

func (_m *Client) DefaultBuildImagePrefix(namespace string) (string, error)

DefaultBuildImagePrefix provides a mock function with given fields: namespace

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) FetchPackConfig added in v0.3.0

func (_m *Client) FetchPackConfig() (*core.PackConfig, error)

FetchPackConfig provides a mock function with given fields:

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) NamespaceCleanup added in v0.3.0

func (_m *Client) NamespaceCleanup(options core.NamespaceCleanupOptions) error

NamespaceCleanup provides a mock function with given fields: options

func (*Client) NamespaceInit added in v0.3.0

func (_m *Client) NamespaceInit(manifests map[string]*core.Manifest, options core.NamespaceInitOptions) error

NamespaceInit provides a mock function with given fields: manifests, 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) (*duckv1alpha1.Condition, error)

ServiceStatus provides a mock function with given fields: options

func (*Client) SetDefaultBuildImagePrefix added in v0.3.0

func (_m *Client) SetDefaultBuildImagePrefix(namespace string, prefix string) error

SetDefaultBuildImagePrefix provides a mock function with given fields: namespace, prefix

func (*Client) SystemInstall added in v0.3.0

func (_m *Client) SystemInstall(manifests map[string]*core.Manifest, options core.SystemInstallOptions) (bool, error)

SystemInstall provides a mock function with given fields: manifests, options

func (*Client) SystemUninstall added in v0.3.0

func (_m *Client) SystemUninstall(options core.SystemUninstallOptions) (bool, error)

SystemUninstall provides a mock function with given fields: options

func (*Client) UpdateFunction added in v0.2.0

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

UpdateFunction provides a mock function with given fields: builder, 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