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