fake

package
v0.0.0-...-d24fd3e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeConsoleCLIDownloads

type FakeConsoleCLIDownloads struct {
	Fake *FakeConsoleV1
}

FakeConsoleCLIDownloads implements ConsoleCLIDownloadInterface

func (*FakeConsoleCLIDownloads) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied consoleCLIDownload.

func (*FakeConsoleCLIDownloads) Create

func (c *FakeConsoleCLIDownloads) Create(ctx context.Context, consoleCLIDownload *consolev1.ConsoleCLIDownload, opts v1.CreateOptions) (result *consolev1.ConsoleCLIDownload, err error)

Create takes the representation of a consoleCLIDownload and creates it. Returns the server's representation of the consoleCLIDownload, and an error, if there is any.

func (*FakeConsoleCLIDownloads) Delete

func (c *FakeConsoleCLIDownloads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the consoleCLIDownload and deletes it. Returns an error if one occurs.

func (*FakeConsoleCLIDownloads) DeleteCollection

func (c *FakeConsoleCLIDownloads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConsoleCLIDownloads) Get

func (c *FakeConsoleCLIDownloads) Get(ctx context.Context, name string, options v1.GetOptions) (result *consolev1.ConsoleCLIDownload, err error)

Get takes name of the consoleCLIDownload, and returns the corresponding consoleCLIDownload object, and an error if there is any.

func (*FakeConsoleCLIDownloads) List

List takes label and field selectors, and returns the list of ConsoleCLIDownloads that match those selectors.

func (*FakeConsoleCLIDownloads) Patch

func (c *FakeConsoleCLIDownloads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *consolev1.ConsoleCLIDownload, err error)

Patch applies the patch and returns the patched consoleCLIDownload.

func (*FakeConsoleCLIDownloads) Update

func (c *FakeConsoleCLIDownloads) Update(ctx context.Context, consoleCLIDownload *consolev1.ConsoleCLIDownload, opts v1.UpdateOptions) (result *consolev1.ConsoleCLIDownload, err error)

Update takes the representation of a consoleCLIDownload and updates it. Returns the server's representation of the consoleCLIDownload, and an error, if there is any.

func (*FakeConsoleCLIDownloads) Watch

Watch returns a watch.Interface that watches the requested consoleCLIDownloads.

type FakeConsoleExternalLogLinks struct {
	Fake *FakeConsoleV1
}

FakeConsoleExternalLogLinks implements ConsoleExternalLogLinkInterface

func (*FakeConsoleExternalLogLinks) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied consoleExternalLogLink.

func (*FakeConsoleExternalLogLinks) Create

Create takes the representation of a consoleExternalLogLink and creates it. Returns the server's representation of the consoleExternalLogLink, and an error, if there is any.

func (*FakeConsoleExternalLogLinks) Delete

Delete takes name of the consoleExternalLogLink and deletes it. Returns an error if one occurs.

func (*FakeConsoleExternalLogLinks) DeleteCollection

func (c *FakeConsoleExternalLogLinks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConsoleExternalLogLinks) Get

Get takes name of the consoleExternalLogLink, and returns the corresponding consoleExternalLogLink object, and an error if there is any.

func (*FakeConsoleExternalLogLinks) List

List takes label and field selectors, and returns the list of ConsoleExternalLogLinks that match those selectors.

func (*FakeConsoleExternalLogLinks) Patch

func (c *FakeConsoleExternalLogLinks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *consolev1.ConsoleExternalLogLink, err error)

Patch applies the patch and returns the patched consoleExternalLogLink.

func (*FakeConsoleExternalLogLinks) Update

Update takes the representation of a consoleExternalLogLink and updates it. Returns the server's representation of the consoleExternalLogLink, and an error, if there is any.

func (*FakeConsoleExternalLogLinks) Watch

Watch returns a watch.Interface that watches the requested consoleExternalLogLinks.

type FakeConsoleLinks struct {
	Fake *FakeConsoleV1
}

FakeConsoleLinks implements ConsoleLinkInterface

func (*FakeConsoleLinks) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied consoleLink.

func (*FakeConsoleLinks) Create

func (c *FakeConsoleLinks) Create(ctx context.Context, consoleLink *consolev1.ConsoleLink, opts v1.CreateOptions) (result *consolev1.ConsoleLink, err error)

Create takes the representation of a consoleLink and creates it. Returns the server's representation of the consoleLink, and an error, if there is any.

func (*FakeConsoleLinks) Delete

func (c *FakeConsoleLinks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the consoleLink and deletes it. Returns an error if one occurs.

func (*FakeConsoleLinks) DeleteCollection

func (c *FakeConsoleLinks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConsoleLinks) Get

func (c *FakeConsoleLinks) Get(ctx context.Context, name string, options v1.GetOptions) (result *consolev1.ConsoleLink, err error)

Get takes name of the consoleLink, and returns the corresponding consoleLink object, and an error if there is any.

func (*FakeConsoleLinks) List

func (c *FakeConsoleLinks) List(ctx context.Context, opts v1.ListOptions) (result *consolev1.ConsoleLinkList, err error)

List takes label and field selectors, and returns the list of ConsoleLinks that match those selectors.

func (*FakeConsoleLinks) Patch

func (c *FakeConsoleLinks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *consolev1.ConsoleLink, err error)

Patch applies the patch and returns the patched consoleLink.

func (*FakeConsoleLinks) Update

func (c *FakeConsoleLinks) Update(ctx context.Context, consoleLink *consolev1.ConsoleLink, opts v1.UpdateOptions) (result *consolev1.ConsoleLink, err error)

Update takes the representation of a consoleLink and updates it. Returns the server's representation of the consoleLink, and an error, if there is any.

func (*FakeConsoleLinks) Watch

Watch returns a watch.Interface that watches the requested consoleLinks.

type FakeConsoleNotifications

type FakeConsoleNotifications struct {
	Fake *FakeConsoleV1
}

FakeConsoleNotifications implements ConsoleNotificationInterface

func (*FakeConsoleNotifications) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied consoleNotification.

func (*FakeConsoleNotifications) Create

func (c *FakeConsoleNotifications) Create(ctx context.Context, consoleNotification *consolev1.ConsoleNotification, opts v1.CreateOptions) (result *consolev1.ConsoleNotification, err error)

Create takes the representation of a consoleNotification and creates it. Returns the server's representation of the consoleNotification, and an error, if there is any.

func (*FakeConsoleNotifications) Delete

Delete takes name of the consoleNotification and deletes it. Returns an error if one occurs.

func (*FakeConsoleNotifications) DeleteCollection

func (c *FakeConsoleNotifications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConsoleNotifications) Get

Get takes name of the consoleNotification, and returns the corresponding consoleNotification object, and an error if there is any.

func (*FakeConsoleNotifications) List

List takes label and field selectors, and returns the list of ConsoleNotifications that match those selectors.

func (*FakeConsoleNotifications) Patch

func (c *FakeConsoleNotifications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *consolev1.ConsoleNotification, err error)

Patch applies the patch and returns the patched consoleNotification.

func (*FakeConsoleNotifications) Update

func (c *FakeConsoleNotifications) Update(ctx context.Context, consoleNotification *consolev1.ConsoleNotification, opts v1.UpdateOptions) (result *consolev1.ConsoleNotification, err error)

Update takes the representation of a consoleNotification and updates it. Returns the server's representation of the consoleNotification, and an error, if there is any.

func (*FakeConsoleNotifications) Watch

Watch returns a watch.Interface that watches the requested consoleNotifications.

type FakeConsolePlugins

type FakeConsolePlugins struct {
	Fake *FakeConsoleV1
}

FakeConsolePlugins implements ConsolePluginInterface

func (*FakeConsolePlugins) Apply

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 *consolev1.ConsolePlugin, opts v1.CreateOptions) (result *consolev1.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 *consolev1.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

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 *consolev1.ConsolePlugin, err error)

Patch applies the patch and returns the patched consolePlugin.

func (*FakeConsolePlugins) Update

func (c *FakeConsolePlugins) Update(ctx context.Context, consolePlugin *consolev1.ConsolePlugin, opts v1.UpdateOptions) (result *consolev1.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

Watch returns a watch.Interface that watches the requested consolePlugins.

type FakeConsoleQuickStarts

type FakeConsoleQuickStarts struct {
	Fake *FakeConsoleV1
}

FakeConsoleQuickStarts implements ConsoleQuickStartInterface

func (*FakeConsoleQuickStarts) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied consoleQuickStart.

func (*FakeConsoleQuickStarts) Create

func (c *FakeConsoleQuickStarts) Create(ctx context.Context, consoleQuickStart *consolev1.ConsoleQuickStart, opts v1.CreateOptions) (result *consolev1.ConsoleQuickStart, err error)

Create takes the representation of a consoleQuickStart and creates it. Returns the server's representation of the consoleQuickStart, and an error, if there is any.

func (*FakeConsoleQuickStarts) Delete

func (c *FakeConsoleQuickStarts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the consoleQuickStart and deletes it. Returns an error if one occurs.

func (*FakeConsoleQuickStarts) DeleteCollection

func (c *FakeConsoleQuickStarts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConsoleQuickStarts) Get

func (c *FakeConsoleQuickStarts) Get(ctx context.Context, name string, options v1.GetOptions) (result *consolev1.ConsoleQuickStart, err error)

Get takes name of the consoleQuickStart, and returns the corresponding consoleQuickStart object, and an error if there is any.

func (*FakeConsoleQuickStarts) List

List takes label and field selectors, and returns the list of ConsoleQuickStarts that match those selectors.

func (*FakeConsoleQuickStarts) Patch

func (c *FakeConsoleQuickStarts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *consolev1.ConsoleQuickStart, err error)

Patch applies the patch and returns the patched consoleQuickStart.

func (*FakeConsoleQuickStarts) Update

func (c *FakeConsoleQuickStarts) Update(ctx context.Context, consoleQuickStart *consolev1.ConsoleQuickStart, opts v1.UpdateOptions) (result *consolev1.ConsoleQuickStart, err error)

Update takes the representation of a consoleQuickStart and updates it. Returns the server's representation of the consoleQuickStart, and an error, if there is any.

func (*FakeConsoleQuickStarts) Watch

Watch returns a watch.Interface that watches the requested consoleQuickStarts.

type FakeConsoleV1

type FakeConsoleV1 struct {
	*testing.Fake
}

func (*FakeConsoleV1) ConsoleCLIDownloads

func (c *FakeConsoleV1) ConsoleCLIDownloads() v1.ConsoleCLIDownloadInterface
func (c *FakeConsoleV1) ConsoleExternalLogLinks() v1.ConsoleExternalLogLinkInterface
func (c *FakeConsoleV1) ConsoleLinks() v1.ConsoleLinkInterface

func (*FakeConsoleV1) ConsoleNotifications

func (c *FakeConsoleV1) ConsoleNotifications() v1.ConsoleNotificationInterface

func (*FakeConsoleV1) ConsolePlugins

func (c *FakeConsoleV1) ConsolePlugins() v1.ConsolePluginInterface

func (*FakeConsoleV1) ConsoleQuickStarts

func (c *FakeConsoleV1) ConsoleQuickStarts() v1.ConsoleQuickStartInterface

func (*FakeConsoleV1) ConsoleYAMLSamples

func (c *FakeConsoleV1) ConsoleYAMLSamples() v1.ConsoleYAMLSampleInterface

func (*FakeConsoleV1) RESTClient

func (c *FakeConsoleV1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type FakeConsoleYAMLSamples

type FakeConsoleYAMLSamples struct {
	Fake *FakeConsoleV1
}

FakeConsoleYAMLSamples implements ConsoleYAMLSampleInterface

func (*FakeConsoleYAMLSamples) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied consoleYAMLSample.

func (*FakeConsoleYAMLSamples) Create

func (c *FakeConsoleYAMLSamples) Create(ctx context.Context, consoleYAMLSample *consolev1.ConsoleYAMLSample, opts v1.CreateOptions) (result *consolev1.ConsoleYAMLSample, err error)

Create takes the representation of a consoleYAMLSample and creates it. Returns the server's representation of the consoleYAMLSample, and an error, if there is any.

func (*FakeConsoleYAMLSamples) Delete

func (c *FakeConsoleYAMLSamples) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the consoleYAMLSample and deletes it. Returns an error if one occurs.

func (*FakeConsoleYAMLSamples) DeleteCollection

func (c *FakeConsoleYAMLSamples) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeConsoleYAMLSamples) Get

func (c *FakeConsoleYAMLSamples) Get(ctx context.Context, name string, options v1.GetOptions) (result *consolev1.ConsoleYAMLSample, err error)

Get takes name of the consoleYAMLSample, and returns the corresponding consoleYAMLSample object, and an error if there is any.

func (*FakeConsoleYAMLSamples) List

List takes label and field selectors, and returns the list of ConsoleYAMLSamples that match those selectors.

func (*FakeConsoleYAMLSamples) Patch

func (c *FakeConsoleYAMLSamples) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *consolev1.ConsoleYAMLSample, err error)

Patch applies the patch and returns the patched consoleYAMLSample.

func (*FakeConsoleYAMLSamples) Update

func (c *FakeConsoleYAMLSamples) Update(ctx context.Context, consoleYAMLSample *consolev1.ConsoleYAMLSample, opts v1.UpdateOptions) (result *consolev1.ConsoleYAMLSample, err error)

Update takes the representation of a consoleYAMLSample and updates it. Returns the server's representation of the consoleYAMLSample, and an error, if there is any.

func (*FakeConsoleYAMLSamples) Watch

Watch returns a watch.Interface that watches the requested consoleYAMLSamples.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL