Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeFscV1
- func (c *FakeFscV1) KubeControllersConfigurations(namespace string) v1.KubeControllersConfigurationInterface
- func (c *FakeFscV1) NodeTopologies(namespace string) v1.NodeTopologyInterface
- func (c *FakeFscV1) RESTClient() rest.Interface
- func (c *FakeFscV1) WorkLoads(namespace string) v1.WorkLoadInterface
- type FakeKubeControllersConfigurations
- func (c *FakeKubeControllersConfigurations) Create(ctx context.Context, ...) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
- func (c *FakeKubeControllersConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKubeControllersConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKubeControllersConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
- func (c *FakeKubeControllersConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *fschenderiwbev1.KubeControllersConfigurationList, err error)
- func (c *FakeKubeControllersConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
- func (c *FakeKubeControllersConfigurations) Update(ctx context.Context, ...) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
- func (c *FakeKubeControllersConfigurations) UpdateStatus(ctx context.Context, ...) (*fschenderiwbev1.KubeControllersConfiguration, error)
- func (c *FakeKubeControllersConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeTopologies
- func (c *FakeNodeTopologies) Create(ctx context.Context, nodeTopology *fschenderiwbev1.NodeTopology, ...) (result *fschenderiwbev1.NodeTopology, err error)
- func (c *FakeNodeTopologies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeTopologies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeTopologies) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.NodeTopology, err error)
- func (c *FakeNodeTopologies) List(ctx context.Context, opts v1.ListOptions) (result *fschenderiwbev1.NodeTopologyList, err error)
- func (c *FakeNodeTopologies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *fschenderiwbev1.NodeTopology, err error)
- func (c *FakeNodeTopologies) Update(ctx context.Context, nodeTopology *fschenderiwbev1.NodeTopology, ...) (result *fschenderiwbev1.NodeTopology, err error)
- func (c *FakeNodeTopologies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWorkLoads
- func (c *FakeWorkLoads) Create(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.CreateOptions) (result *fschenderiwbev1.WorkLoad, err error)
- func (c *FakeWorkLoads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeWorkLoads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeWorkLoads) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.WorkLoad, err error)
- func (c *FakeWorkLoads) List(ctx context.Context, opts v1.ListOptions) (result *fschenderiwbev1.WorkLoadList, err error)
- func (c *FakeWorkLoads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *fschenderiwbev1.WorkLoad, err error)
- func (c *FakeWorkLoads) Update(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.UpdateOptions) (result *fschenderiwbev1.WorkLoad, err error)
- func (c *FakeWorkLoads) UpdateStatus(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.UpdateOptions) (*fschenderiwbev1.WorkLoad, error)
- func (c *FakeWorkLoads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeFscV1 ¶
func (*FakeFscV1) KubeControllersConfigurations ¶
func (c *FakeFscV1) KubeControllersConfigurations(namespace string) v1.KubeControllersConfigurationInterface
func (*FakeFscV1) NodeTopologies ¶ added in v0.1.2
func (c *FakeFscV1) NodeTopologies(namespace string) v1.NodeTopologyInterface
func (*FakeFscV1) RESTClient ¶
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeKubeControllersConfigurations ¶
type FakeKubeControllersConfigurations struct { Fake *FakeFscV1 // contains filtered or unexported fields }
FakeKubeControllersConfigurations implements KubeControllersConfigurationInterface
func (*FakeKubeControllersConfigurations) Create ¶
func (c *FakeKubeControllersConfigurations) Create(ctx context.Context, kubeControllersConfiguration *fschenderiwbev1.KubeControllersConfiguration, opts v1.CreateOptions) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
Create takes the representation of a kubeControllersConfiguration and creates it. Returns the server's representation of the kubeControllersConfiguration, and an error, if there is any.
func (*FakeKubeControllersConfigurations) Delete ¶
func (c *FakeKubeControllersConfigurations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the kubeControllersConfiguration and deletes it. Returns an error if one occurs.
func (*FakeKubeControllersConfigurations) DeleteCollection ¶
func (c *FakeKubeControllersConfigurations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKubeControllersConfigurations) Get ¶
func (c *FakeKubeControllersConfigurations) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
Get takes name of the kubeControllersConfiguration, and returns the corresponding kubeControllersConfiguration object, and an error if there is any.
func (*FakeKubeControllersConfigurations) List ¶
func (c *FakeKubeControllersConfigurations) List(ctx context.Context, opts v1.ListOptions) (result *fschenderiwbev1.KubeControllersConfigurationList, err error)
List takes label and field selectors, and returns the list of KubeControllersConfigurations that match those selectors.
func (*FakeKubeControllersConfigurations) Patch ¶
func (c *FakeKubeControllersConfigurations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
Patch applies the patch and returns the patched kubeControllersConfiguration.
func (*FakeKubeControllersConfigurations) Update ¶
func (c *FakeKubeControllersConfigurations) Update(ctx context.Context, kubeControllersConfiguration *fschenderiwbev1.KubeControllersConfiguration, opts v1.UpdateOptions) (result *fschenderiwbev1.KubeControllersConfiguration, err error)
Update takes the representation of a kubeControllersConfiguration and updates it. Returns the server's representation of the kubeControllersConfiguration, and an error, if there is any.
func (*FakeKubeControllersConfigurations) UpdateStatus ¶
func (c *FakeKubeControllersConfigurations) UpdateStatus(ctx context.Context, kubeControllersConfiguration *fschenderiwbev1.KubeControllersConfiguration, opts v1.UpdateOptions) (*fschenderiwbev1.KubeControllersConfiguration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKubeControllersConfigurations) Watch ¶
func (c *FakeKubeControllersConfigurations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kubeControllersConfigurations.
type FakeNodeTopologies ¶ added in v0.1.2
type FakeNodeTopologies struct { Fake *FakeFscV1 // contains filtered or unexported fields }
FakeNodeTopologies implements NodeTopologyInterface
func (*FakeNodeTopologies) Create ¶ added in v0.1.2
func (c *FakeNodeTopologies) Create(ctx context.Context, nodeTopology *fschenderiwbev1.NodeTopology, opts v1.CreateOptions) (result *fschenderiwbev1.NodeTopology, err error)
Create takes the representation of a nodeTopology and creates it. Returns the server's representation of the nodeTopology, and an error, if there is any.
func (*FakeNodeTopologies) Delete ¶ added in v0.1.2
func (c *FakeNodeTopologies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeTopology and deletes it. Returns an error if one occurs.
func (*FakeNodeTopologies) DeleteCollection ¶ added in v0.1.2
func (c *FakeNodeTopologies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeTopologies) Get ¶ added in v0.1.2
func (c *FakeNodeTopologies) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.NodeTopology, err error)
Get takes name of the nodeTopology, and returns the corresponding nodeTopology object, and an error if there is any.
func (*FakeNodeTopologies) List ¶ added in v0.1.2
func (c *FakeNodeTopologies) List(ctx context.Context, opts v1.ListOptions) (result *fschenderiwbev1.NodeTopologyList, err error)
List takes label and field selectors, and returns the list of NodeTopologies that match those selectors.
func (*FakeNodeTopologies) Patch ¶ added in v0.1.2
func (c *FakeNodeTopologies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *fschenderiwbev1.NodeTopology, err error)
Patch applies the patch and returns the patched nodeTopology.
func (*FakeNodeTopologies) Update ¶ added in v0.1.2
func (c *FakeNodeTopologies) Update(ctx context.Context, nodeTopology *fschenderiwbev1.NodeTopology, opts v1.UpdateOptions) (result *fschenderiwbev1.NodeTopology, err error)
Update takes the representation of a nodeTopology and updates it. Returns the server's representation of the nodeTopology, and an error, if there is any.
func (*FakeNodeTopologies) Watch ¶ added in v0.1.2
func (c *FakeNodeTopologies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeTopologies.
type FakeWorkLoads ¶ added in v0.1.11
type FakeWorkLoads struct { Fake *FakeFscV1 // contains filtered or unexported fields }
FakeWorkLoads implements WorkLoadInterface
func (*FakeWorkLoads) Create ¶ added in v0.1.11
func (c *FakeWorkLoads) Create(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.CreateOptions) (result *fschenderiwbev1.WorkLoad, err error)
Create takes the representation of a workLoad and creates it. Returns the server's representation of the workLoad, and an error, if there is any.
func (*FakeWorkLoads) Delete ¶ added in v0.1.11
func (c *FakeWorkLoads) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the workLoad and deletes it. Returns an error if one occurs.
func (*FakeWorkLoads) DeleteCollection ¶ added in v0.1.11
func (c *FakeWorkLoads) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeWorkLoads) Get ¶ added in v0.1.11
func (c *FakeWorkLoads) Get(ctx context.Context, name string, options v1.GetOptions) (result *fschenderiwbev1.WorkLoad, err error)
Get takes name of the workLoad, and returns the corresponding workLoad object, and an error if there is any.
func (*FakeWorkLoads) List ¶ added in v0.1.11
func (c *FakeWorkLoads) List(ctx context.Context, opts v1.ListOptions) (result *fschenderiwbev1.WorkLoadList, err error)
List takes label and field selectors, and returns the list of WorkLoads that match those selectors.
func (*FakeWorkLoads) Patch ¶ added in v0.1.11
func (c *FakeWorkLoads) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *fschenderiwbev1.WorkLoad, err error)
Patch applies the patch and returns the patched workLoad.
func (*FakeWorkLoads) Update ¶ added in v0.1.11
func (c *FakeWorkLoads) Update(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.UpdateOptions) (result *fschenderiwbev1.WorkLoad, err error)
Update takes the representation of a workLoad and updates it. Returns the server's representation of the workLoad, and an error, if there is any.
func (*FakeWorkLoads) UpdateStatus ¶ added in v0.1.11
func (c *FakeWorkLoads) UpdateStatus(ctx context.Context, workLoad *fschenderiwbev1.WorkLoad, opts v1.UpdateOptions) (*fschenderiwbev1.WorkLoad, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeWorkLoads) Watch ¶ added in v0.1.11
func (c *FakeWorkLoads) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested workLoads.