Documentation ¶
Index ¶
- type Client
- func (_m *Client) BuildFunction(builder core.Builder, options core.BuildFunctionOptions, log io.Writer) error
- func (_m *Client) CreateChannel(options core.CreateChannelOptions) (*v1alpha1.Channel, error)
- func (_m *Client) CreateFunction(builder core.Builder, options core.CreateFunctionOptions, log io.Writer) (*servingv1alpha1.Service, *servingv1alpha1.Revision, *v1.PersistentVolumeClaim, ...)
- func (_m *Client) CreateService(options core.CreateOrUpdateServiceOptions) (*servingv1alpha1.Service, error)
- func (_m *Client) CreateSubscription(options core.CreateSubscriptionOptions) (*v1alpha1.Subscription, error)
- func (_m *Client) DefaultBuildImagePrefix(namespace string) (string, error)
- func (_m *Client) DeleteChannel(options core.DeleteChannelOptions) error
- func (_m *Client) DeleteService(options core.DeleteServiceOptions) error
- func (_m *Client) DeleteSubscription(options core.DeleteSubscriptionOptions) error
- func (_m *Client) FetchPackConfig() (*core.PackConfig, error)
- func (_m *Client) ListChannels(options core.ListChannelOptions) (*v1alpha1.ChannelList, error)
- func (_m *Client) ListServices(options core.ListServiceOptions) (*servingv1alpha1.ServiceList, error)
- func (_m *Client) ListSubscriptions(options core.ListSubscriptionsOptions) (*v1alpha1.SubscriptionList, error)
- func (_m *Client) NamespaceCleanup(options core.NamespaceCleanupOptions) error
- func (_m *Client) NamespaceInit(manifests map[string]*core.Manifest, options core.NamespaceInitOptions) error
- func (_m *Client) ServiceCoordinates(options core.ServiceInvokeOptions) (string, string, error)
- func (_m *Client) ServiceStatus(options core.ServiceStatusOptions) (*duckv1alpha1.Condition, error)
- func (_m *Client) SetDefaultBuildImagePrefix(namespace string, prefix string) error
- func (_m *Client) SystemInstall(manifests map[string]*core.Manifest, options core.SystemInstallOptions) (bool, error)
- func (_m *Client) SystemUninstall(options core.SystemUninstallOptions) (bool, error)
- func (_m *Client) UpdateFunction(builder core.Builder, options core.UpdateFunctionOptions, log io.Writer) error
- func (_m *Client) UpdateService(options core.CreateOrUpdateServiceOptions) (*servingv1alpha1.Service, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
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 ¶
CreateChannel provides a mock function with given fields: options
func (*Client) CreateFunction ¶
func (_m *Client) CreateFunction(builder core.Builder, options core.CreateFunctionOptions, log io.Writer) (*servingv1alpha1.Service, *servingv1alpha1.Revision, *v1.PersistentVolumeClaim, error)
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
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 ¶
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
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