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