Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuilds
- func (c *FakeBuilds) Create(build *v1alpha1.Build) (result *v1alpha1.Build, err error)
- func (c *FakeBuilds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuilds) Get(name string, options v1.GetOptions) (result *v1alpha1.Build, err error)
- func (c *FakeBuilds) List(opts v1.ListOptions) (result *v1alpha1.BuildList, err error)
- func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Build, err error)
- func (c *FakeBuilds) Update(build *v1alpha1.Build) (result *v1alpha1.Build, err error)
- func (c *FakeBuilds) UpdateStatus(build *v1alpha1.Build) (*v1alpha1.Build, error)
- func (c *FakeBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTestingV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBuilds ¶
type FakeBuilds struct { Fake *FakeTestingV1alpha1 // contains filtered or unexported fields }
FakeBuilds implements BuildInterface
func (*FakeBuilds) Create ¶
Create takes the representation of a build and creates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) Delete ¶
func (c *FakeBuilds) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the build and deletes it. Returns an error if one occurs.
func (*FakeBuilds) DeleteCollection ¶
func (c *FakeBuilds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilds) Get ¶
func (c *FakeBuilds) Get(name string, options v1.GetOptions) (result *v1alpha1.Build, err error)
Get takes name of the build, and returns the corresponding build object, and an error if there is any.
func (*FakeBuilds) List ¶
func (c *FakeBuilds) List(opts v1.ListOptions) (result *v1alpha1.BuildList, err error)
List takes label and field selectors, and returns the list of Builds that match those selectors.
func (*FakeBuilds) Patch ¶
func (c *FakeBuilds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Build, err error)
Patch applies the patch and returns the patched build.
func (*FakeBuilds) Update ¶
Update takes the representation of a build and updates it. Returns the server's representation of the build, and an error, if there is any.
func (*FakeBuilds) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuilds) Watch ¶
func (c *FakeBuilds) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.
type FakeTestingV1alpha1 ¶
func (*FakeTestingV1alpha1) Builds ¶
func (c *FakeTestingV1alpha1) Builds(namespace string) v1alpha1.BuildInterface
func (*FakeTestingV1alpha1) RESTClient ¶
func (c *FakeTestingV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.