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