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