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