Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeChartPresetQueries
- type FakeClusterStatuses
- type FakeMenuOutlines
- func (c *FakeMenuOutlines) Create(ctx context.Context, menuOutline *v1alpha1.MenuOutline, opts v1.CreateOptions) (result *v1alpha1.MenuOutline, err error)
- func (c *FakeMenuOutlines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeMenuOutlines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeMenuOutlines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MenuOutline, err error)
- func (c *FakeMenuOutlines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MenuOutlineList, err error)
- func (c *FakeMenuOutlines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.MenuOutline, err error)
- func (c *FakeMenuOutlines) Update(ctx context.Context, menuOutline *v1alpha1.MenuOutline, opts v1.UpdateOptions) (result *v1alpha1.MenuOutline, err error)
- func (c *FakeMenuOutlines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeMetaV1alpha1
- func (c *FakeMetaV1alpha1) ChartPresetQueries() v1alpha1.ChartPresetQueryInterface
- func (c *FakeMetaV1alpha1) ClusterStatuses() v1alpha1.ClusterStatusInterface
- func (c *FakeMetaV1alpha1) MenuOutlines(namespace string) v1alpha1.MenuOutlineInterface
- func (c *FakeMetaV1alpha1) RESTClient() rest.Interface
- func (c *FakeMetaV1alpha1) RenderDashboards() v1alpha1.RenderDashboardInterface
- func (c *FakeMetaV1alpha1) RenderMenus() v1alpha1.RenderMenuInterface
- func (c *FakeMetaV1alpha1) RenderRawGraphs() v1alpha1.RenderRawGraphInterface
- func (c *FakeMetaV1alpha1) Renders() v1alpha1.RenderInterface
- func (c *FakeMetaV1alpha1) ResourceBlockDefinitions() v1alpha1.ResourceBlockDefinitionInterface
- func (c *FakeMetaV1alpha1) ResourceCalculators() v1alpha1.ResourceCalculatorInterface
- func (c *FakeMetaV1alpha1) ResourceDescriptors() v1alpha1.ResourceDescriptorInterface
- func (c *FakeMetaV1alpha1) ResourceEditors() v1alpha1.ResourceEditorInterface
- func (c *FakeMetaV1alpha1) ResourceGraphs() v1alpha1.ResourceGraphInterface
- func (c *FakeMetaV1alpha1) ResourceLayouts() v1alpha1.ResourceLayoutInterface
- func (c *FakeMetaV1alpha1) ResourceOutlines() v1alpha1.ResourceOutlineInterface
- func (c *FakeMetaV1alpha1) ResourceQueries() v1alpha1.ResourceQueryInterface
- func (c *FakeMetaV1alpha1) ResourceTableDefinitions() v1alpha1.ResourceTableDefinitionInterface
- type FakeRenderDashboards
- type FakeRenderMenus
- type FakeRenderRawGraphs
- type FakeRenders
- type FakeResourceBlockDefinitions
- type FakeResourceCalculators
- type FakeResourceDescriptors
- type FakeResourceEditors
- func (c *FakeResourceEditors) Create(ctx context.Context, resourceEditor *v1alpha1.ResourceEditor, ...) (result *v1alpha1.ResourceEditor, err error)
- func (c *FakeResourceEditors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceEditors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceEditors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceEditor, err error)
- func (c *FakeResourceEditors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceEditorList, err error)
- func (c *FakeResourceEditors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceEditor, err error)
- func (c *FakeResourceEditors) Update(ctx context.Context, resourceEditor *v1alpha1.ResourceEditor, ...) (result *v1alpha1.ResourceEditor, err error)
- func (c *FakeResourceEditors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceGraphs
- type FakeResourceLayouts
- type FakeResourceOutlines
- type FakeResourceQueries
- type FakeResourceTableDefinitions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeChartPresetQueries ¶ added in v0.17.18
type FakeChartPresetQueries struct {
Fake *FakeMetaV1alpha1
}
FakeChartPresetQueries implements ChartPresetQueryInterface
func (*FakeChartPresetQueries) Create ¶ added in v0.17.18
func (c *FakeChartPresetQueries) Create(ctx context.Context, chartPresetQuery *v1alpha1.ChartPresetQuery, opts v1.CreateOptions) (result *v1alpha1.ChartPresetQuery, err error)
Create takes the representation of a chartPresetQuery and creates it. Returns the server's representation of the chartPresetQuery, and an error, if there is any.
type FakeClusterStatuses ¶ added in v0.17.25
type FakeClusterStatuses struct {
Fake *FakeMetaV1alpha1
}
FakeClusterStatuses implements ClusterStatusInterface
func (*FakeClusterStatuses) Create ¶ added in v0.17.25
func (c *FakeClusterStatuses) Create(ctx context.Context, clusterStatus *v1alpha1.ClusterStatus, opts v1.CreateOptions) (result *v1alpha1.ClusterStatus, err error)
Create takes the representation of a clusterStatus and creates it. Returns the server's representation of the clusterStatus, and an error, if there is any.
type FakeMenuOutlines ¶ added in v0.17.18
type FakeMenuOutlines struct { Fake *FakeMetaV1alpha1 // contains filtered or unexported fields }
FakeMenuOutlines implements MenuOutlineInterface
func (*FakeMenuOutlines) Create ¶ added in v0.17.18
func (c *FakeMenuOutlines) Create(ctx context.Context, menuOutline *v1alpha1.MenuOutline, opts v1.CreateOptions) (result *v1alpha1.MenuOutline, err error)
Create takes the representation of a menuOutline and creates it. Returns the server's representation of the menuOutline, and an error, if there is any.
func (*FakeMenuOutlines) Delete ¶ added in v0.17.18
func (c *FakeMenuOutlines) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the menuOutline and deletes it. Returns an error if one occurs.
func (*FakeMenuOutlines) DeleteCollection ¶ added in v0.17.18
func (c *FakeMenuOutlines) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeMenuOutlines) Get ¶ added in v0.17.18
func (c *FakeMenuOutlines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.MenuOutline, err error)
Get takes name of the menuOutline, and returns the corresponding menuOutline object, and an error if there is any.
func (*FakeMenuOutlines) List ¶ added in v0.17.18
func (c *FakeMenuOutlines) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.MenuOutlineList, err error)
List takes label and field selectors, and returns the list of MenuOutlines that match those selectors.
func (*FakeMenuOutlines) Patch ¶ added in v0.17.18
func (c *FakeMenuOutlines) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.MenuOutline, err error)
Patch applies the patch and returns the patched menuOutline.
func (*FakeMenuOutlines) Update ¶ added in v0.17.18
func (c *FakeMenuOutlines) Update(ctx context.Context, menuOutline *v1alpha1.MenuOutline, opts v1.UpdateOptions) (result *v1alpha1.MenuOutline, err error)
Update takes the representation of a menuOutline and updates it. Returns the server's representation of the menuOutline, and an error, if there is any.
func (*FakeMenuOutlines) Watch ¶ added in v0.17.18
func (c *FakeMenuOutlines) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested menuOutlines.
type FakeMetaV1alpha1 ¶
func (*FakeMetaV1alpha1) ChartPresetQueries ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) ChartPresetQueries() v1alpha1.ChartPresetQueryInterface
func (*FakeMetaV1alpha1) ClusterStatuses ¶ added in v0.17.25
func (c *FakeMetaV1alpha1) ClusterStatuses() v1alpha1.ClusterStatusInterface
func (*FakeMetaV1alpha1) MenuOutlines ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) MenuOutlines(namespace string) v1alpha1.MenuOutlineInterface
func (*FakeMetaV1alpha1) RESTClient ¶
func (c *FakeMetaV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeMetaV1alpha1) RenderDashboards ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) RenderDashboards() v1alpha1.RenderDashboardInterface
func (*FakeMetaV1alpha1) RenderMenus ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) RenderMenus() v1alpha1.RenderMenuInterface
func (*FakeMetaV1alpha1) RenderRawGraphs ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) RenderRawGraphs() v1alpha1.RenderRawGraphInterface
func (*FakeMetaV1alpha1) Renders ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) Renders() v1alpha1.RenderInterface
func (*FakeMetaV1alpha1) ResourceBlockDefinitions ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) ResourceBlockDefinitions() v1alpha1.ResourceBlockDefinitionInterface
func (*FakeMetaV1alpha1) ResourceCalculators ¶ added in v0.17.19
func (c *FakeMetaV1alpha1) ResourceCalculators() v1alpha1.ResourceCalculatorInterface
func (*FakeMetaV1alpha1) ResourceDescriptors ¶
func (c *FakeMetaV1alpha1) ResourceDescriptors() v1alpha1.ResourceDescriptorInterface
func (*FakeMetaV1alpha1) ResourceEditors ¶ added in v0.18.2
func (c *FakeMetaV1alpha1) ResourceEditors() v1alpha1.ResourceEditorInterface
func (*FakeMetaV1alpha1) ResourceGraphs ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) ResourceGraphs() v1alpha1.ResourceGraphInterface
func (*FakeMetaV1alpha1) ResourceLayouts ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) ResourceLayouts() v1alpha1.ResourceLayoutInterface
func (*FakeMetaV1alpha1) ResourceOutlines ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) ResourceOutlines() v1alpha1.ResourceOutlineInterface
func (*FakeMetaV1alpha1) ResourceQueries ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) ResourceQueries() v1alpha1.ResourceQueryInterface
func (*FakeMetaV1alpha1) ResourceTableDefinitions ¶ added in v0.17.18
func (c *FakeMetaV1alpha1) ResourceTableDefinitions() v1alpha1.ResourceTableDefinitionInterface
type FakeRenderDashboards ¶ added in v0.17.18
type FakeRenderDashboards struct {
Fake *FakeMetaV1alpha1
}
FakeRenderDashboards implements RenderDashboardInterface
func (*FakeRenderDashboards) Create ¶ added in v0.17.18
func (c *FakeRenderDashboards) Create(ctx context.Context, renderDashboard *v1alpha1.RenderDashboard, opts v1.CreateOptions) (result *v1alpha1.RenderDashboard, err error)
Create takes the representation of a renderDashboard and creates it. Returns the server's representation of the renderDashboard, and an error, if there is any.
type FakeRenderMenus ¶ added in v0.17.18
type FakeRenderMenus struct {
Fake *FakeMetaV1alpha1
}
FakeRenderMenus implements RenderMenuInterface
func (*FakeRenderMenus) Create ¶ added in v0.17.18
func (c *FakeRenderMenus) Create(ctx context.Context, renderMenu *v1alpha1.RenderMenu, opts v1.CreateOptions) (result *v1alpha1.RenderMenu, err error)
Create takes the representation of a renderMenu and creates it. Returns the server's representation of the renderMenu, and an error, if there is any.
type FakeRenderRawGraphs ¶ added in v0.17.18
type FakeRenderRawGraphs struct {
Fake *FakeMetaV1alpha1
}
FakeRenderRawGraphs implements RenderRawGraphInterface
func (*FakeRenderRawGraphs) Create ¶ added in v0.17.18
func (c *FakeRenderRawGraphs) Create(ctx context.Context, renderRawGraph *v1alpha1.RenderRawGraph, opts v1.CreateOptions) (result *v1alpha1.RenderRawGraph, err error)
Create takes the representation of a renderRawGraph and creates it. Returns the server's representation of the renderRawGraph, and an error, if there is any.
type FakeRenders ¶ added in v0.17.18
type FakeRenders struct {
Fake *FakeMetaV1alpha1
}
FakeRenders implements RenderInterface
func (*FakeRenders) Create ¶ added in v0.17.18
func (c *FakeRenders) Create(ctx context.Context, render *v1alpha1.Render, opts v1.CreateOptions) (result *v1alpha1.Render, err error)
Create takes the representation of a render and creates it. Returns the server's representation of the render, and an error, if there is any.
type FakeResourceBlockDefinitions ¶ added in v0.17.18
type FakeResourceBlockDefinitions struct {
Fake *FakeMetaV1alpha1
}
FakeResourceBlockDefinitions implements ResourceBlockDefinitionInterface
func (*FakeResourceBlockDefinitions) Get ¶ added in v0.17.18
func (c *FakeResourceBlockDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceBlockDefinition, err error)
Get takes name of the resourceBlockDefinition, and returns the corresponding resourceBlockDefinition object, and an error if there is any.
type FakeResourceCalculators ¶ added in v0.17.19
type FakeResourceCalculators struct {
Fake *FakeMetaV1alpha1
}
FakeResourceCalculators implements ResourceCalculatorInterface
func (*FakeResourceCalculators) Create ¶ added in v0.17.19
func (c *FakeResourceCalculators) Create(ctx context.Context, resourceCalculator *v1alpha1.ResourceCalculator, opts v1.CreateOptions) (result *v1alpha1.ResourceCalculator, err error)
Create takes the representation of a resourceCalculator and creates it. Returns the server's representation of the resourceCalculator, and an error, if there is any.
type FakeResourceDescriptors ¶
type FakeResourceDescriptors struct {
Fake *FakeMetaV1alpha1
}
FakeResourceDescriptors implements ResourceDescriptorInterface
func (*FakeResourceDescriptors) Get ¶
func (c *FakeResourceDescriptors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceDescriptor, err error)
Get takes name of the resourceDescriptor, and returns the corresponding resourceDescriptor object, and an error if there is any.
type FakeResourceEditors ¶ added in v0.18.2
type FakeResourceEditors struct {
Fake *FakeMetaV1alpha1
}
FakeResourceEditors implements ResourceEditorInterface
func (*FakeResourceEditors) Create ¶ added in v0.18.2
func (c *FakeResourceEditors) Create(ctx context.Context, resourceEditor *v1alpha1.ResourceEditor, opts v1.CreateOptions) (result *v1alpha1.ResourceEditor, err error)
Create takes the representation of a resourceEditor and creates it. Returns the server's representation of the resourceEditor, and an error, if there is any.
func (*FakeResourceEditors) Delete ¶ added in v0.18.2
func (c *FakeResourceEditors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceEditor and deletes it. Returns an error if one occurs.
func (*FakeResourceEditors) DeleteCollection ¶ added in v0.18.2
func (c *FakeResourceEditors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceEditors) Get ¶ added in v0.18.2
func (c *FakeResourceEditors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceEditor, err error)
Get takes name of the resourceEditor, and returns the corresponding resourceEditor object, and an error if there is any.
func (*FakeResourceEditors) List ¶ added in v0.18.2
func (c *FakeResourceEditors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceEditorList, err error)
List takes label and field selectors, and returns the list of ResourceEditors that match those selectors.
func (*FakeResourceEditors) Patch ¶ added in v0.18.2
func (c *FakeResourceEditors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceEditor, err error)
Patch applies the patch and returns the patched resourceEditor.
func (*FakeResourceEditors) Update ¶ added in v0.18.2
func (c *FakeResourceEditors) Update(ctx context.Context, resourceEditor *v1alpha1.ResourceEditor, opts v1.UpdateOptions) (result *v1alpha1.ResourceEditor, err error)
Update takes the representation of a resourceEditor and updates it. Returns the server's representation of the resourceEditor, and an error, if there is any.
func (*FakeResourceEditors) Watch ¶ added in v0.18.2
func (c *FakeResourceEditors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceEditors.
type FakeResourceGraphs ¶ added in v0.17.18
type FakeResourceGraphs struct {
Fake *FakeMetaV1alpha1
}
FakeResourceGraphs implements ResourceGraphInterface
func (*FakeResourceGraphs) Create ¶ added in v0.17.18
func (c *FakeResourceGraphs) Create(ctx context.Context, resourceGraph *v1alpha1.ResourceGraph, opts v1.CreateOptions) (result *v1alpha1.ResourceGraph, err error)
Create takes the representation of a resourceGraph and creates it. Returns the server's representation of the resourceGraph, and an error, if there is any.
type FakeResourceLayouts ¶ added in v0.17.18
type FakeResourceLayouts struct {
Fake *FakeMetaV1alpha1
}
FakeResourceLayouts implements ResourceLayoutInterface
func (*FakeResourceLayouts) Get ¶ added in v0.17.18
func (c *FakeResourceLayouts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceLayout, err error)
Get takes name of the resourceLayout, and returns the corresponding resourceLayout object, and an error if there is any.
type FakeResourceOutlines ¶ added in v0.17.18
type FakeResourceOutlines struct {
Fake *FakeMetaV1alpha1
}
FakeResourceOutlines implements ResourceOutlineInterface
func (*FakeResourceOutlines) Get ¶ added in v0.17.18
func (c *FakeResourceOutlines) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceOutline, err error)
Get takes name of the resourceOutline, and returns the corresponding resourceOutline object, and an error if there is any.
type FakeResourceQueries ¶ added in v0.17.18
type FakeResourceQueries struct {
Fake *FakeMetaV1alpha1
}
FakeResourceQueries implements ResourceQueryInterface
func (*FakeResourceQueries) Create ¶ added in v0.17.18
func (c *FakeResourceQueries) Create(ctx context.Context, resourceQuery *v1alpha1.ResourceQuery, opts v1.CreateOptions) (result *v1alpha1.ResourceQuery, err error)
Create takes the representation of a resourceQuery and creates it. Returns the server's representation of the resourceQuery, and an error, if there is any.
type FakeResourceTableDefinitions ¶ added in v0.17.18
type FakeResourceTableDefinitions struct {
Fake *FakeMetaV1alpha1
}
FakeResourceTableDefinitions implements ResourceTableDefinitionInterface
func (*FakeResourceTableDefinitions) Get ¶ added in v0.17.18
func (c *FakeResourceTableDefinitions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceTableDefinition, err error)
Get takes name of the resourceTableDefinition, and returns the corresponding resourceTableDefinition object, and an error if there is any.
Source Files ¶
- doc.go
- fake_chartpresetquery.go
- fake_clusterstatus.go
- fake_menuoutline.go
- fake_meta_client.go
- fake_render.go
- fake_renderdashboard.go
- fake_rendermenu.go
- fake_renderrawgraph.go
- fake_resourceblockdefinition.go
- fake_resourcecalculator.go
- fake_resourcedescriptor.go
- fake_resourceeditor.go
- fake_resourcegraph.go
- fake_resourcelayout.go
- fake_resourceoutline.go
- fake_resourcequery.go
- fake_resourcetabledefinition.go