Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAdmissionWebhookConfigurations
- func (c *FakeAdmissionWebhookConfigurations) Create(admissionWebhookConfiguration *v2.AdmissionWebhookConfiguration) (result *v2.AdmissionWebhookConfiguration, err error)
- func (c *FakeAdmissionWebhookConfigurations) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAdmissionWebhookConfigurations) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAdmissionWebhookConfigurations) Get(name string, options v1.GetOptions) (result *v2.AdmissionWebhookConfiguration, err error)
- func (c *FakeAdmissionWebhookConfigurations) List(opts v1.ListOptions) (result *v2.AdmissionWebhookConfigurationList, err error)
- func (c *FakeAdmissionWebhookConfigurations) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.AdmissionWebhookConfiguration, err error)
- func (c *FakeAdmissionWebhookConfigurations) Update(admissionWebhookConfiguration *v2.AdmissionWebhookConfiguration) (result *v2.AdmissionWebhookConfiguration, err error)
- func (c *FakeAdmissionWebhookConfigurations) UpdateStatus(admissionWebhookConfiguration *v2.AdmissionWebhookConfiguration) (*v2.AdmissionWebhookConfiguration, error)
- func (c *FakeAdmissionWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAgentSchedInfos
- func (c *FakeAgentSchedInfos) Create(agentSchedInfo *v2.AgentSchedInfo) (result *v2.AgentSchedInfo, err error)
- func (c *FakeAgentSchedInfos) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAgentSchedInfos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAgentSchedInfos) Get(name string, options v1.GetOptions) (result *v2.AgentSchedInfo, err error)
- func (c *FakeAgentSchedInfos) List(opts v1.ListOptions) (result *v2.AgentSchedInfoList, err error)
- func (c *FakeAgentSchedInfos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.AgentSchedInfo, err error)
- func (c *FakeAgentSchedInfos) Update(agentSchedInfo *v2.AgentSchedInfo) (result *v2.AgentSchedInfo, err error)
- func (c *FakeAgentSchedInfos) UpdateStatus(agentSchedInfo *v2.AgentSchedInfo) (*v2.AgentSchedInfo, error)
- func (c *FakeAgentSchedInfos) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeAgents
- func (c *FakeAgents) Create(agent *v2.Agent) (result *v2.Agent, err error)
- func (c *FakeAgents) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAgents) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAgents) Get(name string, options v1.GetOptions) (result *v2.Agent, err error)
- func (c *FakeAgents) List(opts v1.ListOptions) (result *v2.AgentList, err error)
- func (c *FakeAgents) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Agent, err error)
- func (c *FakeAgents) Update(agent *v2.Agent) (result *v2.Agent, err error)
- func (c *FakeAgents) UpdateStatus(agent *v2.Agent) (*v2.Agent, error)
- func (c *FakeAgents) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeApplications
- func (c *FakeApplications) Create(application *v2.Application) (result *v2.Application, err error)
- func (c *FakeApplications) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApplications) Get(name string, options v1.GetOptions) (result *v2.Application, err error)
- func (c *FakeApplications) List(opts v1.ListOptions) (result *v2.ApplicationList, err error)
- func (c *FakeApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Application, err error)
- func (c *FakeApplications) Update(application *v2.Application) (result *v2.Application, err error)
- func (c *FakeApplications) UpdateStatus(application *v2.Application) (*v2.Application, error)
- func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBcsClusterAgentSettings
- func (c *FakeBcsClusterAgentSettings) Create(bcsClusterAgentSetting *v2.BcsClusterAgentSetting) (result *v2.BcsClusterAgentSetting, err error)
- func (c *FakeBcsClusterAgentSettings) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBcsClusterAgentSettings) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBcsClusterAgentSettings) Get(name string, options v1.GetOptions) (result *v2.BcsClusterAgentSetting, err error)
- func (c *FakeBcsClusterAgentSettings) List(opts v1.ListOptions) (result *v2.BcsClusterAgentSettingList, err error)
- func (c *FakeBcsClusterAgentSettings) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsClusterAgentSetting, err error)
- func (c *FakeBcsClusterAgentSettings) Update(bcsClusterAgentSetting *v2.BcsClusterAgentSetting) (result *v2.BcsClusterAgentSetting, err error)
- func (c *FakeBcsClusterAgentSettings) UpdateStatus(bcsClusterAgentSetting *v2.BcsClusterAgentSetting) (*v2.BcsClusterAgentSetting, error)
- func (c *FakeBcsClusterAgentSettings) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBcsCommandInfos
- func (c *FakeBcsCommandInfos) Create(bcsCommandInfo *v2.BcsCommandInfo) (result *v2.BcsCommandInfo, err error)
- func (c *FakeBcsCommandInfos) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBcsCommandInfos) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBcsCommandInfos) Get(name string, options v1.GetOptions) (result *v2.BcsCommandInfo, err error)
- func (c *FakeBcsCommandInfos) List(opts v1.ListOptions) (result *v2.BcsCommandInfoList, err error)
- func (c *FakeBcsCommandInfos) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsCommandInfo, err error)
- func (c *FakeBcsCommandInfos) Update(bcsCommandInfo *v2.BcsCommandInfo) (result *v2.BcsCommandInfo, err error)
- func (c *FakeBcsCommandInfos) UpdateStatus(bcsCommandInfo *v2.BcsCommandInfo) (*v2.BcsCommandInfo, error)
- func (c *FakeBcsCommandInfos) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBcsConfigMaps
- func (c *FakeBcsConfigMaps) Create(bcsConfigMap *v2.BcsConfigMap) (result *v2.BcsConfigMap, err error)
- func (c *FakeBcsConfigMaps) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBcsConfigMaps) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBcsConfigMaps) Get(name string, options v1.GetOptions) (result *v2.BcsConfigMap, err error)
- func (c *FakeBcsConfigMaps) List(opts v1.ListOptions) (result *v2.BcsConfigMapList, err error)
- func (c *FakeBcsConfigMaps) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsConfigMap, err error)
- func (c *FakeBcsConfigMaps) Update(bcsConfigMap *v2.BcsConfigMap) (result *v2.BcsConfigMap, err error)
- func (c *FakeBcsConfigMaps) UpdateStatus(bcsConfigMap *v2.BcsConfigMap) (*v2.BcsConfigMap, error)
- func (c *FakeBcsConfigMaps) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBcsDaemonsets
- func (c *FakeBcsDaemonsets) Create(bcsDaemonset *v2.BcsDaemonset) (result *v2.BcsDaemonset, err error)
- func (c *FakeBcsDaemonsets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBcsDaemonsets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBcsDaemonsets) Get(name string, options v1.GetOptions) (result *v2.BcsDaemonset, err error)
- func (c *FakeBcsDaemonsets) List(opts v1.ListOptions) (result *v2.BcsDaemonsetList, err error)
- func (c *FakeBcsDaemonsets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsDaemonset, err error)
- func (c *FakeBcsDaemonsets) Update(bcsDaemonset *v2.BcsDaemonset) (result *v2.BcsDaemonset, err error)
- func (c *FakeBcsDaemonsets) UpdateStatus(bcsDaemonset *v2.BcsDaemonset) (*v2.BcsDaemonset, error)
- func (c *FakeBcsDaemonsets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBcsEndpoints
- func (c *FakeBcsEndpoints) Create(bcsEndpoint *v2.BcsEndpoint) (result *v2.BcsEndpoint, err error)
- func (c *FakeBcsEndpoints) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBcsEndpoints) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBcsEndpoints) Get(name string, options v1.GetOptions) (result *v2.BcsEndpoint, err error)
- func (c *FakeBcsEndpoints) List(opts v1.ListOptions) (result *v2.BcsEndpointList, err error)
- func (c *FakeBcsEndpoints) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsEndpoint, err error)
- func (c *FakeBcsEndpoints) Update(bcsEndpoint *v2.BcsEndpoint) (result *v2.BcsEndpoint, err error)
- func (c *FakeBcsEndpoints) UpdateStatus(bcsEndpoint *v2.BcsEndpoint) (*v2.BcsEndpoint, error)
- func (c *FakeBcsEndpoints) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBcsSecrets
- func (c *FakeBcsSecrets) Create(bcsSecret *v2.BcsSecret) (result *v2.BcsSecret, err error)
- func (c *FakeBcsSecrets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBcsSecrets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBcsSecrets) Get(name string, options v1.GetOptions) (result *v2.BcsSecret, err error)
- func (c *FakeBcsSecrets) List(opts v1.ListOptions) (result *v2.BcsSecretList, err error)
- func (c *FakeBcsSecrets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsSecret, err error)
- func (c *FakeBcsSecrets) Update(bcsSecret *v2.BcsSecret) (result *v2.BcsSecret, err error)
- func (c *FakeBcsSecrets) UpdateStatus(bcsSecret *v2.BcsSecret) (*v2.BcsSecret, error)
- func (c *FakeBcsSecrets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBcsServices
- func (c *FakeBcsServices) Create(bcsService *v2.BcsService) (result *v2.BcsService, err error)
- func (c *FakeBcsServices) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBcsServices) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBcsServices) Get(name string, options v1.GetOptions) (result *v2.BcsService, err error)
- func (c *FakeBcsServices) List(opts v1.ListOptions) (result *v2.BcsServiceList, err error)
- func (c *FakeBcsServices) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.BcsService, err error)
- func (c *FakeBcsServices) Update(bcsService *v2.BcsService) (result *v2.BcsService, err error)
- func (c *FakeBcsServices) UpdateStatus(bcsService *v2.BcsService) (*v2.BcsService, error)
- func (c *FakeBcsServices) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBkbcsV2
- func (c *FakeBkbcsV2) AdmissionWebhookConfigurations(namespace string) v2.AdmissionWebhookConfigurationInterface
- func (c *FakeBkbcsV2) AgentSchedInfos(namespace string) v2.AgentSchedInfoInterface
- func (c *FakeBkbcsV2) Agents(namespace string) v2.AgentInterface
- func (c *FakeBkbcsV2) Applications(namespace string) v2.ApplicationInterface
- func (c *FakeBkbcsV2) BcsClusterAgentSettings(namespace string) v2.BcsClusterAgentSettingInterface
- func (c *FakeBkbcsV2) BcsCommandInfos(namespace string) v2.BcsCommandInfoInterface
- func (c *FakeBkbcsV2) BcsConfigMaps(namespace string) v2.BcsConfigMapInterface
- func (c *FakeBkbcsV2) BcsDaemonsets(namespace string) v2.BcsDaemonsetInterface
- func (c *FakeBkbcsV2) BcsEndpoints(namespace string) v2.BcsEndpointInterface
- func (c *FakeBkbcsV2) BcsSecrets(namespace string) v2.BcsSecretInterface
- func (c *FakeBkbcsV2) BcsServices(namespace string) v2.BcsServiceInterface
- func (c *FakeBkbcsV2) Crds(namespace string) v2.CrdInterface
- func (c *FakeBkbcsV2) Crrs(namespace string) v2.CrrInterface
- func (c *FakeBkbcsV2) Deployments(namespace string) v2.DeploymentInterface
- func (c *FakeBkbcsV2) Frameworks(namespace string) v2.FrameworkInterface
- func (c *FakeBkbcsV2) RESTClient() rest.Interface
- func (c *FakeBkbcsV2) TaskGroups(namespace string) v2.TaskGroupInterface
- func (c *FakeBkbcsV2) Tasks(namespace string) v2.TaskInterface
- func (c *FakeBkbcsV2) Versions(namespace string) v2.VersionInterface
- type FakeCrds
- func (c *FakeCrds) Create(crd *v2.Crd) (result *v2.Crd, err error)
- func (c *FakeCrds) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCrds) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCrds) Get(name string, options v1.GetOptions) (result *v2.Crd, err error)
- func (c *FakeCrds) List(opts v1.ListOptions) (result *v2.CrdList, err error)
- func (c *FakeCrds) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Crd, err error)
- func (c *FakeCrds) Update(crd *v2.Crd) (result *v2.Crd, err error)
- func (c *FakeCrds) UpdateStatus(crd *v2.Crd) (*v2.Crd, error)
- func (c *FakeCrds) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCrrs
- func (c *FakeCrrs) Create(crr *v2.Crr) (result *v2.Crr, err error)
- func (c *FakeCrrs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCrrs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCrrs) Get(name string, options v1.GetOptions) (result *v2.Crr, err error)
- func (c *FakeCrrs) List(opts v1.ListOptions) (result *v2.CrrList, err error)
- func (c *FakeCrrs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Crr, err error)
- func (c *FakeCrrs) Update(crr *v2.Crr) (result *v2.Crr, err error)
- func (c *FakeCrrs) UpdateStatus(crr *v2.Crr) (*v2.Crr, error)
- func (c *FakeCrrs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDeployments
- func (c *FakeDeployments) Create(deployment *v2.Deployment) (result *v2.Deployment, err error)
- func (c *FakeDeployments) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDeployments) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDeployments) Get(name string, options v1.GetOptions) (result *v2.Deployment, err error)
- func (c *FakeDeployments) List(opts v1.ListOptions) (result *v2.DeploymentList, err error)
- func (c *FakeDeployments) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Deployment, err error)
- func (c *FakeDeployments) Update(deployment *v2.Deployment) (result *v2.Deployment, err error)
- func (c *FakeDeployments) UpdateStatus(deployment *v2.Deployment) (*v2.Deployment, error)
- func (c *FakeDeployments) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeFrameworks
- func (c *FakeFrameworks) Create(framework *v2.Framework) (result *v2.Framework, err error)
- func (c *FakeFrameworks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeFrameworks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeFrameworks) Get(name string, options v1.GetOptions) (result *v2.Framework, err error)
- func (c *FakeFrameworks) List(opts v1.ListOptions) (result *v2.FrameworkList, err error)
- func (c *FakeFrameworks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Framework, err error)
- func (c *FakeFrameworks) Update(framework *v2.Framework) (result *v2.Framework, err error)
- func (c *FakeFrameworks) UpdateStatus(framework *v2.Framework) (*v2.Framework, error)
- func (c *FakeFrameworks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTaskGroups
- func (c *FakeTaskGroups) Create(taskGroup *v2.TaskGroup) (result *v2.TaskGroup, err error)
- func (c *FakeTaskGroups) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTaskGroups) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTaskGroups) Get(name string, options v1.GetOptions) (result *v2.TaskGroup, err error)
- func (c *FakeTaskGroups) List(opts v1.ListOptions) (result *v2.TaskGroupList, err error)
- func (c *FakeTaskGroups) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.TaskGroup, err error)
- func (c *FakeTaskGroups) Update(taskGroup *v2.TaskGroup) (result *v2.TaskGroup, err error)
- func (c *FakeTaskGroups) UpdateStatus(taskGroup *v2.TaskGroup) (*v2.TaskGroup, error)
- func (c *FakeTaskGroups) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeTasks
- func (c *FakeTasks) Create(task *v2.Task) (result *v2.Task, err error)
- func (c *FakeTasks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTasks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTasks) Get(name string, options v1.GetOptions) (result *v2.Task, err error)
- func (c *FakeTasks) List(opts v1.ListOptions) (result *v2.TaskList, err error)
- func (c *FakeTasks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Task, err error)
- func (c *FakeTasks) Update(task *v2.Task) (result *v2.Task, err error)
- func (c *FakeTasks) UpdateStatus(task *v2.Task) (*v2.Task, error)
- func (c *FakeTasks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeVersions
- func (c *FakeVersions) Create(version *v2.Version) (result *v2.Version, err error)
- func (c *FakeVersions) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVersions) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVersions) Get(name string, options v1.GetOptions) (result *v2.Version, err error)
- func (c *FakeVersions) List(opts v1.ListOptions) (result *v2.VersionList, err error)
- func (c *FakeVersions) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v2.Version, err error)
- func (c *FakeVersions) Update(version *v2.Version) (result *v2.Version, err error)
- func (c *FakeVersions) UpdateStatus(version *v2.Version) (*v2.Version, error)
- func (c *FakeVersions) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeAdmissionWebhookConfigurations) Delete(name string, options *v1.DeleteOptions) error
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 ¶
func (c *FakeAdmissionWebhookConfigurations) Get(name string, options v1.GetOptions) (result *v2.AdmissionWebhookConfiguration, err error)
Get takes name of the admissionWebhookConfiguration, and returns the corresponding admissionWebhookConfiguration object, and an error if there is any.
func (*FakeAdmissionWebhookConfigurations) List ¶
func (c *FakeAdmissionWebhookConfigurations) List(opts v1.ListOptions) (result *v2.AdmissionWebhookConfigurationList, err error)
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 ¶
func (c *FakeAdmissionWebhookConfigurations) UpdateStatus(admissionWebhookConfiguration *v2.AdmissionWebhookConfiguration) (*v2.AdmissionWebhookConfiguration, error)
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 ¶
func (c *FakeAdmissionWebhookConfigurations) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeAgentSchedInfos) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
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 ¶
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 ¶
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 ¶
func (c *FakeBcsClusterAgentSettings) List(opts v1.ListOptions) (result *v2.BcsClusterAgentSettingList, err error)
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 ¶
func (c *FakeBcsClusterAgentSettings) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeBcsCommandInfos) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeBcsConfigMaps) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeBcsDaemonsets) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Get takes name of the crd, and returns the corresponding crd object, and an error if there is any.
func (*FakeCrds) List ¶
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 ¶
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 ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeCrrs ¶
type FakeCrrs struct { Fake *FakeBkbcsV2 // contains filtered or unexported fields }
FakeCrrs implements CrrInterface
func (*FakeCrrs) Create ¶
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 ¶
Get takes name of the crr, and returns the corresponding crr object, and an error if there is any.
func (*FakeCrrs) List ¶
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 ¶
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 ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
Get takes name of the task, and returns the corresponding task object, and an error if there is any.
func (*FakeTasks) List ¶
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 ¶
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 ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
type FakeVersions ¶
type FakeVersions struct { Fake *FakeBkbcsV2 // contains filtered or unexported fields }
FakeVersions implements VersionInterface
func (*FakeVersions) Create ¶
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 ¶
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 ¶
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.
Source Files
¶
- doc.go
- fake_admissionwebhookconfiguration.go
- fake_agent.go
- fake_agentschedinfo.go
- fake_application.go
- fake_bcsclusteragentsetting.go
- fake_bcscommandinfo.go
- fake_bcsconfigmap.go
- fake_bcsdaemonset.go
- fake_bcsendpoint.go
- fake_bcssecret.go
- fake_bcsservice.go
- fake_bkbcs_client.go
- fake_crd.go
- fake_crr.go
- fake_deployment.go
- fake_framework.go
- fake_task.go
- fake_taskgroup.go
- fake_version.go