Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakePFConfigs
- func (c *FakePFConfigs) Create(ctx context.Context, pFConfig *v1alpha1.PFConfig, opts v1.CreateOptions) (result *v1alpha1.PFConfig, err error)
- func (c *FakePFConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePFConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePFConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PFConfig, err error)
- func (c *FakePFConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PFConfigList, err error)
- func (c *FakePFConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PFConfig, err error)
- func (c *FakePFConfigs) Update(ctx context.Context, pFConfig *v1alpha1.PFConfig, opts v1.UpdateOptions) (result *v1alpha1.PFConfig, err error)
- func (c *FakePFConfigs) UpdateStatus(ctx context.Context, pFConfig *v1alpha1.PFConfig, opts v1.UpdateOptions) (*v1alpha1.PFConfig, error)
- func (c *FakePFConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePipelinesfeedbackV1alpha1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakePFConfigs ¶
type FakePFConfigs struct { Fake *FakePipelinesfeedbackV1alpha1 // contains filtered or unexported fields }
FakePFConfigs implements PFConfigInterface
func (*FakePFConfigs) Create ¶
func (c *FakePFConfigs) Create(ctx context.Context, pFConfig *v1alpha1.PFConfig, opts v1.CreateOptions) (result *v1alpha1.PFConfig, err error)
Create takes the representation of a pFConfig and creates it. Returns the server's representation of the pFConfig, and an error, if there is any.
func (*FakePFConfigs) Delete ¶
func (c *FakePFConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pFConfig and deletes it. Returns an error if one occurs.
func (*FakePFConfigs) DeleteCollection ¶
func (c *FakePFConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePFConfigs) Get ¶
func (c *FakePFConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PFConfig, err error)
Get takes name of the pFConfig, and returns the corresponding pFConfig object, and an error if there is any.
func (*FakePFConfigs) List ¶
func (c *FakePFConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PFConfigList, err error)
List takes label and field selectors, and returns the list of PFConfigs that match those selectors.
func (*FakePFConfigs) Patch ¶
func (c *FakePFConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PFConfig, err error)
Patch applies the patch and returns the patched pFConfig.
func (*FakePFConfigs) Update ¶
func (c *FakePFConfigs) Update(ctx context.Context, pFConfig *v1alpha1.PFConfig, opts v1.UpdateOptions) (result *v1alpha1.PFConfig, err error)
Update takes the representation of a pFConfig and updates it. Returns the server's representation of the pFConfig, and an error, if there is any.
func (*FakePFConfigs) UpdateStatus ¶
func (c *FakePFConfigs) UpdateStatus(ctx context.Context, pFConfig *v1alpha1.PFConfig, opts v1.UpdateOptions) (*v1alpha1.PFConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePFConfigs) Watch ¶
func (c *FakePFConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pFConfigs.
type FakePipelinesfeedbackV1alpha1 ¶
func (*FakePipelinesfeedbackV1alpha1) PFConfigs ¶
func (c *FakePipelinesfeedbackV1alpha1) PFConfigs(namespace string) v1alpha1.PFConfigInterface
func (*FakePipelinesfeedbackV1alpha1) RESTClient ¶
func (c *FakePipelinesfeedbackV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.