Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeControllerConfigs
- func (c *FakeControllerConfigs) Create(ctx context.Context, controllerConfig *v1alpha1.ControllerConfig, ...) (result *v1alpha1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeControllerConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeControllerConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ControllerConfigList, err error)
- func (c *FakeControllerConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) Update(ctx context.Context, controllerConfig *v1alpha1.ControllerConfig, ...) (result *v1alpha1.ControllerConfig, err error)
- func (c *FakeControllerConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePkgV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeControllerConfigs ¶
type FakeControllerConfigs struct {
Fake *FakePkgV1alpha1
}
FakeControllerConfigs implements ControllerConfigInterface
func (*FakeControllerConfigs) Create ¶
func (c *FakeControllerConfigs) Create(ctx context.Context, controllerConfig *v1alpha1.ControllerConfig, opts v1.CreateOptions) (result *v1alpha1.ControllerConfig, err error)
Create takes the representation of a controllerConfig and creates it. Returns the server's representation of the controllerConfig, and an error, if there is any.
func (*FakeControllerConfigs) Delete ¶
func (c *FakeControllerConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the controllerConfig and deletes it. Returns an error if one occurs.
func (*FakeControllerConfigs) DeleteCollection ¶
func (c *FakeControllerConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeControllerConfigs) Get ¶
func (c *FakeControllerConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ControllerConfig, err error)
Get takes name of the controllerConfig, and returns the corresponding controllerConfig object, and an error if there is any.
func (*FakeControllerConfigs) List ¶
func (c *FakeControllerConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ControllerConfigList, err error)
List takes label and field selectors, and returns the list of ControllerConfigs that match those selectors.
func (*FakeControllerConfigs) Patch ¶
func (c *FakeControllerConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ControllerConfig, err error)
Patch applies the patch and returns the patched controllerConfig.
func (*FakeControllerConfigs) Update ¶
func (c *FakeControllerConfigs) Update(ctx context.Context, controllerConfig *v1alpha1.ControllerConfig, opts v1.UpdateOptions) (result *v1alpha1.ControllerConfig, err error)
Update takes the representation of a controllerConfig and updates it. Returns the server's representation of the controllerConfig, and an error, if there is any.
func (*FakeControllerConfigs) Watch ¶
func (c *FakeControllerConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested controllerConfigs.
type FakePkgV1alpha1 ¶
func (*FakePkgV1alpha1) ControllerConfigs ¶
func (c *FakePkgV1alpha1) ControllerConfigs() v1alpha1.ControllerConfigInterface
func (*FakePkgV1alpha1) RESTClient ¶
func (c *FakePkgV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.