Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGKEHubFeatureMemberships
- func (c *FakeGKEHubFeatureMemberships) Create(ctx context.Context, gKEHubFeatureMembership *v1beta1.GKEHubFeatureMembership, ...) (result *v1beta1.GKEHubFeatureMembership, err error)
- func (c *FakeGKEHubFeatureMemberships) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGKEHubFeatureMemberships) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGKEHubFeatureMemberships) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GKEHubFeatureMembership, err error)
- func (c *FakeGKEHubFeatureMemberships) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GKEHubFeatureMembershipList, err error)
- func (c *FakeGKEHubFeatureMemberships) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.GKEHubFeatureMembership, err error)
- func (c *FakeGKEHubFeatureMemberships) Update(ctx context.Context, gKEHubFeatureMembership *v1beta1.GKEHubFeatureMembership, ...) (result *v1beta1.GKEHubFeatureMembership, err error)
- func (c *FakeGKEHubFeatureMemberships) UpdateStatus(ctx context.Context, gKEHubFeatureMembership *v1beta1.GKEHubFeatureMembership, ...) (*v1beta1.GKEHubFeatureMembership, error)
- func (c *FakeGKEHubFeatureMemberships) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeGKEHubFeatures
- func (c *FakeGKEHubFeatures) Create(ctx context.Context, gKEHubFeature *v1beta1.GKEHubFeature, ...) (result *v1beta1.GKEHubFeature, err error)
- func (c *FakeGKEHubFeatures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGKEHubFeatures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGKEHubFeatures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GKEHubFeature, err error)
- func (c *FakeGKEHubFeatures) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GKEHubFeatureList, err error)
- func (c *FakeGKEHubFeatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.GKEHubFeature, err error)
- func (c *FakeGKEHubFeatures) Update(ctx context.Context, gKEHubFeature *v1beta1.GKEHubFeature, ...) (result *v1beta1.GKEHubFeature, err error)
- func (c *FakeGKEHubFeatures) UpdateStatus(ctx context.Context, gKEHubFeature *v1beta1.GKEHubFeature, ...) (*v1beta1.GKEHubFeature, error)
- func (c *FakeGKEHubFeatures) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- 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
- func (c *FakeGkehubV1beta1) GKEHubFeatureMemberships(namespace string) v1beta1.GKEHubFeatureMembershipInterface
- func (c *FakeGkehubV1beta1) GKEHubFeatures(namespace string) v1beta1.GKEHubFeatureInterface
- func (c *FakeGkehubV1beta1) GKEHubMemberships(namespace string) v1beta1.GKEHubMembershipInterface
- func (c *FakeGkehubV1beta1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGKEHubFeatureMemberships ¶
type FakeGKEHubFeatureMemberships struct { Fake *FakeGkehubV1beta1 // contains filtered or unexported fields }
FakeGKEHubFeatureMemberships implements GKEHubFeatureMembershipInterface
func (*FakeGKEHubFeatureMemberships) Create ¶
func (c *FakeGKEHubFeatureMemberships) Create(ctx context.Context, gKEHubFeatureMembership *v1beta1.GKEHubFeatureMembership, opts v1.CreateOptions) (result *v1beta1.GKEHubFeatureMembership, err error)
Create takes the representation of a gKEHubFeatureMembership and creates it. Returns the server's representation of the gKEHubFeatureMembership, and an error, if there is any.
func (*FakeGKEHubFeatureMemberships) Delete ¶
func (c *FakeGKEHubFeatureMemberships) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gKEHubFeatureMembership and deletes it. Returns an error if one occurs.
func (*FakeGKEHubFeatureMemberships) DeleteCollection ¶
func (c *FakeGKEHubFeatureMemberships) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGKEHubFeatureMemberships) Get ¶
func (c *FakeGKEHubFeatureMemberships) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GKEHubFeatureMembership, err error)
Get takes name of the gKEHubFeatureMembership, and returns the corresponding gKEHubFeatureMembership object, and an error if there is any.
func (*FakeGKEHubFeatureMemberships) List ¶
func (c *FakeGKEHubFeatureMemberships) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GKEHubFeatureMembershipList, err error)
List takes label and field selectors, and returns the list of GKEHubFeatureMemberships that match those selectors.
func (*FakeGKEHubFeatureMemberships) Patch ¶
func (c *FakeGKEHubFeatureMemberships) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.GKEHubFeatureMembership, err error)
Patch applies the patch and returns the patched gKEHubFeatureMembership.
func (*FakeGKEHubFeatureMemberships) Update ¶
func (c *FakeGKEHubFeatureMemberships) Update(ctx context.Context, gKEHubFeatureMembership *v1beta1.GKEHubFeatureMembership, opts v1.UpdateOptions) (result *v1beta1.GKEHubFeatureMembership, err error)
Update takes the representation of a gKEHubFeatureMembership and updates it. Returns the server's representation of the gKEHubFeatureMembership, and an error, if there is any.
func (*FakeGKEHubFeatureMemberships) UpdateStatus ¶
func (c *FakeGKEHubFeatureMemberships) UpdateStatus(ctx context.Context, gKEHubFeatureMembership *v1beta1.GKEHubFeatureMembership, opts v1.UpdateOptions) (*v1beta1.GKEHubFeatureMembership, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGKEHubFeatureMemberships) Watch ¶
func (c *FakeGKEHubFeatureMemberships) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gKEHubFeatureMemberships.
type FakeGKEHubFeatures ¶
type FakeGKEHubFeatures struct { Fake *FakeGkehubV1beta1 // contains filtered or unexported fields }
FakeGKEHubFeatures implements GKEHubFeatureInterface
func (*FakeGKEHubFeatures) Create ¶
func (c *FakeGKEHubFeatures) Create(ctx context.Context, gKEHubFeature *v1beta1.GKEHubFeature, opts v1.CreateOptions) (result *v1beta1.GKEHubFeature, err error)
Create takes the representation of a gKEHubFeature and creates it. Returns the server's representation of the gKEHubFeature, and an error, if there is any.
func (*FakeGKEHubFeatures) Delete ¶
func (c *FakeGKEHubFeatures) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gKEHubFeature and deletes it. Returns an error if one occurs.
func (*FakeGKEHubFeatures) DeleteCollection ¶
func (c *FakeGKEHubFeatures) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGKEHubFeatures) Get ¶
func (c *FakeGKEHubFeatures) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GKEHubFeature, err error)
Get takes name of the gKEHubFeature, and returns the corresponding gKEHubFeature object, and an error if there is any.
func (*FakeGKEHubFeatures) List ¶
func (c *FakeGKEHubFeatures) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GKEHubFeatureList, err error)
List takes label and field selectors, and returns the list of GKEHubFeatures that match those selectors.
func (*FakeGKEHubFeatures) Patch ¶
func (c *FakeGKEHubFeatures) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.GKEHubFeature, err error)
Patch applies the patch and returns the patched gKEHubFeature.
func (*FakeGKEHubFeatures) Update ¶
func (c *FakeGKEHubFeatures) Update(ctx context.Context, gKEHubFeature *v1beta1.GKEHubFeature, opts v1.UpdateOptions) (result *v1beta1.GKEHubFeature, err error)
Update takes the representation of a gKEHubFeature and updates it. Returns the server's representation of the gKEHubFeature, and an error, if there is any.
func (*FakeGKEHubFeatures) UpdateStatus ¶
func (c *FakeGKEHubFeatures) UpdateStatus(ctx context.Context, gKEHubFeature *v1beta1.GKEHubFeature, opts v1.UpdateOptions) (*v1beta1.GKEHubFeature, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeGKEHubFeatures) Watch ¶
func (c *FakeGKEHubFeatures) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gKEHubFeatures.
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) GKEHubFeatureMemberships ¶
func (c *FakeGkehubV1beta1) GKEHubFeatureMemberships(namespace string) v1beta1.GKEHubFeatureMembershipInterface
func (*FakeGkehubV1beta1) GKEHubFeatures ¶
func (c *FakeGkehubV1beta1) GKEHubFeatures(namespace string) v1beta1.GKEHubFeatureInterface
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.