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