Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDashboards
- func (c *FakeDashboards) Create(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.CreateOptions) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DashboardList, err error)
- func (c *FakeDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) Update(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (result *v1alpha1.Dashboard, err error)
- func (c *FakeDashboards) UpdateStatus(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (*v1alpha1.Dashboard, error)
- func (c *FakeDashboards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLogFilters
- func (c *FakeLogFilters) Create(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.CreateOptions) (result *v1alpha1.LogFilter, err error)
- func (c *FakeLogFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLogFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLogFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LogFilter, err error)
- func (c *FakeLogFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LogFilterList, err error)
- func (c *FakeLogFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LogFilter, err error)
- func (c *FakeLogFilters) Update(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.UpdateOptions) (result *v1alpha1.LogFilter, err error)
- func (c *FakeLogFilters) UpdateStatus(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.UpdateOptions) (*v1alpha1.LogFilter, error)
- func (c *FakeLogFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeLogTails
- func (c *FakeLogTails) Create(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.CreateOptions) (result *v1alpha1.LogTail, err error)
- func (c *FakeLogTails) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLogTails) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLogTails) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LogTail, err error)
- func (c *FakeLogTails) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LogTailList, err error)
- func (c *FakeLogTails) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.LogTail, err error)
- func (c *FakeLogTails) Update(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.UpdateOptions) (result *v1alpha1.LogTail, err error)
- func (c *FakeLogTails) UpdateStatus(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.UpdateOptions) (*v1alpha1.LogTail, error)
- func (c *FakeLogTails) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePlatformV1alpha1
- func (c *FakePlatformV1alpha1) Dashboards(namespace string) v1alpha1.DashboardInterface
- func (c *FakePlatformV1alpha1) LogFilters(namespace string) v1alpha1.LogFilterInterface
- func (c *FakePlatformV1alpha1) LogTails(namespace string) v1alpha1.LogTailInterface
- func (c *FakePlatformV1alpha1) Proxies(namespace string) v1alpha1.ProxyInterface
- func (c *FakePlatformV1alpha1) RESTClient() rest.Interface
- func (c *FakePlatformV1alpha1) SlashCommands(namespace string) v1alpha1.SlashCommandInterface
- type FakeProxies
- func (c *FakeProxies) Create(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.CreateOptions) (result *v1alpha1.Proxy, err error)
- func (c *FakeProxies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProxies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProxies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Proxy, err error)
- func (c *FakeProxies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProxyList, err error)
- func (c *FakeProxies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Proxy, err error)
- func (c *FakeProxies) Update(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.UpdateOptions) (result *v1alpha1.Proxy, err error)
- func (c *FakeProxies) UpdateStatus(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.UpdateOptions) (*v1alpha1.Proxy, error)
- func (c *FakeProxies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSlashCommands
- func (c *FakeSlashCommands) Create(ctx context.Context, slashCommand *v1alpha1.SlashCommand, ...) (result *v1alpha1.SlashCommand, err error)
- func (c *FakeSlashCommands) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSlashCommands) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSlashCommands) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SlashCommand, err error)
- func (c *FakeSlashCommands) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SlashCommandList, err error)
- func (c *FakeSlashCommands) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SlashCommand, err error)
- func (c *FakeSlashCommands) Update(ctx context.Context, slashCommand *v1alpha1.SlashCommand, ...) (result *v1alpha1.SlashCommand, err error)
- func (c *FakeSlashCommands) UpdateStatus(ctx context.Context, slashCommand *v1alpha1.SlashCommand, ...) (*v1alpha1.SlashCommand, error)
- func (c *FakeSlashCommands) 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 FakeDashboards ¶
type FakeDashboards struct { Fake *FakePlatformV1alpha1 // contains filtered or unexported fields }
FakeDashboards implements DashboardInterface
func (*FakeDashboards) Create ¶
func (c *FakeDashboards) Create(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.CreateOptions) (result *v1alpha1.Dashboard, err error)
Create takes the representation of a dashboard and creates it. Returns the server's representation of the dashboard, and an error, if there is any.
func (*FakeDashboards) Delete ¶
func (c *FakeDashboards) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the dashboard and deletes it. Returns an error if one occurs.
func (*FakeDashboards) DeleteCollection ¶
func (c *FakeDashboards) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDashboards) Get ¶
func (c *FakeDashboards) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Dashboard, err error)
Get takes name of the dashboard, and returns the corresponding dashboard object, and an error if there is any.
func (*FakeDashboards) List ¶
func (c *FakeDashboards) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DashboardList, err error)
List takes label and field selectors, and returns the list of Dashboards that match those selectors.
func (*FakeDashboards) Patch ¶
func (c *FakeDashboards) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Dashboard, err error)
Patch applies the patch and returns the patched dashboard.
func (*FakeDashboards) Update ¶
func (c *FakeDashboards) Update(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (result *v1alpha1.Dashboard, err error)
Update takes the representation of a dashboard and updates it. Returns the server's representation of the dashboard, and an error, if there is any.
func (*FakeDashboards) UpdateStatus ¶
func (c *FakeDashboards) UpdateStatus(ctx context.Context, dashboard *v1alpha1.Dashboard, opts v1.UpdateOptions) (*v1alpha1.Dashboard, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDashboards) Watch ¶
func (c *FakeDashboards) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested dashboards.
type FakeLogFilters ¶
type FakeLogFilters struct { Fake *FakePlatformV1alpha1 // contains filtered or unexported fields }
FakeLogFilters implements LogFilterInterface
func (*FakeLogFilters) Create ¶
func (c *FakeLogFilters) Create(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.CreateOptions) (result *v1alpha1.LogFilter, err error)
Create takes the representation of a logFilter and creates it. Returns the server's representation of the logFilter, and an error, if there is any.
func (*FakeLogFilters) Delete ¶
func (c *FakeLogFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the logFilter and deletes it. Returns an error if one occurs.
func (*FakeLogFilters) DeleteCollection ¶
func (c *FakeLogFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLogFilters) Get ¶
func (c *FakeLogFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LogFilter, err error)
Get takes name of the logFilter, and returns the corresponding logFilter object, and an error if there is any.
func (*FakeLogFilters) List ¶
func (c *FakeLogFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LogFilterList, err error)
List takes label and field selectors, and returns the list of LogFilters that match those selectors.
func (*FakeLogFilters) Patch ¶
func (c *FakeLogFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LogFilter, err error)
Patch applies the patch and returns the patched logFilter.
func (*FakeLogFilters) Update ¶
func (c *FakeLogFilters) Update(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.UpdateOptions) (result *v1alpha1.LogFilter, err error)
Update takes the representation of a logFilter and updates it. Returns the server's representation of the logFilter, and an error, if there is any.
func (*FakeLogFilters) UpdateStatus ¶
func (c *FakeLogFilters) UpdateStatus(ctx context.Context, logFilter *v1alpha1.LogFilter, opts v1.UpdateOptions) (*v1alpha1.LogFilter, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLogFilters) Watch ¶
func (c *FakeLogFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested logFilters.
type FakeLogTails ¶ added in v0.1.3
type FakeLogTails struct { Fake *FakePlatformV1alpha1 // contains filtered or unexported fields }
FakeLogTails implements LogTailInterface
func (*FakeLogTails) Create ¶ added in v0.1.3
func (c *FakeLogTails) Create(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.CreateOptions) (result *v1alpha1.LogTail, err error)
Create takes the representation of a logTail and creates it. Returns the server's representation of the logTail, and an error, if there is any.
func (*FakeLogTails) Delete ¶ added in v0.1.3
func (c *FakeLogTails) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the logTail and deletes it. Returns an error if one occurs.
func (*FakeLogTails) DeleteCollection ¶ added in v0.1.3
func (c *FakeLogTails) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLogTails) Get ¶ added in v0.1.3
func (c *FakeLogTails) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LogTail, err error)
Get takes name of the logTail, and returns the corresponding logTail object, and an error if there is any.
func (*FakeLogTails) List ¶ added in v0.1.3
func (c *FakeLogTails) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LogTailList, err error)
List takes label and field selectors, and returns the list of LogTails that match those selectors.
func (*FakeLogTails) Patch ¶ added in v0.1.3
func (c *FakeLogTails) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LogTail, err error)
Patch applies the patch and returns the patched logTail.
func (*FakeLogTails) Update ¶ added in v0.1.3
func (c *FakeLogTails) Update(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.UpdateOptions) (result *v1alpha1.LogTail, err error)
Update takes the representation of a logTail and updates it. Returns the server's representation of the logTail, and an error, if there is any.
func (*FakeLogTails) UpdateStatus ¶ added in v0.1.3
func (c *FakeLogTails) UpdateStatus(ctx context.Context, logTail *v1alpha1.LogTail, opts v1.UpdateOptions) (*v1alpha1.LogTail, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLogTails) Watch ¶ added in v0.1.3
func (c *FakeLogTails) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested logTails.
type FakePlatformV1alpha1 ¶
func (*FakePlatformV1alpha1) Dashboards ¶
func (c *FakePlatformV1alpha1) Dashboards(namespace string) v1alpha1.DashboardInterface
func (*FakePlatformV1alpha1) LogFilters ¶
func (c *FakePlatformV1alpha1) LogFilters(namespace string) v1alpha1.LogFilterInterface
func (*FakePlatformV1alpha1) LogTails ¶ added in v0.1.3
func (c *FakePlatformV1alpha1) LogTails(namespace string) v1alpha1.LogTailInterface
func (*FakePlatformV1alpha1) Proxies ¶
func (c *FakePlatformV1alpha1) Proxies(namespace string) v1alpha1.ProxyInterface
func (*FakePlatformV1alpha1) RESTClient ¶
func (c *FakePlatformV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakePlatformV1alpha1) SlashCommands ¶
func (c *FakePlatformV1alpha1) SlashCommands(namespace string) v1alpha1.SlashCommandInterface
type FakeProxies ¶
type FakeProxies struct { Fake *FakePlatformV1alpha1 // contains filtered or unexported fields }
FakeProxies implements ProxyInterface
func (*FakeProxies) Create ¶
func (c *FakeProxies) Create(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.CreateOptions) (result *v1alpha1.Proxy, err error)
Create takes the representation of a proxy and creates it. Returns the server's representation of the proxy, and an error, if there is any.
func (*FakeProxies) Delete ¶
func (c *FakeProxies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the proxy and deletes it. Returns an error if one occurs.
func (*FakeProxies) DeleteCollection ¶
func (c *FakeProxies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProxies) Get ¶
func (c *FakeProxies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Proxy, err error)
Get takes name of the proxy, and returns the corresponding proxy object, and an error if there is any.
func (*FakeProxies) List ¶
func (c *FakeProxies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProxyList, err error)
List takes label and field selectors, and returns the list of Proxies that match those selectors.
func (*FakeProxies) Patch ¶
func (c *FakeProxies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Proxy, err error)
Patch applies the patch and returns the patched proxy.
func (*FakeProxies) Update ¶
func (c *FakeProxies) Update(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.UpdateOptions) (result *v1alpha1.Proxy, err error)
Update takes the representation of a proxy and updates it. Returns the server's representation of the proxy, and an error, if there is any.
func (*FakeProxies) UpdateStatus ¶
func (c *FakeProxies) UpdateStatus(ctx context.Context, proxy *v1alpha1.Proxy, opts v1.UpdateOptions) (*v1alpha1.Proxy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProxies) Watch ¶
func (c *FakeProxies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested proxies.
type FakeSlashCommands ¶
type FakeSlashCommands struct { Fake *FakePlatformV1alpha1 // contains filtered or unexported fields }
FakeSlashCommands implements SlashCommandInterface
func (*FakeSlashCommands) Create ¶
func (c *FakeSlashCommands) Create(ctx context.Context, slashCommand *v1alpha1.SlashCommand, opts v1.CreateOptions) (result *v1alpha1.SlashCommand, err error)
Create takes the representation of a slashCommand and creates it. Returns the server's representation of the slashCommand, and an error, if there is any.
func (*FakeSlashCommands) Delete ¶
func (c *FakeSlashCommands) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the slashCommand and deletes it. Returns an error if one occurs.
func (*FakeSlashCommands) DeleteCollection ¶
func (c *FakeSlashCommands) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSlashCommands) Get ¶
func (c *FakeSlashCommands) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SlashCommand, err error)
Get takes name of the slashCommand, and returns the corresponding slashCommand object, and an error if there is any.
func (*FakeSlashCommands) List ¶
func (c *FakeSlashCommands) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SlashCommandList, err error)
List takes label and field selectors, and returns the list of SlashCommands that match those selectors.
func (*FakeSlashCommands) Patch ¶
func (c *FakeSlashCommands) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SlashCommand, err error)
Patch applies the patch and returns the patched slashCommand.
func (*FakeSlashCommands) Update ¶
func (c *FakeSlashCommands) Update(ctx context.Context, slashCommand *v1alpha1.SlashCommand, opts v1.UpdateOptions) (result *v1alpha1.SlashCommand, err error)
Update takes the representation of a slashCommand and updates it. Returns the server's representation of the slashCommand, and an error, if there is any.
func (*FakeSlashCommands) UpdateStatus ¶
func (c *FakeSlashCommands) UpdateStatus(ctx context.Context, slashCommand *v1alpha1.SlashCommand, opts v1.UpdateOptions) (*v1alpha1.SlashCommand, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSlashCommands) Watch ¶
func (c *FakeSlashCommands) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested slashCommands.