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