Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConsoleAuthorisations
- func (c *FakeConsoleAuthorisations) Create(consoleAuthorisation *v1alpha1.ConsoleAuthorisation) (result *v1alpha1.ConsoleAuthorisation, err error)
- func (c *FakeConsoleAuthorisations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConsoleAuthorisations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConsoleAuthorisations) Get(name string, options v1.GetOptions) (result *v1alpha1.ConsoleAuthorisation, err error)
- func (c *FakeConsoleAuthorisations) List(opts v1.ListOptions) (result *v1alpha1.ConsoleAuthorisationList, err error)
- func (c *FakeConsoleAuthorisations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ConsoleAuthorisation, err error)
- func (c *FakeConsoleAuthorisations) Update(consoleAuthorisation *v1alpha1.ConsoleAuthorisation) (result *v1alpha1.ConsoleAuthorisation, err error)
- func (c *FakeConsoleAuthorisations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeConsoleTemplates
- func (c *FakeConsoleTemplates) Create(consoleTemplate *v1alpha1.ConsoleTemplate) (result *v1alpha1.ConsoleTemplate, err error)
- func (c *FakeConsoleTemplates) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConsoleTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConsoleTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.ConsoleTemplate, err error)
- func (c *FakeConsoleTemplates) List(opts v1.ListOptions) (result *v1alpha1.ConsoleTemplateList, err error)
- func (c *FakeConsoleTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ConsoleTemplate, err error)
- func (c *FakeConsoleTemplates) Update(consoleTemplate *v1alpha1.ConsoleTemplate) (result *v1alpha1.ConsoleTemplate, err error)
- func (c *FakeConsoleTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeConsoles
- func (c *FakeConsoles) Create(console *v1alpha1.Console) (result *v1alpha1.Console, err error)
- func (c *FakeConsoles) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeConsoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeConsoles) Get(name string, options v1.GetOptions) (result *v1alpha1.Console, err error)
- func (c *FakeConsoles) List(opts v1.ListOptions) (result *v1alpha1.ConsoleList, err error)
- func (c *FakeConsoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Console, err error)
- func (c *FakeConsoles) Update(console *v1alpha1.Console) (result *v1alpha1.Console, err error)
- func (c *FakeConsoles) UpdateStatus(console *v1alpha1.Console) (*v1alpha1.Console, error)
- func (c *FakeConsoles) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkloadsV1alpha1
- func (c *FakeWorkloadsV1alpha1) ConsoleAuthorisations(namespace string) v1alpha1.ConsoleAuthorisationInterface
- func (c *FakeWorkloadsV1alpha1) ConsoleTemplates(namespace string) v1alpha1.ConsoleTemplateInterface
- func (c *FakeWorkloadsV1alpha1) Consoles(namespace string) v1alpha1.ConsoleInterface
- func (c *FakeWorkloadsV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConsoleAuthorisations ¶
type FakeConsoleAuthorisations struct { Fake *FakeWorkloadsV1alpha1 // contains filtered or unexported fields }
FakeConsoleAuthorisations implements ConsoleAuthorisationInterface
func (*FakeConsoleAuthorisations) Create ¶
func (c *FakeConsoleAuthorisations) Create(consoleAuthorisation *v1alpha1.ConsoleAuthorisation) (result *v1alpha1.ConsoleAuthorisation, err error)
Create takes the representation of a consoleAuthorisation and creates it. Returns the server's representation of the consoleAuthorisation, and an error, if there is any.
func (*FakeConsoleAuthorisations) Delete ¶
func (c *FakeConsoleAuthorisations) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the consoleAuthorisation and deletes it. Returns an error if one occurs.
func (*FakeConsoleAuthorisations) DeleteCollection ¶
func (c *FakeConsoleAuthorisations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConsoleAuthorisations) Get ¶
func (c *FakeConsoleAuthorisations) Get(name string, options v1.GetOptions) (result *v1alpha1.ConsoleAuthorisation, err error)
Get takes name of the consoleAuthorisation, and returns the corresponding consoleAuthorisation object, and an error if there is any.
func (*FakeConsoleAuthorisations) List ¶
func (c *FakeConsoleAuthorisations) List(opts v1.ListOptions) (result *v1alpha1.ConsoleAuthorisationList, err error)
List takes label and field selectors, and returns the list of ConsoleAuthorisations that match those selectors.
func (*FakeConsoleAuthorisations) Patch ¶
func (c *FakeConsoleAuthorisations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ConsoleAuthorisation, err error)
Patch applies the patch and returns the patched consoleAuthorisation.
func (*FakeConsoleAuthorisations) Update ¶
func (c *FakeConsoleAuthorisations) Update(consoleAuthorisation *v1alpha1.ConsoleAuthorisation) (result *v1alpha1.ConsoleAuthorisation, err error)
Update takes the representation of a consoleAuthorisation and updates it. Returns the server's representation of the consoleAuthorisation, and an error, if there is any.
func (*FakeConsoleAuthorisations) Watch ¶
func (c *FakeConsoleAuthorisations) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested consoleAuthorisations.
type FakeConsoleTemplates ¶
type FakeConsoleTemplates struct { Fake *FakeWorkloadsV1alpha1 // contains filtered or unexported fields }
FakeConsoleTemplates implements ConsoleTemplateInterface
func (*FakeConsoleTemplates) Create ¶
func (c *FakeConsoleTemplates) Create(consoleTemplate *v1alpha1.ConsoleTemplate) (result *v1alpha1.ConsoleTemplate, err error)
Create takes the representation of a consoleTemplate and creates it. Returns the server's representation of the consoleTemplate, and an error, if there is any.
func (*FakeConsoleTemplates) Delete ¶
func (c *FakeConsoleTemplates) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the consoleTemplate and deletes it. Returns an error if one occurs.
func (*FakeConsoleTemplates) DeleteCollection ¶
func (c *FakeConsoleTemplates) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConsoleTemplates) Get ¶
func (c *FakeConsoleTemplates) Get(name string, options v1.GetOptions) (result *v1alpha1.ConsoleTemplate, err error)
Get takes name of the consoleTemplate, and returns the corresponding consoleTemplate object, and an error if there is any.
func (*FakeConsoleTemplates) List ¶
func (c *FakeConsoleTemplates) List(opts v1.ListOptions) (result *v1alpha1.ConsoleTemplateList, err error)
List takes label and field selectors, and returns the list of ConsoleTemplates that match those selectors.
func (*FakeConsoleTemplates) Patch ¶
func (c *FakeConsoleTemplates) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ConsoleTemplate, err error)
Patch applies the patch and returns the patched consoleTemplate.
func (*FakeConsoleTemplates) Update ¶
func (c *FakeConsoleTemplates) Update(consoleTemplate *v1alpha1.ConsoleTemplate) (result *v1alpha1.ConsoleTemplate, err error)
Update takes the representation of a consoleTemplate and updates it. Returns the server's representation of the consoleTemplate, and an error, if there is any.
func (*FakeConsoleTemplates) Watch ¶
func (c *FakeConsoleTemplates) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested consoleTemplates.
type FakeConsoles ¶
type FakeConsoles struct { Fake *FakeWorkloadsV1alpha1 // contains filtered or unexported fields }
FakeConsoles implements ConsoleInterface
func (*FakeConsoles) Create ¶
Create takes the representation of a console and creates it. Returns the server's representation of the console, and an error, if there is any.
func (*FakeConsoles) Delete ¶
func (c *FakeConsoles) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the console and deletes it. Returns an error if one occurs.
func (*FakeConsoles) DeleteCollection ¶
func (c *FakeConsoles) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConsoles) Get ¶
func (c *FakeConsoles) Get(name string, options v1.GetOptions) (result *v1alpha1.Console, err error)
Get takes name of the console, and returns the corresponding console object, and an error if there is any.
func (*FakeConsoles) List ¶
func (c *FakeConsoles) List(opts v1.ListOptions) (result *v1alpha1.ConsoleList, err error)
List takes label and field selectors, and returns the list of Consoles that match those selectors.
func (*FakeConsoles) Patch ¶
func (c *FakeConsoles) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Console, err error)
Patch applies the patch and returns the patched console.
func (*FakeConsoles) Update ¶
Update takes the representation of a console and updates it. Returns the server's representation of the console, and an error, if there is any.
func (*FakeConsoles) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConsoles) Watch ¶
func (c *FakeConsoles) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested consoles.
type FakeWorkloadsV1alpha1 ¶
func (*FakeWorkloadsV1alpha1) ConsoleAuthorisations ¶
func (c *FakeWorkloadsV1alpha1) ConsoleAuthorisations(namespace string) v1alpha1.ConsoleAuthorisationInterface
func (*FakeWorkloadsV1alpha1) ConsoleTemplates ¶
func (c *FakeWorkloadsV1alpha1) ConsoleTemplates(namespace string) v1alpha1.ConsoleTemplateInterface
func (*FakeWorkloadsV1alpha1) Consoles ¶
func (c *FakeWorkloadsV1alpha1) Consoles(namespace string) v1alpha1.ConsoleInterface
func (*FakeWorkloadsV1alpha1) RESTClient ¶
func (c *FakeWorkloadsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.