fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAgentManagementAgentInstallKeys

type FakeAgentManagementAgentInstallKeys struct {
	Fake *FakeManagementV1alpha1
	// contains filtered or unexported fields
}

FakeAgentManagementAgentInstallKeys implements AgentManagementAgentInstallKeyInterface

func (*FakeAgentManagementAgentInstallKeys) Create

Create takes the representation of a agentManagementAgentInstallKey and creates it. Returns the server's representation of the agentManagementAgentInstallKey, and an error, if there is any.

func (*FakeAgentManagementAgentInstallKeys) Delete

Delete takes name of the agentManagementAgentInstallKey and deletes it. Returns an error if one occurs.

func (*FakeAgentManagementAgentInstallKeys) DeleteCollection

func (c *FakeAgentManagementAgentInstallKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAgentManagementAgentInstallKeys) Get

Get takes name of the agentManagementAgentInstallKey, and returns the corresponding agentManagementAgentInstallKey object, and an error if there is any.

func (*FakeAgentManagementAgentInstallKeys) List

List takes label and field selectors, and returns the list of AgentManagementAgentInstallKeys that match those selectors.

func (*FakeAgentManagementAgentInstallKeys) Patch

func (c *FakeAgentManagementAgentInstallKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AgentManagementAgentInstallKey, err error)

Patch applies the patch and returns the patched agentManagementAgentInstallKey.

func (*FakeAgentManagementAgentInstallKeys) Update

Update takes the representation of a agentManagementAgentInstallKey and updates it. Returns the server's representation of the agentManagementAgentInstallKey, and an error, if there is any.

func (*FakeAgentManagementAgentInstallKeys) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAgentManagementAgentInstallKeys) Watch

Watch returns a watch.Interface that watches the requested agentManagementAgentInstallKeys.

type FakeAgentManagementAgents

type FakeAgentManagementAgents struct {
	Fake *FakeManagementV1alpha1
	// contains filtered or unexported fields
}

FakeAgentManagementAgents implements AgentManagementAgentInterface

func (*FakeAgentManagementAgents) Create

func (c *FakeAgentManagementAgents) Create(ctx context.Context, agentManagementAgent *v1alpha1.AgentManagementAgent, opts v1.CreateOptions) (result *v1alpha1.AgentManagementAgent, err error)

Create takes the representation of a agentManagementAgent and creates it. Returns the server's representation of the agentManagementAgent, and an error, if there is any.

func (*FakeAgentManagementAgents) Delete

Delete takes name of the agentManagementAgent and deletes it. Returns an error if one occurs.

func (*FakeAgentManagementAgents) DeleteCollection

func (c *FakeAgentManagementAgents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAgentManagementAgents) Get

Get takes name of the agentManagementAgent, and returns the corresponding agentManagementAgent object, and an error if there is any.

func (*FakeAgentManagementAgents) List

List takes label and field selectors, and returns the list of AgentManagementAgents that match those selectors.

func (*FakeAgentManagementAgents) Patch

func (c *FakeAgentManagementAgents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AgentManagementAgent, err error)

Patch applies the patch and returns the patched agentManagementAgent.

func (*FakeAgentManagementAgents) Update

func (c *FakeAgentManagementAgents) Update(ctx context.Context, agentManagementAgent *v1alpha1.AgentManagementAgent, opts v1.UpdateOptions) (result *v1alpha1.AgentManagementAgent, err error)

Update takes the representation of a agentManagementAgent and updates it. Returns the server's representation of the agentManagementAgent, and an error, if there is any.

func (*FakeAgentManagementAgents) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAgentManagementAgents) Watch

Watch returns a watch.Interface that watches the requested agentManagementAgents.

type FakeDashboardManagementDashboardsImports

type FakeDashboardManagementDashboardsImports struct {
	Fake *FakeManagementV1alpha1
	// contains filtered or unexported fields
}

FakeDashboardManagementDashboardsImports implements DashboardManagementDashboardsImportInterface

func (*FakeDashboardManagementDashboardsImports) Create

Create takes the representation of a dashboardManagementDashboardsImport and creates it. Returns the server's representation of the dashboardManagementDashboardsImport, and an error, if there is any.

func (*FakeDashboardManagementDashboardsImports) Delete

Delete takes name of the dashboardManagementDashboardsImport and deletes it. Returns an error if one occurs.

func (*FakeDashboardManagementDashboardsImports) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeDashboardManagementDashboardsImports) Get

Get takes name of the dashboardManagementDashboardsImport, and returns the corresponding dashboardManagementDashboardsImport object, and an error if there is any.

func (*FakeDashboardManagementDashboardsImports) List

List takes label and field selectors, and returns the list of DashboardManagementDashboardsImports that match those selectors.

func (*FakeDashboardManagementDashboardsImports) Patch

Patch applies the patch and returns the patched dashboardManagementDashboardsImport.

func (*FakeDashboardManagementDashboardsImports) Update

Update takes the representation of a dashboardManagementDashboardsImport and updates it. Returns the server's representation of the dashboardManagementDashboardsImport, and an error, if there is any.

func (*FakeDashboardManagementDashboardsImports) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeDashboardManagementDashboardsImports) Watch

Watch returns a watch.Interface that watches the requested dashboardManagementDashboardsImports.

type FakeManagementV1alpha1

type FakeManagementV1alpha1 struct {
	*testing.Fake
}

func (*FakeManagementV1alpha1) AgentManagementAgentInstallKeys

func (c *FakeManagementV1alpha1) AgentManagementAgentInstallKeys(namespace string) v1alpha1.AgentManagementAgentInstallKeyInterface

func (*FakeManagementV1alpha1) AgentManagementAgents

func (c *FakeManagementV1alpha1) AgentManagementAgents(namespace string) v1alpha1.AgentManagementAgentInterface

func (*FakeManagementV1alpha1) DashboardManagementDashboardsImports

func (c *FakeManagementV1alpha1) DashboardManagementDashboardsImports(namespace string) v1alpha1.DashboardManagementDashboardsImportInterface

func (*FakeManagementV1alpha1) RESTClient

func (c *FakeManagementV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL