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