Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConsolePlugins
- func (c *FakeConsolePlugins) Apply(ctx context.Context, ...) (result *v1alpha1.ConsolePlugin, err error)
- func (c *FakeConsolePlugins) Create(ctx context.Context, consolePlugin *v1alpha1.ConsolePlugin, ...) (result *v1alpha1.ConsolePlugin, err error)
- func (c *FakeConsolePlugins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConsolePlugins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConsolePlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConsolePlugin, err error)
- func (c *FakeConsolePlugins) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConsolePluginList, err error)
- func (c *FakeConsolePlugins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ConsolePlugin, err error)
- func (c *FakeConsolePlugins) Update(ctx context.Context, consolePlugin *v1alpha1.ConsolePlugin, ...) (result *v1alpha1.ConsolePlugin, err error)
- func (c *FakeConsolePlugins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConsoleV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConsolePlugins ¶
type FakeConsolePlugins struct {
Fake *FakeConsoleV1alpha1
}
FakeConsolePlugins implements ConsolePluginInterface
func (*FakeConsolePlugins) Apply ¶
func (c *FakeConsolePlugins) Apply(ctx context.Context, consolePlugin *consolev1alpha1.ConsolePluginApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ConsolePlugin, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied consolePlugin.
func (*FakeConsolePlugins) Create ¶
func (c *FakeConsolePlugins) Create(ctx context.Context, consolePlugin *v1alpha1.ConsolePlugin, opts v1.CreateOptions) (result *v1alpha1.ConsolePlugin, err error)
Create takes the representation of a consolePlugin and creates it. Returns the server's representation of the consolePlugin, and an error, if there is any.
func (*FakeConsolePlugins) Delete ¶
func (c *FakeConsolePlugins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the consolePlugin and deletes it. Returns an error if one occurs.
func (*FakeConsolePlugins) DeleteCollection ¶
func (c *FakeConsolePlugins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConsolePlugins) Get ¶
func (c *FakeConsolePlugins) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ConsolePlugin, err error)
Get takes name of the consolePlugin, and returns the corresponding consolePlugin object, and an error if there is any.
func (*FakeConsolePlugins) List ¶
func (c *FakeConsolePlugins) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConsolePluginList, err error)
List takes label and field selectors, and returns the list of ConsolePlugins that match those selectors.
func (*FakeConsolePlugins) Patch ¶
func (c *FakeConsolePlugins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ConsolePlugin, err error)
Patch applies the patch and returns the patched consolePlugin.
func (*FakeConsolePlugins) Update ¶
func (c *FakeConsolePlugins) Update(ctx context.Context, consolePlugin *v1alpha1.ConsolePlugin, opts v1.UpdateOptions) (result *v1alpha1.ConsolePlugin, err error)
Update takes the representation of a consolePlugin and updates it. Returns the server's representation of the consolePlugin, and an error, if there is any.
func (*FakeConsolePlugins) Watch ¶
func (c *FakeConsolePlugins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested consolePlugins.
type FakeConsoleV1alpha1 ¶
func (*FakeConsoleV1alpha1) ConsolePlugins ¶
func (c *FakeConsoleV1alpha1) ConsolePlugins() v1alpha1.ConsolePluginInterface
func (*FakeConsoleV1alpha1) RESTClient ¶
func (c *FakeConsoleV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.