Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuilders
- func (c *FakeBuilders) Create(ctx context.Context, builder *v1alpha2.Builder, opts v1.CreateOptions) (result *v1alpha2.Builder, err error)
- func (c *FakeBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Builder, err error)
- func (c *FakeBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.BuilderList, err error)
- func (c *FakeBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.Builder, err error)
- func (c *FakeBuilders) Update(ctx context.Context, builder *v1alpha2.Builder, opts v1.UpdateOptions) (result *v1alpha2.Builder, err error)
- func (c *FakeBuilders) UpdateStatus(ctx context.Context, builder *v1alpha2.Builder, opts v1.UpdateOptions) (*v1alpha2.Builder, error)
- func (c *FakeBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBuildpacks
- func (c *FakeBuildpacks) Create(ctx context.Context, buildpack *v1alpha2.Buildpack, opts v1.CreateOptions) (result *v1alpha2.Buildpack, err error)
- func (c *FakeBuildpacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuildpacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuildpacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Buildpack, err error)
- func (c *FakeBuildpacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.BuildpackList, err error)
- func (c *FakeBuildpacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.Buildpack, err error)
- func (c *FakeBuildpacks) Update(ctx context.Context, buildpack *v1alpha2.Buildpack, opts v1.UpdateOptions) (result *v1alpha2.Buildpack, err error)
- func (c *FakeBuildpacks) UpdateStatus(ctx context.Context, buildpack *v1alpha2.Buildpack, opts v1.UpdateOptions) (*v1alpha2.Buildpack, error)
- func (c *FakeBuildpacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBuilds
- func (c *FakeBuilds) Create(ctx context.Context, build *v1alpha2.Build, opts v1.CreateOptions) (result *v1alpha2.Build, err error)
- func (c *FakeBuilds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBuilds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBuilds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Build, err error)
- func (c *FakeBuilds) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.BuildList, err error)
- func (c *FakeBuilds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.Build, err error)
- func (c *FakeBuilds) Update(ctx context.Context, build *v1alpha2.Build, opts v1.UpdateOptions) (result *v1alpha2.Build, err error)
- func (c *FakeBuilds) UpdateStatus(ctx context.Context, build *v1alpha2.Build, opts v1.UpdateOptions) (*v1alpha2.Build, error)
- func (c *FakeBuilds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterBuilders
- func (c *FakeClusterBuilders) Create(ctx context.Context, clusterBuilder *v1alpha2.ClusterBuilder, ...) (result *v1alpha2.ClusterBuilder, err error)
- func (c *FakeClusterBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterBuilder, err error)
- func (c *FakeClusterBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterBuilderList, err error)
- func (c *FakeClusterBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterBuilder, err error)
- func (c *FakeClusterBuilders) Update(ctx context.Context, clusterBuilder *v1alpha2.ClusterBuilder, ...) (result *v1alpha2.ClusterBuilder, err error)
- func (c *FakeClusterBuilders) UpdateStatus(ctx context.Context, clusterBuilder *v1alpha2.ClusterBuilder, ...) (*v1alpha2.ClusterBuilder, error)
- func (c *FakeClusterBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterBuildpacks
- func (c *FakeClusterBuildpacks) Create(ctx context.Context, clusterBuildpack *v1alpha2.ClusterBuildpack, ...) (result *v1alpha2.ClusterBuildpack, err error)
- func (c *FakeClusterBuildpacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterBuildpacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterBuildpacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterBuildpack, err error)
- func (c *FakeClusterBuildpacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterBuildpackList, err error)
- func (c *FakeClusterBuildpacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterBuildpack, err error)
- func (c *FakeClusterBuildpacks) Update(ctx context.Context, clusterBuildpack *v1alpha2.ClusterBuildpack, ...) (result *v1alpha2.ClusterBuildpack, err error)
- func (c *FakeClusterBuildpacks) UpdateStatus(ctx context.Context, clusterBuildpack *v1alpha2.ClusterBuildpack, ...) (*v1alpha2.ClusterBuildpack, error)
- func (c *FakeClusterBuildpacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterStacks
- func (c *FakeClusterStacks) Create(ctx context.Context, clusterStack *v1alpha2.ClusterStack, ...) (result *v1alpha2.ClusterStack, err error)
- func (c *FakeClusterStacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterStacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterStacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterStack, err error)
- func (c *FakeClusterStacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterStackList, err error)
- func (c *FakeClusterStacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterStack, err error)
- func (c *FakeClusterStacks) Update(ctx context.Context, clusterStack *v1alpha2.ClusterStack, ...) (result *v1alpha2.ClusterStack, err error)
- func (c *FakeClusterStacks) UpdateStatus(ctx context.Context, clusterStack *v1alpha2.ClusterStack, ...) (*v1alpha2.ClusterStack, error)
- func (c *FakeClusterStacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterStores
- func (c *FakeClusterStores) Create(ctx context.Context, clusterStore *v1alpha2.ClusterStore, ...) (result *v1alpha2.ClusterStore, err error)
- func (c *FakeClusterStores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterStores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterStores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterStore, err error)
- func (c *FakeClusterStores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterStoreList, err error)
- func (c *FakeClusterStores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.ClusterStore, err error)
- func (c *FakeClusterStores) Update(ctx context.Context, clusterStore *v1alpha2.ClusterStore, ...) (result *v1alpha2.ClusterStore, err error)
- func (c *FakeClusterStores) UpdateStatus(ctx context.Context, clusterStore *v1alpha2.ClusterStore, ...) (*v1alpha2.ClusterStore, error)
- func (c *FakeClusterStores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeImages
- func (c *FakeImages) Create(ctx context.Context, image *v1alpha2.Image, opts v1.CreateOptions) (result *v1alpha2.Image, err error)
- func (c *FakeImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Image, err error)
- func (c *FakeImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ImageList, err error)
- func (c *FakeImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.Image, err error)
- func (c *FakeImages) Update(ctx context.Context, image *v1alpha2.Image, opts v1.UpdateOptions) (result *v1alpha2.Image, err error)
- func (c *FakeImages) UpdateStatus(ctx context.Context, image *v1alpha2.Image, opts v1.UpdateOptions) (*v1alpha2.Image, error)
- func (c *FakeImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKpackV1alpha2
- func (c *FakeKpackV1alpha2) Builders(namespace string) v1alpha2.BuilderInterface
- func (c *FakeKpackV1alpha2) Buildpacks(namespace string) v1alpha2.BuildpackInterface
- func (c *FakeKpackV1alpha2) Builds(namespace string) v1alpha2.BuildInterface
- func (c *FakeKpackV1alpha2) ClusterBuilders() v1alpha2.ClusterBuilderInterface
- func (c *FakeKpackV1alpha2) ClusterBuildpacks() v1alpha2.ClusterBuildpackInterface
- func (c *FakeKpackV1alpha2) ClusterStacks() v1alpha2.ClusterStackInterface
- func (c *FakeKpackV1alpha2) ClusterStores() v1alpha2.ClusterStoreInterface
- func (c *FakeKpackV1alpha2) Images(namespace string) v1alpha2.ImageInterface
- func (c *FakeKpackV1alpha2) RESTClient() rest.Interface
- func (c *FakeKpackV1alpha2) SourceResolvers(namespace string) v1alpha2.SourceResolverInterface
- type FakeSourceResolvers
- func (c *FakeSourceResolvers) Create(ctx context.Context, sourceResolver *v1alpha2.SourceResolver, ...) (result *v1alpha2.SourceResolver, err error)
- func (c *FakeSourceResolvers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSourceResolvers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSourceResolvers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.SourceResolver, err error)
- func (c *FakeSourceResolvers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.SourceResolverList, err error)
- func (c *FakeSourceResolvers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha2.SourceResolver, err error)
- func (c *FakeSourceResolvers) Update(ctx context.Context, sourceResolver *v1alpha2.SourceResolver, ...) (result *v1alpha2.SourceResolver, err error)
- func (c *FakeSourceResolvers) UpdateStatus(ctx context.Context, sourceResolver *v1alpha2.SourceResolver, ...) (*v1alpha2.SourceResolver, error)
- func (c *FakeSourceResolvers) 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 FakeBuilders ¶
type FakeBuilders struct { Fake *FakeKpackV1alpha2 // contains filtered or unexported fields }
FakeBuilders implements BuilderInterface
func (*FakeBuilders) Create ¶
func (c *FakeBuilders) Create(ctx context.Context, builder *v1alpha2.Builder, opts v1.CreateOptions) (result *v1alpha2.Builder, err error)
Create takes the representation of a builder and creates it. Returns the server's representation of the builder, and an error, if there is any.
func (*FakeBuilders) Delete ¶
func (c *FakeBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the builder and deletes it. Returns an error if one occurs.
func (*FakeBuilders) DeleteCollection ¶
func (c *FakeBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilders) Get ¶
func (c *FakeBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Builder, err error)
Get takes name of the builder, and returns the corresponding builder object, and an error if there is any.
func (*FakeBuilders) List ¶
func (c *FakeBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.BuilderList, err error)
List takes label and field selectors, and returns the list of Builders that match those selectors.
func (*FakeBuilders) Patch ¶
func (c *FakeBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.Builder, err error)
Patch applies the patch and returns the patched builder.
func (*FakeBuilders) Update ¶
func (c *FakeBuilders) Update(ctx context.Context, builder *v1alpha2.Builder, opts v1.UpdateOptions) (result *v1alpha2.Builder, err error)
Update takes the representation of a builder and updates it. Returns the server's representation of the builder, and an error, if there is any.
func (*FakeBuilders) UpdateStatus ¶
func (c *FakeBuilders) UpdateStatus(ctx context.Context, builder *v1alpha2.Builder, opts v1.UpdateOptions) (*v1alpha2.Builder, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuilders) Watch ¶
func (c *FakeBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builders.
type FakeBuildpacks ¶
type FakeBuildpacks struct { Fake *FakeKpackV1alpha2 // contains filtered or unexported fields }
FakeBuildpacks implements BuildpackInterface
func (*FakeBuildpacks) Create ¶
func (c *FakeBuildpacks) Create(ctx context.Context, buildpack *v1alpha2.Buildpack, opts v1.CreateOptions) (result *v1alpha2.Buildpack, err error)
Create takes the representation of a buildpack and creates it. Returns the server's representation of the buildpack, and an error, if there is any.
func (*FakeBuildpacks) Delete ¶
func (c *FakeBuildpacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the buildpack and deletes it. Returns an error if one occurs.
func (*FakeBuildpacks) DeleteCollection ¶
func (c *FakeBuildpacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuildpacks) Get ¶
func (c *FakeBuildpacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Buildpack, err error)
Get takes name of the buildpack, and returns the corresponding buildpack object, and an error if there is any.
func (*FakeBuildpacks) List ¶
func (c *FakeBuildpacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.BuildpackList, err error)
List takes label and field selectors, and returns the list of Buildpacks that match those selectors.
func (*FakeBuildpacks) Patch ¶
func (c *FakeBuildpacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.Buildpack, err error)
Patch applies the patch and returns the patched buildpack.
func (*FakeBuildpacks) Update ¶
func (c *FakeBuildpacks) Update(ctx context.Context, buildpack *v1alpha2.Buildpack, opts v1.UpdateOptions) (result *v1alpha2.Buildpack, err error)
Update takes the representation of a buildpack and updates it. Returns the server's representation of the buildpack, and an error, if there is any.
func (*FakeBuildpacks) UpdateStatus ¶
func (c *FakeBuildpacks) UpdateStatus(ctx context.Context, buildpack *v1alpha2.Buildpack, opts v1.UpdateOptions) (*v1alpha2.Buildpack, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeBuildpacks) Watch ¶
func (c *FakeBuildpacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested buildpacks.
type FakeBuilds ¶
type FakeBuilds struct { Fake *FakeKpackV1alpha2 // contains filtered or unexported fields }
FakeBuilds implements BuildInterface
func (*FakeBuilds) Create ¶
func (c *FakeBuilds) Create(ctx context.Context, build *v1alpha2.Build, opts v1.CreateOptions) (result *v1alpha2.Build, err error)
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(ctx context.Context, name string, opts 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(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuilds) Get ¶
func (c *FakeBuilds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.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(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.Build, err error)
Patch applies the patch and returns the patched build.
func (*FakeBuilds) Update ¶
func (c *FakeBuilds) Update(ctx context.Context, build *v1alpha2.Build, opts v1.UpdateOptions) (result *v1alpha2.Build, err error)
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 ¶
func (c *FakeBuilds) UpdateStatus(ctx context.Context, build *v1alpha2.Build, opts v1.UpdateOptions) (*v1alpha2.Build, error)
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(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested builds.
type FakeClusterBuilders ¶
type FakeClusterBuilders struct {
Fake *FakeKpackV1alpha2
}
FakeClusterBuilders implements ClusterBuilderInterface
func (*FakeClusterBuilders) Create ¶
func (c *FakeClusterBuilders) Create(ctx context.Context, clusterBuilder *v1alpha2.ClusterBuilder, opts v1.CreateOptions) (result *v1alpha2.ClusterBuilder, err error)
Create takes the representation of a clusterBuilder and creates it. Returns the server's representation of the clusterBuilder, and an error, if there is any.
func (*FakeClusterBuilders) Delete ¶
func (c *FakeClusterBuilders) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterBuilder and deletes it. Returns an error if one occurs.
func (*FakeClusterBuilders) DeleteCollection ¶
func (c *FakeClusterBuilders) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterBuilders) Get ¶
func (c *FakeClusterBuilders) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterBuilder, err error)
Get takes name of the clusterBuilder, and returns the corresponding clusterBuilder object, and an error if there is any.
func (*FakeClusterBuilders) List ¶
func (c *FakeClusterBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterBuilderList, err error)
List takes label and field selectors, and returns the list of ClusterBuilders that match those selectors.
func (*FakeClusterBuilders) Patch ¶
func (c *FakeClusterBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterBuilder, err error)
Patch applies the patch and returns the patched clusterBuilder.
func (*FakeClusterBuilders) Update ¶
func (c *FakeClusterBuilders) Update(ctx context.Context, clusterBuilder *v1alpha2.ClusterBuilder, opts v1.UpdateOptions) (result *v1alpha2.ClusterBuilder, err error)
Update takes the representation of a clusterBuilder and updates it. Returns the server's representation of the clusterBuilder, and an error, if there is any.
func (*FakeClusterBuilders) UpdateStatus ¶
func (c *FakeClusterBuilders) UpdateStatus(ctx context.Context, clusterBuilder *v1alpha2.ClusterBuilder, opts v1.UpdateOptions) (*v1alpha2.ClusterBuilder, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterBuilders) Watch ¶
func (c *FakeClusterBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterBuilders.
type FakeClusterBuildpacks ¶
type FakeClusterBuildpacks struct {
Fake *FakeKpackV1alpha2
}
FakeClusterBuildpacks implements ClusterBuildpackInterface
func (*FakeClusterBuildpacks) Create ¶
func (c *FakeClusterBuildpacks) Create(ctx context.Context, clusterBuildpack *v1alpha2.ClusterBuildpack, opts v1.CreateOptions) (result *v1alpha2.ClusterBuildpack, err error)
Create takes the representation of a clusterBuildpack and creates it. Returns the server's representation of the clusterBuildpack, and an error, if there is any.
func (*FakeClusterBuildpacks) Delete ¶
func (c *FakeClusterBuildpacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterBuildpack and deletes it. Returns an error if one occurs.
func (*FakeClusterBuildpacks) DeleteCollection ¶
func (c *FakeClusterBuildpacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterBuildpacks) Get ¶
func (c *FakeClusterBuildpacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterBuildpack, err error)
Get takes name of the clusterBuildpack, and returns the corresponding clusterBuildpack object, and an error if there is any.
func (*FakeClusterBuildpacks) List ¶
func (c *FakeClusterBuildpacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterBuildpackList, err error)
List takes label and field selectors, and returns the list of ClusterBuildpacks that match those selectors.
func (*FakeClusterBuildpacks) Patch ¶
func (c *FakeClusterBuildpacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterBuildpack, err error)
Patch applies the patch and returns the patched clusterBuildpack.
func (*FakeClusterBuildpacks) Update ¶
func (c *FakeClusterBuildpacks) Update(ctx context.Context, clusterBuildpack *v1alpha2.ClusterBuildpack, opts v1.UpdateOptions) (result *v1alpha2.ClusterBuildpack, err error)
Update takes the representation of a clusterBuildpack and updates it. Returns the server's representation of the clusterBuildpack, and an error, if there is any.
func (*FakeClusterBuildpacks) UpdateStatus ¶
func (c *FakeClusterBuildpacks) UpdateStatus(ctx context.Context, clusterBuildpack *v1alpha2.ClusterBuildpack, opts v1.UpdateOptions) (*v1alpha2.ClusterBuildpack, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterBuildpacks) Watch ¶
func (c *FakeClusterBuildpacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterBuildpacks.
type FakeClusterStacks ¶
type FakeClusterStacks struct {
Fake *FakeKpackV1alpha2
}
FakeClusterStacks implements ClusterStackInterface
func (*FakeClusterStacks) Create ¶
func (c *FakeClusterStacks) Create(ctx context.Context, clusterStack *v1alpha2.ClusterStack, opts v1.CreateOptions) (result *v1alpha2.ClusterStack, err error)
Create takes the representation of a clusterStack and creates it. Returns the server's representation of the clusterStack, and an error, if there is any.
func (*FakeClusterStacks) Delete ¶
func (c *FakeClusterStacks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterStack and deletes it. Returns an error if one occurs.
func (*FakeClusterStacks) DeleteCollection ¶
func (c *FakeClusterStacks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterStacks) Get ¶
func (c *FakeClusterStacks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterStack, err error)
Get takes name of the clusterStack, and returns the corresponding clusterStack object, and an error if there is any.
func (*FakeClusterStacks) List ¶
func (c *FakeClusterStacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterStackList, err error)
List takes label and field selectors, and returns the list of ClusterStacks that match those selectors.
func (*FakeClusterStacks) Patch ¶
func (c *FakeClusterStacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterStack, err error)
Patch applies the patch and returns the patched clusterStack.
func (*FakeClusterStacks) Update ¶
func (c *FakeClusterStacks) Update(ctx context.Context, clusterStack *v1alpha2.ClusterStack, opts v1.UpdateOptions) (result *v1alpha2.ClusterStack, err error)
Update takes the representation of a clusterStack and updates it. Returns the server's representation of the clusterStack, and an error, if there is any.
func (*FakeClusterStacks) UpdateStatus ¶
func (c *FakeClusterStacks) UpdateStatus(ctx context.Context, clusterStack *v1alpha2.ClusterStack, opts v1.UpdateOptions) (*v1alpha2.ClusterStack, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterStacks) Watch ¶
func (c *FakeClusterStacks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterStacks.
type FakeClusterStores ¶
type FakeClusterStores struct {
Fake *FakeKpackV1alpha2
}
FakeClusterStores implements ClusterStoreInterface
func (*FakeClusterStores) Create ¶
func (c *FakeClusterStores) Create(ctx context.Context, clusterStore *v1alpha2.ClusterStore, opts v1.CreateOptions) (result *v1alpha2.ClusterStore, err error)
Create takes the representation of a clusterStore and creates it. Returns the server's representation of the clusterStore, and an error, if there is any.
func (*FakeClusterStores) Delete ¶
func (c *FakeClusterStores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterStore and deletes it. Returns an error if one occurs.
func (*FakeClusterStores) DeleteCollection ¶
func (c *FakeClusterStores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterStores) Get ¶
func (c *FakeClusterStores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.ClusterStore, err error)
Get takes name of the clusterStore, and returns the corresponding clusterStore object, and an error if there is any.
func (*FakeClusterStores) List ¶
func (c *FakeClusterStores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ClusterStoreList, err error)
List takes label and field selectors, and returns the list of ClusterStores that match those selectors.
func (*FakeClusterStores) Patch ¶
func (c *FakeClusterStores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.ClusterStore, err error)
Patch applies the patch and returns the patched clusterStore.
func (*FakeClusterStores) Update ¶
func (c *FakeClusterStores) Update(ctx context.Context, clusterStore *v1alpha2.ClusterStore, opts v1.UpdateOptions) (result *v1alpha2.ClusterStore, err error)
Update takes the representation of a clusterStore and updates it. Returns the server's representation of the clusterStore, and an error, if there is any.
func (*FakeClusterStores) UpdateStatus ¶
func (c *FakeClusterStores) UpdateStatus(ctx context.Context, clusterStore *v1alpha2.ClusterStore, opts v1.UpdateOptions) (*v1alpha2.ClusterStore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterStores) Watch ¶
func (c *FakeClusterStores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterStores.
type FakeImages ¶
type FakeImages struct { Fake *FakeKpackV1alpha2 // contains filtered or unexported fields }
FakeImages implements ImageInterface
func (*FakeImages) Create ¶
func (c *FakeImages) Create(ctx context.Context, image *v1alpha2.Image, opts v1.CreateOptions) (result *v1alpha2.Image, err error)
Create takes the representation of a image and creates it. Returns the server's representation of the image, and an error, if there is any.
func (*FakeImages) Delete ¶
func (c *FakeImages) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the image and deletes it. Returns an error if one occurs.
func (*FakeImages) DeleteCollection ¶
func (c *FakeImages) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImages) Get ¶
func (c *FakeImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.Image, err error)
Get takes name of the image, and returns the corresponding image object, and an error if there is any.
func (*FakeImages) List ¶
func (c *FakeImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.ImageList, err error)
List takes label and field selectors, and returns the list of Images that match those selectors.
func (*FakeImages) Patch ¶
func (c *FakeImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.Image, err error)
Patch applies the patch and returns the patched image.
func (*FakeImages) Update ¶
func (c *FakeImages) Update(ctx context.Context, image *v1alpha2.Image, opts v1.UpdateOptions) (result *v1alpha2.Image, err error)
Update takes the representation of a image and updates it. Returns the server's representation of the image, and an error, if there is any.
func (*FakeImages) UpdateStatus ¶
func (c *FakeImages) UpdateStatus(ctx context.Context, image *v1alpha2.Image, opts v1.UpdateOptions) (*v1alpha2.Image, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImages) Watch ¶
func (c *FakeImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested images.
type FakeKpackV1alpha2 ¶
func (*FakeKpackV1alpha2) Builders ¶
func (c *FakeKpackV1alpha2) Builders(namespace string) v1alpha2.BuilderInterface
func (*FakeKpackV1alpha2) Buildpacks ¶
func (c *FakeKpackV1alpha2) Buildpacks(namespace string) v1alpha2.BuildpackInterface
func (*FakeKpackV1alpha2) Builds ¶
func (c *FakeKpackV1alpha2) Builds(namespace string) v1alpha2.BuildInterface
func (*FakeKpackV1alpha2) ClusterBuilders ¶
func (c *FakeKpackV1alpha2) ClusterBuilders() v1alpha2.ClusterBuilderInterface
func (*FakeKpackV1alpha2) ClusterBuildpacks ¶
func (c *FakeKpackV1alpha2) ClusterBuildpacks() v1alpha2.ClusterBuildpackInterface
func (*FakeKpackV1alpha2) ClusterStacks ¶
func (c *FakeKpackV1alpha2) ClusterStacks() v1alpha2.ClusterStackInterface
func (*FakeKpackV1alpha2) ClusterStores ¶
func (c *FakeKpackV1alpha2) ClusterStores() v1alpha2.ClusterStoreInterface
func (*FakeKpackV1alpha2) Images ¶
func (c *FakeKpackV1alpha2) Images(namespace string) v1alpha2.ImageInterface
func (*FakeKpackV1alpha2) RESTClient ¶
func (c *FakeKpackV1alpha2) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKpackV1alpha2) SourceResolvers ¶
func (c *FakeKpackV1alpha2) SourceResolvers(namespace string) v1alpha2.SourceResolverInterface
type FakeSourceResolvers ¶
type FakeSourceResolvers struct { Fake *FakeKpackV1alpha2 // contains filtered or unexported fields }
FakeSourceResolvers implements SourceResolverInterface
func (*FakeSourceResolvers) Create ¶
func (c *FakeSourceResolvers) Create(ctx context.Context, sourceResolver *v1alpha2.SourceResolver, opts v1.CreateOptions) (result *v1alpha2.SourceResolver, err error)
Create takes the representation of a sourceResolver and creates it. Returns the server's representation of the sourceResolver, and an error, if there is any.
func (*FakeSourceResolvers) Delete ¶
func (c *FakeSourceResolvers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sourceResolver and deletes it. Returns an error if one occurs.
func (*FakeSourceResolvers) DeleteCollection ¶
func (c *FakeSourceResolvers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSourceResolvers) Get ¶
func (c *FakeSourceResolvers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha2.SourceResolver, err error)
Get takes name of the sourceResolver, and returns the corresponding sourceResolver object, and an error if there is any.
func (*FakeSourceResolvers) List ¶
func (c *FakeSourceResolvers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha2.SourceResolverList, err error)
List takes label and field selectors, and returns the list of SourceResolvers that match those selectors.
func (*FakeSourceResolvers) Patch ¶
func (c *FakeSourceResolvers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha2.SourceResolver, err error)
Patch applies the patch and returns the patched sourceResolver.
func (*FakeSourceResolvers) Update ¶
func (c *FakeSourceResolvers) Update(ctx context.Context, sourceResolver *v1alpha2.SourceResolver, opts v1.UpdateOptions) (result *v1alpha2.SourceResolver, err error)
Update takes the representation of a sourceResolver and updates it. Returns the server's representation of the sourceResolver, and an error, if there is any.
func (*FakeSourceResolvers) UpdateStatus ¶
func (c *FakeSourceResolvers) UpdateStatus(ctx context.Context, sourceResolver *v1alpha2.SourceResolver, opts v1.UpdateOptions) (*v1alpha2.SourceResolver, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSourceResolvers) Watch ¶
func (c *FakeSourceResolvers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sourceResolvers.