Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBuilders
- func (c *FakeBuilders) Create(ctx context.Context, builder *v1alpha1.Builder, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.Builder, err error)
- func (c *FakeBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BuilderList, err error)
- func (c *FakeBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Builder, err error)
- func (c *FakeBuilders) Update(ctx context.Context, builder *v1alpha1.Builder, opts v1.UpdateOptions) (result *v1alpha1.Builder, err error)
- func (c *FakeBuilders) UpdateStatus(ctx context.Context, builder *v1alpha1.Builder, opts v1.UpdateOptions) (*v1alpha1.Builder, error)
- func (c *FakeBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBuilds
- func (c *FakeBuilds) Create(ctx context.Context, build *v1alpha1.Build, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.Build, err error)
- func (c *FakeBuilds) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BuildList, err error)
- func (c *FakeBuilds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Build, err error)
- func (c *FakeBuilds) Update(ctx context.Context, build *v1alpha1.Build, opts v1.UpdateOptions) (result *v1alpha1.Build, err error)
- func (c *FakeBuilds) UpdateStatus(ctx context.Context, build *v1alpha1.Build, opts v1.UpdateOptions) (*v1alpha1.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 *v1alpha1.ClusterBuilder, ...) (result *v1alpha1.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 *v1alpha1.ClusterBuilder, err error)
- func (c *FakeClusterBuilders) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterBuilderList, err error)
- func (c *FakeClusterBuilders) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterBuilder, err error)
- func (c *FakeClusterBuilders) Update(ctx context.Context, clusterBuilder *v1alpha1.ClusterBuilder, ...) (result *v1alpha1.ClusterBuilder, err error)
- func (c *FakeClusterBuilders) UpdateStatus(ctx context.Context, clusterBuilder *v1alpha1.ClusterBuilder, ...) (*v1alpha1.ClusterBuilder, error)
- func (c *FakeClusterBuilders) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterStacks
- func (c *FakeClusterStacks) Create(ctx context.Context, clusterStack *v1alpha1.ClusterStack, ...) (result *v1alpha1.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 *v1alpha1.ClusterStack, err error)
- func (c *FakeClusterStacks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterStackList, err error)
- func (c *FakeClusterStacks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterStack, err error)
- func (c *FakeClusterStacks) Update(ctx context.Context, clusterStack *v1alpha1.ClusterStack, ...) (result *v1alpha1.ClusterStack, err error)
- func (c *FakeClusterStacks) UpdateStatus(ctx context.Context, clusterStack *v1alpha1.ClusterStack, ...) (*v1alpha1.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 *v1alpha1.ClusterStore, ...) (result *v1alpha1.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 *v1alpha1.ClusterStore, err error)
- func (c *FakeClusterStores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterStoreList, err error)
- func (c *FakeClusterStores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterStore, err error)
- func (c *FakeClusterStores) Update(ctx context.Context, clusterStore *v1alpha1.ClusterStore, ...) (result *v1alpha1.ClusterStore, err error)
- func (c *FakeClusterStores) UpdateStatus(ctx context.Context, clusterStore *v1alpha1.ClusterStore, ...) (*v1alpha1.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 *v1alpha1.Image, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.Image, err error)
- func (c *FakeImages) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ImageList, err error)
- func (c *FakeImages) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Image, err error)
- func (c *FakeImages) Update(ctx context.Context, image *v1alpha1.Image, opts v1.UpdateOptions) (result *v1alpha1.Image, err error)
- func (c *FakeImages) UpdateStatus(ctx context.Context, image *v1alpha1.Image, opts v1.UpdateOptions) (*v1alpha1.Image, error)
- func (c *FakeImages) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKpackV1alpha1
- func (c *FakeKpackV1alpha1) Builders(namespace string) v1alpha1.BuilderInterface
- func (c *FakeKpackV1alpha1) Builds(namespace string) v1alpha1.BuildInterface
- func (c *FakeKpackV1alpha1) ClusterBuilders() v1alpha1.ClusterBuilderInterface
- func (c *FakeKpackV1alpha1) ClusterStacks() v1alpha1.ClusterStackInterface
- func (c *FakeKpackV1alpha1) ClusterStores() v1alpha1.ClusterStoreInterface
- func (c *FakeKpackV1alpha1) Images(namespace string) v1alpha1.ImageInterface
- func (c *FakeKpackV1alpha1) RESTClient() rest.Interface
- func (c *FakeKpackV1alpha1) SourceResolvers(namespace string) v1alpha1.SourceResolverInterface
- type FakeSourceResolvers
- func (c *FakeSourceResolvers) Create(ctx context.Context, sourceResolver *v1alpha1.SourceResolver, ...) (result *v1alpha1.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 *v1alpha1.SourceResolver, err error)
- func (c *FakeSourceResolvers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SourceResolverList, err error)
- func (c *FakeSourceResolvers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SourceResolver, err error)
- func (c *FakeSourceResolvers) Update(ctx context.Context, sourceResolver *v1alpha1.SourceResolver, ...) (result *v1alpha1.SourceResolver, err error)
- func (c *FakeSourceResolvers) UpdateStatus(ctx context.Context, sourceResolver *v1alpha1.SourceResolver, ...) (*v1alpha1.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 *FakeKpackV1alpha1 // contains filtered or unexported fields }
FakeBuilders implements BuilderInterface
func (*FakeBuilders) Create ¶
func (c *FakeBuilders) Create(ctx context.Context, builder *v1alpha1.Builder, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.Builder, err error)
Patch applies the patch and returns the patched builder.
func (*FakeBuilders) Update ¶
func (c *FakeBuilders) Update(ctx context.Context, builder *v1alpha1.Builder, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.Builder, opts v1.UpdateOptions) (*v1alpha1.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 FakeBuilds ¶
type FakeBuilds struct { Fake *FakeKpackV1alpha1 // contains filtered or unexported fields }
FakeBuilds implements BuildInterface
func (*FakeBuilds) Create ¶
func (c *FakeBuilds) Create(ctx context.Context, build *v1alpha1.Build, opts v1.CreateOptions) (result *v1alpha1.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 *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(ctx context.Context, 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(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Build, err error)
Patch applies the patch and returns the patched build.
func (*FakeBuilds) Update ¶
func (c *FakeBuilds) Update(ctx context.Context, build *v1alpha1.Build, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.Build, opts v1.UpdateOptions) (*v1alpha1.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 *FakeKpackV1alpha1
}
FakeClusterBuilders implements ClusterBuilderInterface
func (*FakeClusterBuilders) Create ¶
func (c *FakeClusterBuilders) Create(ctx context.Context, clusterBuilder *v1alpha1.ClusterBuilder, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.ClusterBuilder, err error)
Patch applies the patch and returns the patched clusterBuilder.
func (*FakeClusterBuilders) Update ¶
func (c *FakeClusterBuilders) Update(ctx context.Context, clusterBuilder *v1alpha1.ClusterBuilder, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.ClusterBuilder, opts v1.UpdateOptions) (*v1alpha1.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 FakeClusterStacks ¶
type FakeClusterStacks struct {
Fake *FakeKpackV1alpha1
}
FakeClusterStacks implements ClusterStackInterface
func (*FakeClusterStacks) Create ¶
func (c *FakeClusterStacks) Create(ctx context.Context, clusterStack *v1alpha1.ClusterStack, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.ClusterStack, err error)
Patch applies the patch and returns the patched clusterStack.
func (*FakeClusterStacks) Update ¶
func (c *FakeClusterStacks) Update(ctx context.Context, clusterStack *v1alpha1.ClusterStack, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.ClusterStack, opts v1.UpdateOptions) (*v1alpha1.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 *FakeKpackV1alpha1
}
FakeClusterStores implements ClusterStoreInterface
func (*FakeClusterStores) Create ¶
func (c *FakeClusterStores) Create(ctx context.Context, clusterStore *v1alpha1.ClusterStore, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.ClusterStore, err error)
Patch applies the patch and returns the patched clusterStore.
func (*FakeClusterStores) Update ¶
func (c *FakeClusterStores) Update(ctx context.Context, clusterStore *v1alpha1.ClusterStore, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.ClusterStore, opts v1.UpdateOptions) (*v1alpha1.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 *FakeKpackV1alpha1 // contains filtered or unexported fields }
FakeImages implements ImageInterface
func (*FakeImages) Create ¶
func (c *FakeImages) Create(ctx context.Context, image *v1alpha1.Image, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.Image, err error)
Patch applies the patch and returns the patched image.
func (*FakeImages) Update ¶
func (c *FakeImages) Update(ctx context.Context, image *v1alpha1.Image, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.Image, opts v1.UpdateOptions) (*v1alpha1.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 FakeKpackV1alpha1 ¶
func (*FakeKpackV1alpha1) Builders ¶
func (c *FakeKpackV1alpha1) Builders(namespace string) v1alpha1.BuilderInterface
func (*FakeKpackV1alpha1) Builds ¶
func (c *FakeKpackV1alpha1) Builds(namespace string) v1alpha1.BuildInterface
func (*FakeKpackV1alpha1) ClusterBuilders ¶
func (c *FakeKpackV1alpha1) ClusterBuilders() v1alpha1.ClusterBuilderInterface
func (*FakeKpackV1alpha1) ClusterStacks ¶
func (c *FakeKpackV1alpha1) ClusterStacks() v1alpha1.ClusterStackInterface
func (*FakeKpackV1alpha1) ClusterStores ¶
func (c *FakeKpackV1alpha1) ClusterStores() v1alpha1.ClusterStoreInterface
func (*FakeKpackV1alpha1) Images ¶
func (c *FakeKpackV1alpha1) Images(namespace string) v1alpha1.ImageInterface
func (*FakeKpackV1alpha1) RESTClient ¶
func (c *FakeKpackV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKpackV1alpha1) SourceResolvers ¶
func (c *FakeKpackV1alpha1) SourceResolvers(namespace string) v1alpha1.SourceResolverInterface
type FakeSourceResolvers ¶
type FakeSourceResolvers struct { Fake *FakeKpackV1alpha1 // contains filtered or unexported fields }
FakeSourceResolvers implements SourceResolverInterface
func (*FakeSourceResolvers) Create ¶
func (c *FakeSourceResolvers) Create(ctx context.Context, sourceResolver *v1alpha1.SourceResolver, opts v1.CreateOptions) (result *v1alpha1.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 *v1alpha1.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 *v1alpha1.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 *v1alpha1.SourceResolver, err error)
Patch applies the patch and returns the patched sourceResolver.
func (*FakeSourceResolvers) Update ¶
func (c *FakeSourceResolvers) Update(ctx context.Context, sourceResolver *v1alpha1.SourceResolver, opts v1.UpdateOptions) (result *v1alpha1.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 *v1alpha1.SourceResolver, opts v1.UpdateOptions) (*v1alpha1.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.