Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigs
- func (c *FakeConfigs) Create(ctx context.Context, config *v1alpha1.Config, opts v1.CreateOptions) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigList, err error)
- func (c *FakeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) Update(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (result *v1alpha1.Config, err error)
- func (c *FakeConfigs) UpdateStatus(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (*v1alpha1.Config, error)
- func (c *FakeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeObservabilityV1alpha1
- type FakeTenants
- func (c *FakeTenants) Create(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.CreateOptions) (result *v1alpha1.Tenant, err error)
- func (c *FakeTenants) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTenants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTenants) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Tenant, err error)
- func (c *FakeTenants) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TenantList, err error)
- func (c *FakeTenants) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Tenant, err error)
- func (c *FakeTenants) Update(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.UpdateOptions) (result *v1alpha1.Tenant, err error)
- func (c *FakeTenants) UpdateStatus(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.UpdateOptions) (*v1alpha1.Tenant, error)
- func (c *FakeTenants) 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 FakeConfigs ¶
type FakeConfigs struct {
Fake *FakeObservabilityV1alpha1
}
FakeConfigs implements ConfigInterface
func (*FakeConfigs) Create ¶
func (c *FakeConfigs) Create(ctx context.Context, config *v1alpha1.Config, opts v1.CreateOptions) (result *v1alpha1.Config, err error)
Create takes the representation of a config and creates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) Delete ¶
func (c *FakeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the config and deletes it. Returns an error if one occurs.
func (*FakeConfigs) DeleteCollection ¶
func (c *FakeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigs) Get ¶
func (c *FakeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Config, err error)
Get takes name of the config, and returns the corresponding config object, and an error if there is any.
func (*FakeConfigs) List ¶
func (c *FakeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ConfigList, err error)
List takes label and field selectors, and returns the list of Configs that match those selectors.
func (*FakeConfigs) Patch ¶
func (c *FakeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Config, err error)
Patch applies the patch and returns the patched config.
func (*FakeConfigs) Update ¶
func (c *FakeConfigs) Update(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (result *v1alpha1.Config, err error)
Update takes the representation of a config and updates it. Returns the server's representation of the config, and an error, if there is any.
func (*FakeConfigs) UpdateStatus ¶
func (c *FakeConfigs) UpdateStatus(ctx context.Context, config *v1alpha1.Config, opts v1.UpdateOptions) (*v1alpha1.Config, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeConfigs) Watch ¶
func (c *FakeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configs.
type FakeObservabilityV1alpha1 ¶
func (*FakeObservabilityV1alpha1) Configs ¶
func (c *FakeObservabilityV1alpha1) Configs() v1alpha1.ConfigInterface
func (*FakeObservabilityV1alpha1) RESTClient ¶
func (c *FakeObservabilityV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeObservabilityV1alpha1) Tenants ¶
func (c *FakeObservabilityV1alpha1) Tenants() v1alpha1.TenantInterface
type FakeTenants ¶
type FakeTenants struct {
Fake *FakeObservabilityV1alpha1
}
FakeTenants implements TenantInterface
func (*FakeTenants) Create ¶
func (c *FakeTenants) Create(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.CreateOptions) (result *v1alpha1.Tenant, err error)
Create takes the representation of a tenant and creates it. Returns the server's representation of the tenant, and an error, if there is any.
func (*FakeTenants) Delete ¶
func (c *FakeTenants) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the tenant and deletes it. Returns an error if one occurs.
func (*FakeTenants) DeleteCollection ¶
func (c *FakeTenants) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTenants) Get ¶
func (c *FakeTenants) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Tenant, err error)
Get takes name of the tenant, and returns the corresponding tenant object, and an error if there is any.
func (*FakeTenants) List ¶
func (c *FakeTenants) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TenantList, err error)
List takes label and field selectors, and returns the list of Tenants that match those selectors.
func (*FakeTenants) Patch ¶
func (c *FakeTenants) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Tenant, err error)
Patch applies the patch and returns the patched tenant.
func (*FakeTenants) Update ¶
func (c *FakeTenants) Update(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.UpdateOptions) (result *v1alpha1.Tenant, err error)
Update takes the representation of a tenant and updates it. Returns the server's representation of the tenant, and an error, if there is any.
func (*FakeTenants) UpdateStatus ¶
func (c *FakeTenants) UpdateStatus(ctx context.Context, tenant *v1alpha1.Tenant, opts v1.UpdateOptions) (*v1alpha1.Tenant, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTenants) Watch ¶
func (c *FakeTenants) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested tenants.