fake

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 9 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 FakeAdmissionWebhookConfigurations

type FakeAdmissionWebhookConfigurations struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeAdmissionWebhookConfigurations implements AdmissionWebhookConfigurationInterface

func (*FakeAdmissionWebhookConfigurations) Create

func (c *FakeAdmissionWebhookConfigurations) Create(admissionWebhookConfiguration *v2.AdmissionWebhookConfiguration) (result *v2.AdmissionWebhookConfiguration, err error)

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

func (*FakeAdmissionWebhookConfigurations) Delete

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

func (*FakeAdmissionWebhookConfigurations) DeleteCollection

func (c *FakeAdmissionWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAdmissionWebhookConfigurations) Get

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

func (*FakeAdmissionWebhookConfigurations) List

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

func (*FakeAdmissionWebhookConfigurations) Patch

func (c *FakeAdmissionWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.AdmissionWebhookConfiguration, err error)

Patch applies the patch and returns the patched admissionWebhookConfiguration.

func (*FakeAdmissionWebhookConfigurations) Update

func (c *FakeAdmissionWebhookConfigurations) Update(admissionWebhookConfiguration *v2.AdmissionWebhookConfiguration) (result *v2.AdmissionWebhookConfiguration, err error)

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

func (*FakeAdmissionWebhookConfigurations) UpdateStatus

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

func (*FakeAdmissionWebhookConfigurations) Watch

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

type FakeAgentSchedInfos

type FakeAgentSchedInfos struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeAgentSchedInfos implements AgentSchedInfoInterface

func (*FakeAgentSchedInfos) Create

func (c *FakeAgentSchedInfos) Create(agentSchedInfo *v2.AgentSchedInfo) (result *v2.AgentSchedInfo, err error)

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

func (*FakeAgentSchedInfos) Delete

func (c *FakeAgentSchedInfos) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAgentSchedInfos) DeleteCollection

func (c *FakeAgentSchedInfos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAgentSchedInfos) Get

func (c *FakeAgentSchedInfos) Get(name string, options v1.GetOptions) (result *v2.AgentSchedInfo, err error)

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

func (*FakeAgentSchedInfos) List

func (c *FakeAgentSchedInfos) List(opts v1.ListOptions) (result *v2.AgentSchedInfoList, err error)

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

func (*FakeAgentSchedInfos) Patch

func (c *FakeAgentSchedInfos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.AgentSchedInfo, err error)

Patch applies the patch and returns the patched agentSchedInfo.

func (*FakeAgentSchedInfos) Update

func (c *FakeAgentSchedInfos) Update(agentSchedInfo *v2.AgentSchedInfo) (result *v2.AgentSchedInfo, err error)

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

func (*FakeAgentSchedInfos) UpdateStatus

func (c *FakeAgentSchedInfos) UpdateStatus(agentSchedInfo *v2.AgentSchedInfo) (*v2.AgentSchedInfo, error)

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

func (*FakeAgentSchedInfos) Watch

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

type FakeAgents

type FakeAgents struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeAgents implements AgentInterface

func (*FakeAgents) Create

func (c *FakeAgents) Create(agent *v2.Agent) (result *v2.Agent, err error)

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

func (*FakeAgents) Delete

func (c *FakeAgents) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeAgents) DeleteCollection

func (c *FakeAgents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAgents) Get

func (c *FakeAgents) Get(name string, options v1.GetOptions) (result *v2.Agent, err error)

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

func (*FakeAgents) List

func (c *FakeAgents) List(opts v1.ListOptions) (result *v2.AgentList, err error)

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

func (*FakeAgents) Patch

func (c *FakeAgents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Agent, err error)

Patch applies the patch and returns the patched agent.

func (*FakeAgents) Update

func (c *FakeAgents) Update(agent *v2.Agent) (result *v2.Agent, err error)

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

func (*FakeAgents) UpdateStatus

func (c *FakeAgents) UpdateStatus(agent *v2.Agent) (*v2.Agent, error)

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

func (*FakeAgents) Watch

func (c *FakeAgents) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeApplications

type FakeApplications struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeApplications implements ApplicationInterface

func (*FakeApplications) Create

func (c *FakeApplications) Create(application *v2.Application) (result *v2.Application, err error)

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

func (*FakeApplications) Delete

func (c *FakeApplications) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeApplications) DeleteCollection

func (c *FakeApplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeApplications) Get

func (c *FakeApplications) Get(name string, options v1.GetOptions) (result *v2.Application, err error)

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

func (*FakeApplications) List

func (c *FakeApplications) List(opts v1.ListOptions) (result *v2.ApplicationList, err error)

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

func (*FakeApplications) Patch

func (c *FakeApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Application, err error)

Patch applies the patch and returns the patched application.

func (*FakeApplications) Update

func (c *FakeApplications) Update(application *v2.Application) (result *v2.Application, err error)

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

func (*FakeApplications) UpdateStatus

func (c *FakeApplications) UpdateStatus(application *v2.Application) (*v2.Application, error)

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

func (*FakeApplications) Watch

func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeBcsClusterAgentSettings

type FakeBcsClusterAgentSettings struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeBcsClusterAgentSettings implements BcsClusterAgentSettingInterface

func (*FakeBcsClusterAgentSettings) Create

func (c *FakeBcsClusterAgentSettings) Create(bcsClusterAgentSetting *v2.BcsClusterAgentSetting) (result *v2.BcsClusterAgentSetting, err error)

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

func (*FakeBcsClusterAgentSettings) Delete

func (c *FakeBcsClusterAgentSettings) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBcsClusterAgentSettings) DeleteCollection

func (c *FakeBcsClusterAgentSettings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBcsClusterAgentSettings) Get

func (c *FakeBcsClusterAgentSettings) Get(name string, options v1.GetOptions) (result *v2.BcsClusterAgentSetting, err error)

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

func (*FakeBcsClusterAgentSettings) List

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

func (*FakeBcsClusterAgentSettings) Patch

func (c *FakeBcsClusterAgentSettings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsClusterAgentSetting, err error)

Patch applies the patch and returns the patched bcsClusterAgentSetting.

func (*FakeBcsClusterAgentSettings) Update

func (c *FakeBcsClusterAgentSettings) Update(bcsClusterAgentSetting *v2.BcsClusterAgentSetting) (result *v2.BcsClusterAgentSetting, err error)

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

func (*FakeBcsClusterAgentSettings) UpdateStatus

func (c *FakeBcsClusterAgentSettings) UpdateStatus(bcsClusterAgentSetting *v2.BcsClusterAgentSetting) (*v2.BcsClusterAgentSetting, error)

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

func (*FakeBcsClusterAgentSettings) Watch

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

type FakeBcsCommandInfos

type FakeBcsCommandInfos struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeBcsCommandInfos implements BcsCommandInfoInterface

func (*FakeBcsCommandInfos) Create

func (c *FakeBcsCommandInfos) Create(bcsCommandInfo *v2.BcsCommandInfo) (result *v2.BcsCommandInfo, err error)

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

func (*FakeBcsCommandInfos) Delete

func (c *FakeBcsCommandInfos) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBcsCommandInfos) DeleteCollection

func (c *FakeBcsCommandInfos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBcsCommandInfos) Get

func (c *FakeBcsCommandInfos) Get(name string, options v1.GetOptions) (result *v2.BcsCommandInfo, err error)

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

func (*FakeBcsCommandInfos) List

func (c *FakeBcsCommandInfos) List(opts v1.ListOptions) (result *v2.BcsCommandInfoList, err error)

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

func (*FakeBcsCommandInfos) Patch

func (c *FakeBcsCommandInfos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsCommandInfo, err error)

Patch applies the patch and returns the patched bcsCommandInfo.

func (*FakeBcsCommandInfos) Update

func (c *FakeBcsCommandInfos) Update(bcsCommandInfo *v2.BcsCommandInfo) (result *v2.BcsCommandInfo, err error)

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

func (*FakeBcsCommandInfos) UpdateStatus

func (c *FakeBcsCommandInfos) UpdateStatus(bcsCommandInfo *v2.BcsCommandInfo) (*v2.BcsCommandInfo, error)

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

func (*FakeBcsCommandInfos) Watch

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

type FakeBcsConfigMaps

type FakeBcsConfigMaps struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeBcsConfigMaps implements BcsConfigMapInterface

func (*FakeBcsConfigMaps) Create

func (c *FakeBcsConfigMaps) Create(bcsConfigMap *v2.BcsConfigMap) (result *v2.BcsConfigMap, err error)

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

func (*FakeBcsConfigMaps) Delete

func (c *FakeBcsConfigMaps) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBcsConfigMaps) DeleteCollection

func (c *FakeBcsConfigMaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBcsConfigMaps) Get

func (c *FakeBcsConfigMaps) Get(name string, options v1.GetOptions) (result *v2.BcsConfigMap, err error)

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

func (*FakeBcsConfigMaps) List

func (c *FakeBcsConfigMaps) List(opts v1.ListOptions) (result *v2.BcsConfigMapList, err error)

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

func (*FakeBcsConfigMaps) Patch

func (c *FakeBcsConfigMaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsConfigMap, err error)

Patch applies the patch and returns the patched bcsConfigMap.

func (*FakeBcsConfigMaps) Update

func (c *FakeBcsConfigMaps) Update(bcsConfigMap *v2.BcsConfigMap) (result *v2.BcsConfigMap, err error)

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

func (*FakeBcsConfigMaps) UpdateStatus

func (c *FakeBcsConfigMaps) UpdateStatus(bcsConfigMap *v2.BcsConfigMap) (*v2.BcsConfigMap, error)

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

func (*FakeBcsConfigMaps) Watch

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

type FakeBcsDaemonsets

type FakeBcsDaemonsets struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeBcsDaemonsets implements BcsDaemonsetInterface

func (*FakeBcsDaemonsets) Create

func (c *FakeBcsDaemonsets) Create(bcsDaemonset *v2.BcsDaemonset) (result *v2.BcsDaemonset, err error)

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

func (*FakeBcsDaemonsets) Delete

func (c *FakeBcsDaemonsets) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBcsDaemonsets) DeleteCollection

func (c *FakeBcsDaemonsets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBcsDaemonsets) Get

func (c *FakeBcsDaemonsets) Get(name string, options v1.GetOptions) (result *v2.BcsDaemonset, err error)

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

func (*FakeBcsDaemonsets) List

func (c *FakeBcsDaemonsets) List(opts v1.ListOptions) (result *v2.BcsDaemonsetList, err error)

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

func (*FakeBcsDaemonsets) Patch

func (c *FakeBcsDaemonsets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsDaemonset, err error)

Patch applies the patch and returns the patched bcsDaemonset.

func (*FakeBcsDaemonsets) Update

func (c *FakeBcsDaemonsets) Update(bcsDaemonset *v2.BcsDaemonset) (result *v2.BcsDaemonset, err error)

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

func (*FakeBcsDaemonsets) UpdateStatus

func (c *FakeBcsDaemonsets) UpdateStatus(bcsDaemonset *v2.BcsDaemonset) (*v2.BcsDaemonset, error)

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

func (*FakeBcsDaemonsets) Watch

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

type FakeBcsEndpoints

type FakeBcsEndpoints struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeBcsEndpoints implements BcsEndpointInterface

func (*FakeBcsEndpoints) Create

func (c *FakeBcsEndpoints) Create(bcsEndpoint *v2.BcsEndpoint) (result *v2.BcsEndpoint, err error)

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

func (*FakeBcsEndpoints) Delete

func (c *FakeBcsEndpoints) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBcsEndpoints) DeleteCollection

func (c *FakeBcsEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBcsEndpoints) Get

func (c *FakeBcsEndpoints) Get(name string, options v1.GetOptions) (result *v2.BcsEndpoint, err error)

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

func (*FakeBcsEndpoints) List

func (c *FakeBcsEndpoints) List(opts v1.ListOptions) (result *v2.BcsEndpointList, err error)

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

func (*FakeBcsEndpoints) Patch

func (c *FakeBcsEndpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsEndpoint, err error)

Patch applies the patch and returns the patched bcsEndpoint.

func (*FakeBcsEndpoints) Update

func (c *FakeBcsEndpoints) Update(bcsEndpoint *v2.BcsEndpoint) (result *v2.BcsEndpoint, err error)

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

func (*FakeBcsEndpoints) UpdateStatus

func (c *FakeBcsEndpoints) UpdateStatus(bcsEndpoint *v2.BcsEndpoint) (*v2.BcsEndpoint, error)

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

func (*FakeBcsEndpoints) Watch

func (c *FakeBcsEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeBcsSecrets

type FakeBcsSecrets struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeBcsSecrets implements BcsSecretInterface

func (*FakeBcsSecrets) Create

func (c *FakeBcsSecrets) Create(bcsSecret *v2.BcsSecret) (result *v2.BcsSecret, err error)

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

func (*FakeBcsSecrets) Delete

func (c *FakeBcsSecrets) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBcsSecrets) DeleteCollection

func (c *FakeBcsSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBcsSecrets) Get

func (c *FakeBcsSecrets) Get(name string, options v1.GetOptions) (result *v2.BcsSecret, err error)

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

func (*FakeBcsSecrets) List

func (c *FakeBcsSecrets) List(opts v1.ListOptions) (result *v2.BcsSecretList, err error)

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

func (*FakeBcsSecrets) Patch

func (c *FakeBcsSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsSecret, err error)

Patch applies the patch and returns the patched bcsSecret.

func (*FakeBcsSecrets) Update

func (c *FakeBcsSecrets) Update(bcsSecret *v2.BcsSecret) (result *v2.BcsSecret, err error)

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

func (*FakeBcsSecrets) UpdateStatus

func (c *FakeBcsSecrets) UpdateStatus(bcsSecret *v2.BcsSecret) (*v2.BcsSecret, error)

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

func (*FakeBcsSecrets) Watch

func (c *FakeBcsSecrets) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeBcsServices

type FakeBcsServices struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeBcsServices implements BcsServiceInterface

func (*FakeBcsServices) Create

func (c *FakeBcsServices) Create(bcsService *v2.BcsService) (result *v2.BcsService, err error)

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

func (*FakeBcsServices) Delete

func (c *FakeBcsServices) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeBcsServices) DeleteCollection

func (c *FakeBcsServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeBcsServices) Get

func (c *FakeBcsServices) Get(name string, options v1.GetOptions) (result *v2.BcsService, err error)

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

func (*FakeBcsServices) List

func (c *FakeBcsServices) List(opts v1.ListOptions) (result *v2.BcsServiceList, err error)

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

func (*FakeBcsServices) Patch

func (c *FakeBcsServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsService, err error)

Patch applies the patch and returns the patched bcsService.

func (*FakeBcsServices) Update

func (c *FakeBcsServices) Update(bcsService *v2.BcsService) (result *v2.BcsService, err error)

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

func (*FakeBcsServices) UpdateStatus

func (c *FakeBcsServices) UpdateStatus(bcsService *v2.BcsService) (*v2.BcsService, error)

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

func (*FakeBcsServices) Watch

func (c *FakeBcsServices) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeBkbcsV2

type FakeBkbcsV2 struct {
	*testing.Fake
}

func (*FakeBkbcsV2) AdmissionWebhookConfigurations

func (c *FakeBkbcsV2) AdmissionWebhookConfigurations(namespace string) v2.AdmissionWebhookConfigurationInterface

func (*FakeBkbcsV2) AgentSchedInfos

func (c *FakeBkbcsV2) AgentSchedInfos(namespace string) v2.AgentSchedInfoInterface

func (*FakeBkbcsV2) Agents

func (c *FakeBkbcsV2) Agents(namespace string) v2.AgentInterface

func (*FakeBkbcsV2) Applications

func (c *FakeBkbcsV2) Applications(namespace string) v2.ApplicationInterface

func (*FakeBkbcsV2) BcsClusterAgentSettings

func (c *FakeBkbcsV2) BcsClusterAgentSettings(namespace string) v2.BcsClusterAgentSettingInterface

func (*FakeBkbcsV2) BcsCommandInfos

func (c *FakeBkbcsV2) BcsCommandInfos(namespace string) v2.BcsCommandInfoInterface

func (*FakeBkbcsV2) BcsConfigMaps

func (c *FakeBkbcsV2) BcsConfigMaps(namespace string) v2.BcsConfigMapInterface

func (*FakeBkbcsV2) BcsDaemonsets

func (c *FakeBkbcsV2) BcsDaemonsets(namespace string) v2.BcsDaemonsetInterface

func (*FakeBkbcsV2) BcsEndpoints

func (c *FakeBkbcsV2) BcsEndpoints(namespace string) v2.BcsEndpointInterface

func (*FakeBkbcsV2) BcsSecrets

func (c *FakeBkbcsV2) BcsSecrets(namespace string) v2.BcsSecretInterface

func (*FakeBkbcsV2) BcsServices

func (c *FakeBkbcsV2) BcsServices(namespace string) v2.BcsServiceInterface

func (*FakeBkbcsV2) Crds

func (c *FakeBkbcsV2) Crds(namespace string) v2.CrdInterface

func (*FakeBkbcsV2) Crrs

func (c *FakeBkbcsV2) Crrs(namespace string) v2.CrrInterface

func (*FakeBkbcsV2) Deployments

func (c *FakeBkbcsV2) Deployments(namespace string) v2.DeploymentInterface

func (*FakeBkbcsV2) Frameworks

func (c *FakeBkbcsV2) Frameworks(namespace string) v2.FrameworkInterface

func (*FakeBkbcsV2) RESTClient

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

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

func (*FakeBkbcsV2) TaskGroups

func (c *FakeBkbcsV2) TaskGroups(namespace string) v2.TaskGroupInterface

func (*FakeBkbcsV2) Tasks

func (c *FakeBkbcsV2) Tasks(namespace string) v2.TaskInterface

func (*FakeBkbcsV2) Versions

func (c *FakeBkbcsV2) Versions(namespace string) v2.VersionInterface

type FakeCrds

type FakeCrds struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeCrds implements CrdInterface

func (*FakeCrds) Create

func (c *FakeCrds) Create(crd *v2.Crd) (result *v2.Crd, err error)

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

func (*FakeCrds) Delete

func (c *FakeCrds) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeCrds) DeleteCollection

func (c *FakeCrds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCrds) Get

func (c *FakeCrds) Get(name string, options v1.GetOptions) (result *v2.Crd, err error)

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

func (*FakeCrds) List

func (c *FakeCrds) List(opts v1.ListOptions) (result *v2.CrdList, err error)

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

func (*FakeCrds) Patch

func (c *FakeCrds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Crd, err error)

Patch applies the patch and returns the patched crd.

func (*FakeCrds) Update

func (c *FakeCrds) Update(crd *v2.Crd) (result *v2.Crd, err error)

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

func (*FakeCrds) UpdateStatus

func (c *FakeCrds) UpdateStatus(crd *v2.Crd) (*v2.Crd, error)

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

func (*FakeCrds) Watch

func (c *FakeCrds) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeCrrs

type FakeCrrs struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeCrrs implements CrrInterface

func (*FakeCrrs) Create

func (c *FakeCrrs) Create(crr *v2.Crr) (result *v2.Crr, err error)

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

func (*FakeCrrs) Delete

func (c *FakeCrrs) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeCrrs) DeleteCollection

func (c *FakeCrrs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeCrrs) Get

func (c *FakeCrrs) Get(name string, options v1.GetOptions) (result *v2.Crr, err error)

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

func (*FakeCrrs) List

func (c *FakeCrrs) List(opts v1.ListOptions) (result *v2.CrrList, err error)

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

func (*FakeCrrs) Patch

func (c *FakeCrrs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Crr, err error)

Patch applies the patch and returns the patched crr.

func (*FakeCrrs) Update

func (c *FakeCrrs) Update(crr *v2.Crr) (result *v2.Crr, err error)

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

func (*FakeCrrs) UpdateStatus

func (c *FakeCrrs) UpdateStatus(crr *v2.Crr) (*v2.Crr, error)

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

func (*FakeCrrs) Watch

func (c *FakeCrrs) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeDeployments

type FakeDeployments struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeDeployments implements DeploymentInterface

func (*FakeDeployments) Create

func (c *FakeDeployments) Create(deployment *v2.Deployment) (result *v2.Deployment, err error)

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

func (*FakeDeployments) Delete

func (c *FakeDeployments) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeDeployments) DeleteCollection

func (c *FakeDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeDeployments) Get

func (c *FakeDeployments) Get(name string, options v1.GetOptions) (result *v2.Deployment, err error)

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

func (*FakeDeployments) List

func (c *FakeDeployments) List(opts v1.ListOptions) (result *v2.DeploymentList, err error)

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

func (*FakeDeployments) Patch

func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Deployment, err error)

Patch applies the patch and returns the patched deployment.

func (*FakeDeployments) Update

func (c *FakeDeployments) Update(deployment *v2.Deployment) (result *v2.Deployment, err error)

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

func (*FakeDeployments) UpdateStatus

func (c *FakeDeployments) UpdateStatus(deployment *v2.Deployment) (*v2.Deployment, error)

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

func (*FakeDeployments) Watch

func (c *FakeDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeFrameworks

type FakeFrameworks struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeFrameworks implements FrameworkInterface

func (*FakeFrameworks) Create

func (c *FakeFrameworks) Create(framework *v2.Framework) (result *v2.Framework, err error)

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

func (*FakeFrameworks) Delete

func (c *FakeFrameworks) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeFrameworks) DeleteCollection

func (c *FakeFrameworks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeFrameworks) Get

func (c *FakeFrameworks) Get(name string, options v1.GetOptions) (result *v2.Framework, err error)

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

func (*FakeFrameworks) List

func (c *FakeFrameworks) List(opts v1.ListOptions) (result *v2.FrameworkList, err error)

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

func (*FakeFrameworks) Patch

func (c *FakeFrameworks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Framework, err error)

Patch applies the patch and returns the patched framework.

func (*FakeFrameworks) Update

func (c *FakeFrameworks) Update(framework *v2.Framework) (result *v2.Framework, err error)

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

func (*FakeFrameworks) UpdateStatus

func (c *FakeFrameworks) UpdateStatus(framework *v2.Framework) (*v2.Framework, error)

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

func (*FakeFrameworks) Watch

func (c *FakeFrameworks) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeTaskGroups

type FakeTaskGroups struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeTaskGroups implements TaskGroupInterface

func (*FakeTaskGroups) Create

func (c *FakeTaskGroups) Create(taskGroup *v2.TaskGroup) (result *v2.TaskGroup, err error)

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

func (*FakeTaskGroups) Delete

func (c *FakeTaskGroups) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeTaskGroups) DeleteCollection

func (c *FakeTaskGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTaskGroups) Get

func (c *FakeTaskGroups) Get(name string, options v1.GetOptions) (result *v2.TaskGroup, err error)

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

func (*FakeTaskGroups) List

func (c *FakeTaskGroups) List(opts v1.ListOptions) (result *v2.TaskGroupList, err error)

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

func (*FakeTaskGroups) Patch

func (c *FakeTaskGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.TaskGroup, err error)

Patch applies the patch and returns the patched taskGroup.

func (*FakeTaskGroups) Update

func (c *FakeTaskGroups) Update(taskGroup *v2.TaskGroup) (result *v2.TaskGroup, err error)

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

func (*FakeTaskGroups) UpdateStatus

func (c *FakeTaskGroups) UpdateStatus(taskGroup *v2.TaskGroup) (*v2.TaskGroup, error)

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

func (*FakeTaskGroups) Watch

func (c *FakeTaskGroups) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeTasks

type FakeTasks struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeTasks implements TaskInterface

func (*FakeTasks) Create

func (c *FakeTasks) Create(task *v2.Task) (result *v2.Task, err error)

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

func (*FakeTasks) Delete

func (c *FakeTasks) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeTasks) DeleteCollection

func (c *FakeTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTasks) Get

func (c *FakeTasks) Get(name string, options v1.GetOptions) (result *v2.Task, err error)

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

func (*FakeTasks) List

func (c *FakeTasks) List(opts v1.ListOptions) (result *v2.TaskList, err error)

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

func (*FakeTasks) Patch

func (c *FakeTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Task, err error)

Patch applies the patch and returns the patched task.

func (*FakeTasks) Update

func (c *FakeTasks) Update(task *v2.Task) (result *v2.Task, err error)

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

func (*FakeTasks) UpdateStatus

func (c *FakeTasks) UpdateStatus(task *v2.Task) (*v2.Task, error)

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

func (*FakeTasks) Watch

func (c *FakeTasks) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeVersions

type FakeVersions struct {
	Fake *FakeBkbcsV2
	// contains filtered or unexported fields
}

FakeVersions implements VersionInterface

func (*FakeVersions) Create

func (c *FakeVersions) Create(version *v2.Version) (result *v2.Version, err error)

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

func (*FakeVersions) Delete

func (c *FakeVersions) Delete(name string, options *v1.DeleteOptions) error

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

func (*FakeVersions) DeleteCollection

func (c *FakeVersions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeVersions) Get

func (c *FakeVersions) Get(name string, options v1.GetOptions) (result *v2.Version, err error)

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

func (*FakeVersions) List

func (c *FakeVersions) List(opts v1.ListOptions) (result *v2.VersionList, err error)

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

func (*FakeVersions) Patch

func (c *FakeVersions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Version, err error)

Patch applies the patch and returns the patched version.

func (*FakeVersions) Update

func (c *FakeVersions) Update(version *v2.Version) (result *v2.Version, err error)

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

func (*FakeVersions) UpdateStatus

func (c *FakeVersions) UpdateStatus(version *v2.Version) (*v2.Version, error)

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

func (*FakeVersions) Watch

func (c *FakeVersions) Watch(opts v1.ListOptions) (watch.Interface, error)

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

Jump to

Keyboard shortcuts

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