Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigV1alpha1
- type FakeCustomNodeConfigs
- func (c *FakeCustomNodeConfigs) Create(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, ...) (result *v1alpha1.CustomNodeConfig, err error)
- func (c *FakeCustomNodeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCustomNodeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCustomNodeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomNodeConfig, err error)
- func (c *FakeCustomNodeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomNodeConfigList, err error)
- func (c *FakeCustomNodeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.CustomNodeConfig, err error)
- func (c *FakeCustomNodeConfigs) Update(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, ...) (result *v1alpha1.CustomNodeConfig, err error)
- func (c *FakeCustomNodeConfigs) UpdateStatus(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, ...) (*v1alpha1.CustomNodeConfig, error)
- func (c *FakeCustomNodeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKatalystCustomConfigs
- func (c *FakeKatalystCustomConfigs) Create(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, ...) (result *v1alpha1.KatalystCustomConfig, err error)
- func (c *FakeKatalystCustomConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKatalystCustomConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKatalystCustomConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KatalystCustomConfig, err error)
- func (c *FakeKatalystCustomConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KatalystCustomConfigList, err error)
- func (c *FakeKatalystCustomConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KatalystCustomConfig, err error)
- func (c *FakeKatalystCustomConfigs) Update(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, ...) (result *v1alpha1.KatalystCustomConfig, err error)
- func (c *FakeKatalystCustomConfigs) UpdateStatus(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, ...) (*v1alpha1.KatalystCustomConfig, error)
- func (c *FakeKatalystCustomConfigs) 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 FakeConfigV1alpha1 ¶
func (*FakeConfigV1alpha1) CustomNodeConfigs ¶
func (c *FakeConfigV1alpha1) CustomNodeConfigs() v1alpha1.CustomNodeConfigInterface
func (*FakeConfigV1alpha1) KatalystCustomConfigs ¶
func (c *FakeConfigV1alpha1) KatalystCustomConfigs(namespace string) v1alpha1.KatalystCustomConfigInterface
func (*FakeConfigV1alpha1) RESTClient ¶
func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeCustomNodeConfigs ¶
type FakeCustomNodeConfigs struct {
Fake *FakeConfigV1alpha1
}
FakeCustomNodeConfigs implements CustomNodeConfigInterface
func (*FakeCustomNodeConfigs) Create ¶
func (c *FakeCustomNodeConfigs) Create(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, opts v1.CreateOptions) (result *v1alpha1.CustomNodeConfig, err error)
Create takes the representation of a customNodeConfig and creates it. Returns the server's representation of the customNodeConfig, and an error, if there is any.
func (*FakeCustomNodeConfigs) Delete ¶
func (c *FakeCustomNodeConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the customNodeConfig and deletes it. Returns an error if one occurs.
func (*FakeCustomNodeConfigs) DeleteCollection ¶
func (c *FakeCustomNodeConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCustomNodeConfigs) Get ¶
func (c *FakeCustomNodeConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.CustomNodeConfig, err error)
Get takes name of the customNodeConfig, and returns the corresponding customNodeConfig object, and an error if there is any.
func (*FakeCustomNodeConfigs) List ¶
func (c *FakeCustomNodeConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CustomNodeConfigList, err error)
List takes label and field selectors, and returns the list of CustomNodeConfigs that match those selectors.
func (*FakeCustomNodeConfigs) Patch ¶
func (c *FakeCustomNodeConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.CustomNodeConfig, err error)
Patch applies the patch and returns the patched customNodeConfig.
func (*FakeCustomNodeConfigs) Update ¶
func (c *FakeCustomNodeConfigs) Update(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, opts v1.UpdateOptions) (result *v1alpha1.CustomNodeConfig, err error)
Update takes the representation of a customNodeConfig and updates it. Returns the server's representation of the customNodeConfig, and an error, if there is any.
func (*FakeCustomNodeConfigs) UpdateStatus ¶
func (c *FakeCustomNodeConfigs) UpdateStatus(ctx context.Context, customNodeConfig *v1alpha1.CustomNodeConfig, opts v1.UpdateOptions) (*v1alpha1.CustomNodeConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCustomNodeConfigs) Watch ¶
func (c *FakeCustomNodeConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested customNodeConfigs.
type FakeKatalystCustomConfigs ¶
type FakeKatalystCustomConfigs struct { Fake *FakeConfigV1alpha1 // contains filtered or unexported fields }
FakeKatalystCustomConfigs implements KatalystCustomConfigInterface
func (*FakeKatalystCustomConfigs) Create ¶
func (c *FakeKatalystCustomConfigs) Create(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, opts v1.CreateOptions) (result *v1alpha1.KatalystCustomConfig, err error)
Create takes the representation of a katalystCustomConfig and creates it. Returns the server's representation of the katalystCustomConfig, and an error, if there is any.
func (*FakeKatalystCustomConfigs) Delete ¶
func (c *FakeKatalystCustomConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the katalystCustomConfig and deletes it. Returns an error if one occurs.
func (*FakeKatalystCustomConfigs) DeleteCollection ¶
func (c *FakeKatalystCustomConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKatalystCustomConfigs) Get ¶
func (c *FakeKatalystCustomConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KatalystCustomConfig, err error)
Get takes name of the katalystCustomConfig, and returns the corresponding katalystCustomConfig object, and an error if there is any.
func (*FakeKatalystCustomConfigs) List ¶
func (c *FakeKatalystCustomConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KatalystCustomConfigList, err error)
List takes label and field selectors, and returns the list of KatalystCustomConfigs that match those selectors.
func (*FakeKatalystCustomConfigs) Patch ¶
func (c *FakeKatalystCustomConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KatalystCustomConfig, err error)
Patch applies the patch and returns the patched katalystCustomConfig.
func (*FakeKatalystCustomConfigs) Update ¶
func (c *FakeKatalystCustomConfigs) Update(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, opts v1.UpdateOptions) (result *v1alpha1.KatalystCustomConfig, err error)
Update takes the representation of a katalystCustomConfig and updates it. Returns the server's representation of the katalystCustomConfig, and an error, if there is any.
func (*FakeKatalystCustomConfigs) UpdateStatus ¶
func (c *FakeKatalystCustomConfigs) UpdateStatus(ctx context.Context, katalystCustomConfig *v1alpha1.KatalystCustomConfig, opts v1.UpdateOptions) (*v1alpha1.KatalystCustomConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKatalystCustomConfigs) Watch ¶
func (c *FakeKatalystCustomConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested katalystCustomConfigs.