Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeActionsV1alpha1
- func (c *FakeActionsV1alpha1) AddClusterInfos(namespace string) v1alpha1.AddClusterInfoInterface
- func (c *FakeActionsV1alpha1) DeleteAttributes(namespace string) v1alpha1.DeleteAttributeInterface
- func (c *FakeActionsV1alpha1) RESTClient() rest.Interface
- func (c *FakeActionsV1alpha1) RenameAttributes(namespace string) v1alpha1.RenameAttributeInterface
- type FakeAddClusterInfos
- func (c *FakeAddClusterInfos) Apply(ctx context.Context, ...) (result *v1alpha1.AddClusterInfo, err error)
- func (c *FakeAddClusterInfos) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.AddClusterInfo, err error)
- func (c *FakeAddClusterInfos) Create(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, ...) (result *v1alpha1.AddClusterInfo, err error)
- func (c *FakeAddClusterInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAddClusterInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAddClusterInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddClusterInfo, err error)
- func (c *FakeAddClusterInfos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddClusterInfoList, err error)
- func (c *FakeAddClusterInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AddClusterInfo, err error)
- func (c *FakeAddClusterInfos) Update(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, ...) (result *v1alpha1.AddClusterInfo, err error)
- func (c *FakeAddClusterInfos) UpdateStatus(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, ...) (*v1alpha1.AddClusterInfo, error)
- func (c *FakeAddClusterInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDeleteAttributes
- func (c *FakeDeleteAttributes) Apply(ctx context.Context, ...) (result *v1alpha1.DeleteAttribute, err error)
- func (c *FakeDeleteAttributes) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.DeleteAttribute, err error)
- func (c *FakeDeleteAttributes) Create(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, ...) (result *v1alpha1.DeleteAttribute, err error)
- func (c *FakeDeleteAttributes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeleteAttributes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeleteAttributes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeleteAttribute, err error)
- func (c *FakeDeleteAttributes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeleteAttributeList, err error)
- func (c *FakeDeleteAttributes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.DeleteAttribute, err error)
- func (c *FakeDeleteAttributes) Update(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, ...) (result *v1alpha1.DeleteAttribute, err error)
- func (c *FakeDeleteAttributes) UpdateStatus(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, ...) (*v1alpha1.DeleteAttribute, error)
- func (c *FakeDeleteAttributes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRenameAttributes
- func (c *FakeRenameAttributes) Apply(ctx context.Context, ...) (result *v1alpha1.RenameAttribute, err error)
- func (c *FakeRenameAttributes) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.RenameAttribute, err error)
- func (c *FakeRenameAttributes) Create(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, ...) (result *v1alpha1.RenameAttribute, err error)
- func (c *FakeRenameAttributes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRenameAttributes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRenameAttributes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RenameAttribute, err error)
- func (c *FakeRenameAttributes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RenameAttributeList, err error)
- func (c *FakeRenameAttributes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RenameAttribute, err error)
- func (c *FakeRenameAttributes) Update(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, ...) (result *v1alpha1.RenameAttribute, err error)
- func (c *FakeRenameAttributes) UpdateStatus(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, ...) (*v1alpha1.RenameAttribute, error)
- func (c *FakeRenameAttributes) 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 FakeActionsV1alpha1 ¶
func (*FakeActionsV1alpha1) AddClusterInfos ¶
func (c *FakeActionsV1alpha1) AddClusterInfos(namespace string) v1alpha1.AddClusterInfoInterface
func (*FakeActionsV1alpha1) DeleteAttributes ¶
func (c *FakeActionsV1alpha1) DeleteAttributes(namespace string) v1alpha1.DeleteAttributeInterface
func (*FakeActionsV1alpha1) RESTClient ¶
func (c *FakeActionsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeActionsV1alpha1) RenameAttributes ¶
func (c *FakeActionsV1alpha1) RenameAttributes(namespace string) v1alpha1.RenameAttributeInterface
type FakeAddClusterInfos ¶
type FakeAddClusterInfos struct { Fake *FakeActionsV1alpha1 // contains filtered or unexported fields }
FakeAddClusterInfos implements AddClusterInfoInterface
func (*FakeAddClusterInfos) Apply ¶
func (c *FakeAddClusterInfos) Apply(ctx context.Context, addClusterInfo *actionsv1alpha1.AddClusterInfoApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.AddClusterInfo, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied addClusterInfo.
func (*FakeAddClusterInfos) ApplyStatus ¶
func (c *FakeAddClusterInfos) ApplyStatus(ctx context.Context, addClusterInfo *actionsv1alpha1.AddClusterInfoApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.AddClusterInfo, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeAddClusterInfos) Create ¶
func (c *FakeAddClusterInfos) Create(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, opts v1.CreateOptions) (result *v1alpha1.AddClusterInfo, err error)
Create takes the representation of a addClusterInfo and creates it. Returns the server's representation of the addClusterInfo, and an error, if there is any.
func (*FakeAddClusterInfos) Delete ¶
func (c *FakeAddClusterInfos) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the addClusterInfo and deletes it. Returns an error if one occurs.
func (*FakeAddClusterInfos) DeleteCollection ¶
func (c *FakeAddClusterInfos) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAddClusterInfos) Get ¶
func (c *FakeAddClusterInfos) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AddClusterInfo, err error)
Get takes name of the addClusterInfo, and returns the corresponding addClusterInfo object, and an error if there is any.
func (*FakeAddClusterInfos) List ¶
func (c *FakeAddClusterInfos) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AddClusterInfoList, err error)
List takes label and field selectors, and returns the list of AddClusterInfos that match those selectors.
func (*FakeAddClusterInfos) Patch ¶
func (c *FakeAddClusterInfos) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AddClusterInfo, err error)
Patch applies the patch and returns the patched addClusterInfo.
func (*FakeAddClusterInfos) Update ¶
func (c *FakeAddClusterInfos) Update(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, opts v1.UpdateOptions) (result *v1alpha1.AddClusterInfo, err error)
Update takes the representation of a addClusterInfo and updates it. Returns the server's representation of the addClusterInfo, and an error, if there is any.
func (*FakeAddClusterInfos) UpdateStatus ¶
func (c *FakeAddClusterInfos) UpdateStatus(ctx context.Context, addClusterInfo *v1alpha1.AddClusterInfo, opts v1.UpdateOptions) (*v1alpha1.AddClusterInfo, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAddClusterInfos) Watch ¶
func (c *FakeAddClusterInfos) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested addClusterInfos.
type FakeDeleteAttributes ¶
type FakeDeleteAttributes struct { Fake *FakeActionsV1alpha1 // contains filtered or unexported fields }
FakeDeleteAttributes implements DeleteAttributeInterface
func (*FakeDeleteAttributes) Apply ¶
func (c *FakeDeleteAttributes) Apply(ctx context.Context, deleteAttribute *actionsv1alpha1.DeleteAttributeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.DeleteAttribute, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied deleteAttribute.
func (*FakeDeleteAttributes) ApplyStatus ¶
func (c *FakeDeleteAttributes) ApplyStatus(ctx context.Context, deleteAttribute *actionsv1alpha1.DeleteAttributeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.DeleteAttribute, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeDeleteAttributes) Create ¶
func (c *FakeDeleteAttributes) Create(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, opts v1.CreateOptions) (result *v1alpha1.DeleteAttribute, err error)
Create takes the representation of a deleteAttribute and creates it. Returns the server's representation of the deleteAttribute, and an error, if there is any.
func (*FakeDeleteAttributes) Delete ¶
func (c *FakeDeleteAttributes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deleteAttribute and deletes it. Returns an error if one occurs.
func (*FakeDeleteAttributes) DeleteCollection ¶
func (c *FakeDeleteAttributes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeleteAttributes) Get ¶
func (c *FakeDeleteAttributes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.DeleteAttribute, err error)
Get takes name of the deleteAttribute, and returns the corresponding deleteAttribute object, and an error if there is any.
func (*FakeDeleteAttributes) List ¶
func (c *FakeDeleteAttributes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeleteAttributeList, err error)
List takes label and field selectors, and returns the list of DeleteAttributes that match those selectors.
func (*FakeDeleteAttributes) Patch ¶
func (c *FakeDeleteAttributes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.DeleteAttribute, err error)
Patch applies the patch and returns the patched deleteAttribute.
func (*FakeDeleteAttributes) Update ¶
func (c *FakeDeleteAttributes) Update(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, opts v1.UpdateOptions) (result *v1alpha1.DeleteAttribute, err error)
Update takes the representation of a deleteAttribute and updates it. Returns the server's representation of the deleteAttribute, and an error, if there is any.
func (*FakeDeleteAttributes) UpdateStatus ¶
func (c *FakeDeleteAttributes) UpdateStatus(ctx context.Context, deleteAttribute *v1alpha1.DeleteAttribute, opts v1.UpdateOptions) (*v1alpha1.DeleteAttribute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeleteAttributes) Watch ¶
func (c *FakeDeleteAttributes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deleteAttributes.
type FakeRenameAttributes ¶
type FakeRenameAttributes struct { Fake *FakeActionsV1alpha1 // contains filtered or unexported fields }
FakeRenameAttributes implements RenameAttributeInterface
func (*FakeRenameAttributes) Apply ¶
func (c *FakeRenameAttributes) Apply(ctx context.Context, renameAttribute *actionsv1alpha1.RenameAttributeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.RenameAttribute, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied renameAttribute.
func (*FakeRenameAttributes) ApplyStatus ¶
func (c *FakeRenameAttributes) ApplyStatus(ctx context.Context, renameAttribute *actionsv1alpha1.RenameAttributeApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.RenameAttribute, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeRenameAttributes) Create ¶
func (c *FakeRenameAttributes) Create(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, opts v1.CreateOptions) (result *v1alpha1.RenameAttribute, err error)
Create takes the representation of a renameAttribute and creates it. Returns the server's representation of the renameAttribute, and an error, if there is any.
func (*FakeRenameAttributes) Delete ¶
func (c *FakeRenameAttributes) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the renameAttribute and deletes it. Returns an error if one occurs.
func (*FakeRenameAttributes) DeleteCollection ¶
func (c *FakeRenameAttributes) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRenameAttributes) Get ¶
func (c *FakeRenameAttributes) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RenameAttribute, err error)
Get takes name of the renameAttribute, and returns the corresponding renameAttribute object, and an error if there is any.
func (*FakeRenameAttributes) List ¶
func (c *FakeRenameAttributes) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RenameAttributeList, err error)
List takes label and field selectors, and returns the list of RenameAttributes that match those selectors.
func (*FakeRenameAttributes) Patch ¶
func (c *FakeRenameAttributes) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RenameAttribute, err error)
Patch applies the patch and returns the patched renameAttribute.
func (*FakeRenameAttributes) Update ¶
func (c *FakeRenameAttributes) Update(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, opts v1.UpdateOptions) (result *v1alpha1.RenameAttribute, err error)
Update takes the representation of a renameAttribute and updates it. Returns the server's representation of the renameAttribute, and an error, if there is any.
func (*FakeRenameAttributes) UpdateStatus ¶
func (c *FakeRenameAttributes) UpdateStatus(ctx context.Context, renameAttribute *v1alpha1.RenameAttribute, opts v1.UpdateOptions) (*v1alpha1.RenameAttribute, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRenameAttributes) Watch ¶
func (c *FakeRenameAttributes) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested renameAttributes.