mockbuild

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInterface

type BuildInterface struct {
	mock.Mock
}

BuildInterface is an autogenerated mock type for the BuildInterface type

func (*BuildInterface) Create

func (_m *BuildInterface) Create(_a0 *v1alpha1.Build) (*v1alpha1.Build, error)

Create provides a mock function with given fields: _a0

func (*BuildInterface) Delete

func (_m *BuildInterface) Delete(name string, options *v1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*BuildInterface) DeleteCollection

func (_m *BuildInterface) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*BuildInterface) Get

func (_m *BuildInterface) Get(name string, options v1.GetOptions) (*v1alpha1.Build, error)

Get provides a mock function with given fields: name, options

func (*BuildInterface) List

func (_m *BuildInterface) List(opts v1.ListOptions) (*v1alpha1.BuildList, error)

List provides a mock function with given fields: opts

func (*BuildInterface) Patch

func (_m *BuildInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1.Build, error)

Patch provides a mock function with given fields: name, pt, data, subresources

func (*BuildInterface) Update

func (_m *BuildInterface) Update(_a0 *v1alpha1.Build) (*v1alpha1.Build, error)

Update provides a mock function with given fields: _a0

func (*BuildInterface) UpdateStatus

func (_m *BuildInterface) UpdateStatus(_a0 *v1alpha1.Build) (*v1alpha1.Build, error)

UpdateStatus provides a mock function with given fields: _a0

func (*BuildInterface) Watch

func (_m *BuildInterface) Watch(opts v1.ListOptions) (watch.Interface, error)

Watch provides a mock function with given fields: opts

type BuildV1alpha1Interface

type BuildV1alpha1Interface struct {
	mock.Mock
}

BuildV1alpha1Interface is an autogenerated mock type for the BuildV1alpha1Interface type

func (*BuildV1alpha1Interface) BuildTemplates

func (_m *BuildV1alpha1Interface) BuildTemplates(namespace string) v1alpha1.BuildTemplateInterface

BuildTemplates provides a mock function with given fields: namespace

func (*BuildV1alpha1Interface) Builds

func (_m *BuildV1alpha1Interface) Builds(namespace string) v1alpha1.BuildInterface

Builds provides a mock function with given fields: namespace

func (*BuildV1alpha1Interface) ClusterBuildTemplates

ClusterBuildTemplates provides a mock function with given fields:

func (*BuildV1alpha1Interface) RESTClient

func (_m *BuildV1alpha1Interface) RESTClient() rest.Interface

RESTClient provides a mock function with given fields:

type ClusterBuildTemplateInterface

type ClusterBuildTemplateInterface struct {
	mock.Mock
}

ClusterBuildTemplateInterface is an autogenerated mock type for the ClusterBuildTemplateInterface type

func (*ClusterBuildTemplateInterface) Create

Create provides a mock function with given fields: _a0

func (*ClusterBuildTemplateInterface) Delete

func (_m *ClusterBuildTemplateInterface) Delete(name string, options *v1.DeleteOptions) error

Delete provides a mock function with given fields: name, options

func (*ClusterBuildTemplateInterface) DeleteCollection

func (_m *ClusterBuildTemplateInterface) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection provides a mock function with given fields: options, listOptions

func (*ClusterBuildTemplateInterface) Get

Get provides a mock function with given fields: name, options

func (*ClusterBuildTemplateInterface) List

List provides a mock function with given fields: opts

func (*ClusterBuildTemplateInterface) Patch

func (_m *ClusterBuildTemplateInterface) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (*v1alpha1.ClusterBuildTemplate, error)

Patch provides a mock function with given fields: name, pt, data, subresources

func (*ClusterBuildTemplateInterface) Update

Update provides a mock function with given fields: _a0

func (*ClusterBuildTemplateInterface) Watch

Watch provides a mock function with given fields: opts

type Interface

type Interface struct {
	mock.Mock
}

Interface is an autogenerated mock type for the Interface type

func (*Interface) Build

Build provides a mock function with given fields:

func (*Interface) BuildV1alpha1

func (_m *Interface) BuildV1alpha1() v1alpha1.BuildV1alpha1Interface

BuildV1alpha1 provides a mock function with given fields:

func (*Interface) Discovery

func (_m *Interface) Discovery() discovery.DiscoveryInterface

Discovery provides a mock function with given fields:

Jump to

Keyboard shortcuts

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