Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCloudInits
- func (c *FakeCloudInits) Create(ctx context.Context, cloudInit *v1beta1.CloudInit, opts v1.CreateOptions) (result *v1beta1.CloudInit, err error)
- func (c *FakeCloudInits) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCloudInits) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCloudInits) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.CloudInit, err error)
- func (c *FakeCloudInits) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.CloudInitList, err error)
- func (c *FakeCloudInits) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.CloudInit, err error)
- func (c *FakeCloudInits) Update(ctx context.Context, cloudInit *v1beta1.CloudInit, opts v1.UpdateOptions) (result *v1beta1.CloudInit, err error)
- func (c *FakeCloudInits) UpdateStatus(ctx context.Context, cloudInit *v1beta1.CloudInit, opts v1.UpdateOptions) (*v1beta1.CloudInit, error)
- func (c *FakeCloudInits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKsmtuneds
- func (c *FakeKsmtuneds) Create(ctx context.Context, ksmtuned *v1beta1.Ksmtuned, opts v1.CreateOptions) (result *v1beta1.Ksmtuned, err error)
- func (c *FakeKsmtuneds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKsmtuneds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKsmtuneds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Ksmtuned, err error)
- func (c *FakeKsmtuneds) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KsmtunedList, err error)
- func (c *FakeKsmtuneds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.Ksmtuned, err error)
- func (c *FakeKsmtuneds) Update(ctx context.Context, ksmtuned *v1beta1.Ksmtuned, opts v1.UpdateOptions) (result *v1beta1.Ksmtuned, err error)
- func (c *FakeKsmtuneds) UpdateStatus(ctx context.Context, ksmtuned *v1beta1.Ksmtuned, opts v1.UpdateOptions) (*v1beta1.Ksmtuned, error)
- func (c *FakeKsmtuneds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeConfigs
- func (c *FakeNodeConfigs) Create(ctx context.Context, nodeConfig *v1beta1.NodeConfig, opts v1.CreateOptions) (result *v1beta1.NodeConfig, err error)
- func (c *FakeNodeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNodeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNodeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NodeConfig, err error)
- func (c *FakeNodeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NodeConfigList, err error)
- func (c *FakeNodeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.NodeConfig, err error)
- func (c *FakeNodeConfigs) Update(ctx context.Context, nodeConfig *v1beta1.NodeConfig, opts v1.UpdateOptions) (result *v1beta1.NodeConfig, err error)
- func (c *FakeNodeConfigs) UpdateStatus(ctx context.Context, nodeConfig *v1beta1.NodeConfig, opts v1.UpdateOptions) (*v1beta1.NodeConfig, error)
- func (c *FakeNodeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNodeV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCloudInits ¶ added in v0.1.9
type FakeCloudInits struct {
Fake *FakeNodeV1beta1
}
FakeCloudInits implements CloudInitInterface
func (*FakeCloudInits) Create ¶ added in v0.1.9
func (c *FakeCloudInits) Create(ctx context.Context, cloudInit *v1beta1.CloudInit, opts v1.CreateOptions) (result *v1beta1.CloudInit, err error)
Create takes the representation of a cloudInit and creates it. Returns the server's representation of the cloudInit, and an error, if there is any.
func (*FakeCloudInits) Delete ¶ added in v0.1.9
func (c *FakeCloudInits) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the cloudInit and deletes it. Returns an error if one occurs.
func (*FakeCloudInits) DeleteCollection ¶ added in v0.1.9
func (c *FakeCloudInits) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCloudInits) Get ¶ added in v0.1.9
func (c *FakeCloudInits) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.CloudInit, err error)
Get takes name of the cloudInit, and returns the corresponding cloudInit object, and an error if there is any.
func (*FakeCloudInits) List ¶ added in v0.1.9
func (c *FakeCloudInits) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.CloudInitList, err error)
List takes label and field selectors, and returns the list of CloudInits that match those selectors.
func (*FakeCloudInits) Patch ¶ added in v0.1.9
func (c *FakeCloudInits) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.CloudInit, err error)
Patch applies the patch and returns the patched cloudInit.
func (*FakeCloudInits) Update ¶ added in v0.1.9
func (c *FakeCloudInits) Update(ctx context.Context, cloudInit *v1beta1.CloudInit, opts v1.UpdateOptions) (result *v1beta1.CloudInit, err error)
Update takes the representation of a cloudInit and updates it. Returns the server's representation of the cloudInit, and an error, if there is any.
func (*FakeCloudInits) UpdateStatus ¶ added in v0.1.9
func (c *FakeCloudInits) UpdateStatus(ctx context.Context, cloudInit *v1beta1.CloudInit, opts v1.UpdateOptions) (*v1beta1.CloudInit, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCloudInits) Watch ¶ added in v0.1.9
func (c *FakeCloudInits) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested cloudInits.
type FakeKsmtuneds ¶
type FakeKsmtuneds struct {
Fake *FakeNodeV1beta1
}
FakeKsmtuneds implements KsmtunedInterface
func (*FakeKsmtuneds) Create ¶
func (c *FakeKsmtuneds) Create(ctx context.Context, ksmtuned *v1beta1.Ksmtuned, opts v1.CreateOptions) (result *v1beta1.Ksmtuned, err error)
Create takes the representation of a ksmtuned and creates it. Returns the server's representation of the ksmtuned, and an error, if there is any.
func (*FakeKsmtuneds) Delete ¶
func (c *FakeKsmtuneds) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the ksmtuned and deletes it. Returns an error if one occurs.
func (*FakeKsmtuneds) DeleteCollection ¶
func (c *FakeKsmtuneds) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKsmtuneds) Get ¶
func (c *FakeKsmtuneds) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.Ksmtuned, err error)
Get takes name of the ksmtuned, and returns the corresponding ksmtuned object, and an error if there is any.
func (*FakeKsmtuneds) List ¶
func (c *FakeKsmtuneds) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.KsmtunedList, err error)
List takes label and field selectors, and returns the list of Ksmtuneds that match those selectors.
func (*FakeKsmtuneds) Patch ¶
func (c *FakeKsmtuneds) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.Ksmtuned, err error)
Patch applies the patch and returns the patched ksmtuned.
func (*FakeKsmtuneds) Update ¶
func (c *FakeKsmtuneds) Update(ctx context.Context, ksmtuned *v1beta1.Ksmtuned, opts v1.UpdateOptions) (result *v1beta1.Ksmtuned, err error)
Update takes the representation of a ksmtuned and updates it. Returns the server's representation of the ksmtuned, and an error, if there is any.
func (*FakeKsmtuneds) UpdateStatus ¶
func (c *FakeKsmtuneds) UpdateStatus(ctx context.Context, ksmtuned *v1beta1.Ksmtuned, opts v1.UpdateOptions) (*v1beta1.Ksmtuned, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKsmtuneds) Watch ¶
func (c *FakeKsmtuneds) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested ksmtuneds.
type FakeNodeConfigs ¶ added in v0.1.5
type FakeNodeConfigs struct { Fake *FakeNodeV1beta1 // contains filtered or unexported fields }
FakeNodeConfigs implements NodeConfigInterface
func (*FakeNodeConfigs) Create ¶ added in v0.1.5
func (c *FakeNodeConfigs) Create(ctx context.Context, nodeConfig *v1beta1.NodeConfig, opts v1.CreateOptions) (result *v1beta1.NodeConfig, err error)
Create takes the representation of a nodeConfig and creates it. Returns the server's representation of the nodeConfig, and an error, if there is any.
func (*FakeNodeConfigs) Delete ¶ added in v0.1.5
func (c *FakeNodeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nodeConfig and deletes it. Returns an error if one occurs.
func (*FakeNodeConfigs) DeleteCollection ¶ added in v0.1.5
func (c *FakeNodeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNodeConfigs) Get ¶ added in v0.1.5
func (c *FakeNodeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.NodeConfig, err error)
Get takes name of the nodeConfig, and returns the corresponding nodeConfig object, and an error if there is any.
func (*FakeNodeConfigs) List ¶ added in v0.1.5
func (c *FakeNodeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.NodeConfigList, err error)
List takes label and field selectors, and returns the list of NodeConfigs that match those selectors.
func (*FakeNodeConfigs) Patch ¶ added in v0.1.5
func (c *FakeNodeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.NodeConfig, err error)
Patch applies the patch and returns the patched nodeConfig.
func (*FakeNodeConfigs) Update ¶ added in v0.1.5
func (c *FakeNodeConfigs) Update(ctx context.Context, nodeConfig *v1beta1.NodeConfig, opts v1.UpdateOptions) (result *v1beta1.NodeConfig, err error)
Update takes the representation of a nodeConfig and updates it. Returns the server's representation of the nodeConfig, and an error, if there is any.
func (*FakeNodeConfigs) UpdateStatus ¶ added in v0.1.5
func (c *FakeNodeConfigs) UpdateStatus(ctx context.Context, nodeConfig *v1beta1.NodeConfig, opts v1.UpdateOptions) (*v1beta1.NodeConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNodeConfigs) Watch ¶ added in v0.1.5
func (c *FakeNodeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nodeConfigs.
type FakeNodeV1beta1 ¶
func (*FakeNodeV1beta1) CloudInits ¶ added in v0.1.9
func (c *FakeNodeV1beta1) CloudInits() v1beta1.CloudInitInterface
func (*FakeNodeV1beta1) Ksmtuneds ¶
func (c *FakeNodeV1beta1) Ksmtuneds() v1beta1.KsmtunedInterface
func (*FakeNodeV1beta1) NodeConfigs ¶ added in v0.1.5
func (c *FakeNodeV1beta1) NodeConfigs(namespace string) v1beta1.NodeConfigInterface
func (*FakeNodeV1beta1) RESTClient ¶
func (c *FakeNodeV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.