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