fake

package
v0.0.0-...-6a8a225 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 21, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeSnapshotReverts

type FakeSnapshotReverts struct {
	Fake *FakeSnapshotmanagerV1alpha1
	// contains filtered or unexported fields
}

FakeSnapshotReverts implements SnapshotRevertInterface

func (*FakeSnapshotReverts) Create

func (c *FakeSnapshotReverts) Create(snapshotRevert *v1alpha1.SnapshotRevert) (result *v1alpha1.SnapshotRevert, err error)

Create takes the representation of a snapshotRevert and creates it. Returns the server's representation of the snapshotRevert, and an error, if there is any.

func (*FakeSnapshotReverts) Delete

func (c *FakeSnapshotReverts) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the snapshotRevert and deletes it. Returns an error if one occurs.

func (*FakeSnapshotReverts) DeleteCollection

func (c *FakeSnapshotReverts) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeSnapshotReverts) Get

func (c *FakeSnapshotReverts) Get(name string, options v1.GetOptions) (result *v1alpha1.SnapshotRevert, err error)

Get takes name of the snapshotRevert, and returns the corresponding snapshotRevert object, and an error if there is any.

func (*FakeSnapshotReverts) List

func (c *FakeSnapshotReverts) List(opts v1.ListOptions) (result *v1alpha1.SnapshotRevertList, err error)

List takes label and field selectors, and returns the list of SnapshotReverts that match those selectors.

func (*FakeSnapshotReverts) Patch

func (c *FakeSnapshotReverts) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.SnapshotRevert, err error)

Patch applies the patch and returns the patched snapshotRevert.

func (*FakeSnapshotReverts) Update

func (c *FakeSnapshotReverts) Update(snapshotRevert *v1alpha1.SnapshotRevert) (result *v1alpha1.SnapshotRevert, err error)

Update takes the representation of a snapshotRevert and updates it. Returns the server's representation of the snapshotRevert, and an error, if there is any.

func (*FakeSnapshotReverts) UpdateStatus

func (c *FakeSnapshotReverts) UpdateStatus(snapshotRevert *v1alpha1.SnapshotRevert) (*v1alpha1.SnapshotRevert, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeSnapshotReverts) Watch

Watch returns a watch.Interface that watches the requested snapshotReverts.

type FakeSnapshotmanagerV1alpha1

type FakeSnapshotmanagerV1alpha1 struct {
	*testing.Fake
}

func (*FakeSnapshotmanagerV1alpha1) RESTClient

func (c *FakeSnapshotmanagerV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeSnapshotmanagerV1alpha1) SnapshotReverts

func (*FakeSnapshotmanagerV1alpha1) ValidationRuns

func (*FakeSnapshotmanagerV1alpha1) ValidationStrategies

func (c *FakeSnapshotmanagerV1alpha1) ValidationStrategies(namespace string) v1alpha1.ValidationStrategyInterface

type FakeValidationRuns

type FakeValidationRuns struct {
	Fake *FakeSnapshotmanagerV1alpha1
	// contains filtered or unexported fields
}

FakeValidationRuns implements ValidationRunInterface

func (*FakeValidationRuns) Create

func (c *FakeValidationRuns) Create(validationRun *v1alpha1.ValidationRun) (result *v1alpha1.ValidationRun, err error)

Create takes the representation of a validationRun and creates it. Returns the server's representation of the validationRun, and an error, if there is any.

func (*FakeValidationRuns) Delete

func (c *FakeValidationRuns) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the validationRun and deletes it. Returns an error if one occurs.

func (*FakeValidationRuns) DeleteCollection

func (c *FakeValidationRuns) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeValidationRuns) Get

func (c *FakeValidationRuns) Get(name string, options v1.GetOptions) (result *v1alpha1.ValidationRun, err error)

Get takes name of the validationRun, and returns the corresponding validationRun object, and an error if there is any.

func (*FakeValidationRuns) List

func (c *FakeValidationRuns) List(opts v1.ListOptions) (result *v1alpha1.ValidationRunList, err error)

List takes label and field selectors, and returns the list of ValidationRuns that match those selectors.

func (*FakeValidationRuns) Patch

func (c *FakeValidationRuns) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ValidationRun, err error)

Patch applies the patch and returns the patched validationRun.

func (*FakeValidationRuns) Update

func (c *FakeValidationRuns) Update(validationRun *v1alpha1.ValidationRun) (result *v1alpha1.ValidationRun, err error)

Update takes the representation of a validationRun and updates it. Returns the server's representation of the validationRun, and an error, if there is any.

func (*FakeValidationRuns) UpdateStatus

func (c *FakeValidationRuns) UpdateStatus(validationRun *v1alpha1.ValidationRun) (*v1alpha1.ValidationRun, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeValidationRuns) Watch

Watch returns a watch.Interface that watches the requested validationRuns.

type FakeValidationStrategies

type FakeValidationStrategies struct {
	Fake *FakeSnapshotmanagerV1alpha1
	// contains filtered or unexported fields
}

FakeValidationStrategies implements ValidationStrategyInterface

func (*FakeValidationStrategies) Create

func (c *FakeValidationStrategies) Create(validationStrategy *v1alpha1.ValidationStrategy) (result *v1alpha1.ValidationStrategy, err error)

Create takes the representation of a validationStrategy and creates it. Returns the server's representation of the validationStrategy, and an error, if there is any.

func (*FakeValidationStrategies) Delete

func (c *FakeValidationStrategies) Delete(name string, options *v1.DeleteOptions) error

Delete takes name of the validationStrategy and deletes it. Returns an error if one occurs.

func (*FakeValidationStrategies) DeleteCollection

func (c *FakeValidationStrategies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeValidationStrategies) Get

func (c *FakeValidationStrategies) Get(name string, options v1.GetOptions) (result *v1alpha1.ValidationStrategy, err error)

Get takes name of the validationStrategy, and returns the corresponding validationStrategy object, and an error if there is any.

func (*FakeValidationStrategies) List

List takes label and field selectors, and returns the list of ValidationStrategies that match those selectors.

func (*FakeValidationStrategies) Patch

func (c *FakeValidationStrategies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.ValidationStrategy, err error)

Patch applies the patch and returns the patched validationStrategy.

func (*FakeValidationStrategies) Update

func (c *FakeValidationStrategies) Update(validationStrategy *v1alpha1.ValidationStrategy) (result *v1alpha1.ValidationStrategy, err error)

Update takes the representation of a validationStrategy and updates it. Returns the server's representation of the validationStrategy, and an error, if there is any.

func (*FakeValidationStrategies) UpdateStatus

func (c *FakeValidationStrategies) UpdateStatus(validationStrategy *v1alpha1.ValidationStrategy) (*v1alpha1.ValidationStrategy, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeValidationStrategies) Watch

Watch returns a watch.Interface that watches the requested validationStrategies.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL