fake

package
v0.0.0-...-1aaf684 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2020 License: MIT 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 FakeDistccClaims

type FakeDistccClaims struct {
	Fake *FakeK8ccV1alpha1
	// contains filtered or unexported fields
}

FakeDistccClaims implements DistccClaimInterface

func (*FakeDistccClaims) Create

func (c *FakeDistccClaims) Create(distccClaim *v1alpha1.DistccClaim) (result *v1alpha1.DistccClaim, err error)

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

func (*FakeDistccClaims) Delete

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

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

func (*FakeDistccClaims) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDistccClaims) Get

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

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

func (*FakeDistccClaims) List

func (c *FakeDistccClaims) List(opts v1.ListOptions) (result *v1alpha1.DistccClaimList, err error)

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

func (*FakeDistccClaims) Patch

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

Patch applies the patch and returns the patched distccClaim.

func (*FakeDistccClaims) Update

func (c *FakeDistccClaims) Update(distccClaim *v1alpha1.DistccClaim) (result *v1alpha1.DistccClaim, err error)

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

func (*FakeDistccClaims) Watch

func (c *FakeDistccClaims) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeDistccClientClaims

type FakeDistccClientClaims struct {
	Fake *FakeK8ccV1alpha1
	// contains filtered or unexported fields
}

FakeDistccClientClaims implements DistccClientClaimInterface

func (*FakeDistccClientClaims) Create

func (c *FakeDistccClientClaims) Create(distccClientClaim *v1alpha1.DistccClientClaim) (result *v1alpha1.DistccClientClaim, err error)

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

func (*FakeDistccClientClaims) Delete

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

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

func (*FakeDistccClientClaims) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDistccClientClaims) Get

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

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

func (*FakeDistccClientClaims) List

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

func (*FakeDistccClientClaims) Patch

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

Patch applies the patch and returns the patched distccClientClaim.

func (*FakeDistccClientClaims) Update

func (c *FakeDistccClientClaims) Update(distccClientClaim *v1alpha1.DistccClientClaim) (result *v1alpha1.DistccClientClaim, err error)

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

func (*FakeDistccClientClaims) Watch

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

type FakeDistccClients

type FakeDistccClients struct {
	Fake *FakeK8ccV1alpha1
	// contains filtered or unexported fields
}

FakeDistccClients implements DistccClientInterface

func (*FakeDistccClients) Create

func (c *FakeDistccClients) Create(distccClient *v1alpha1.DistccClient) (result *v1alpha1.DistccClient, err error)

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

func (*FakeDistccClients) Delete

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

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

func (*FakeDistccClients) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDistccClients) Get

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

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

func (*FakeDistccClients) List

func (c *FakeDistccClients) List(opts v1.ListOptions) (result *v1alpha1.DistccClientList, err error)

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

func (*FakeDistccClients) Patch

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

Patch applies the patch and returns the patched distccClient.

func (*FakeDistccClients) Update

func (c *FakeDistccClients) Update(distccClient *v1alpha1.DistccClient) (result *v1alpha1.DistccClient, err error)

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

func (*FakeDistccClients) Watch

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

type FakeDistccs

type FakeDistccs struct {
	Fake *FakeK8ccV1alpha1
	// contains filtered or unexported fields
}

FakeDistccs implements DistccInterface

func (*FakeDistccs) Create

func (c *FakeDistccs) Create(distcc *v1alpha1.Distcc) (result *v1alpha1.Distcc, err error)

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

func (*FakeDistccs) Delete

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

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

func (*FakeDistccs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDistccs) Get

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

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

func (*FakeDistccs) List

func (c *FakeDistccs) List(opts v1.ListOptions) (result *v1alpha1.DistccList, err error)

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

func (*FakeDistccs) Patch

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

Patch applies the patch and returns the patched distcc.

func (*FakeDistccs) Update

func (c *FakeDistccs) Update(distcc *v1alpha1.Distcc) (result *v1alpha1.Distcc, err error)

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

func (*FakeDistccs) Watch

func (c *FakeDistccs) Watch(opts v1.ListOptions) (watch.Interface, error)

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

type FakeK8ccV1alpha1

type FakeK8ccV1alpha1 struct {
	*testing.Fake
}

func (*FakeK8ccV1alpha1) DistccClaims

func (c *FakeK8ccV1alpha1) DistccClaims(namespace string) v1alpha1.DistccClaimInterface

func (*FakeK8ccV1alpha1) DistccClientClaims

func (c *FakeK8ccV1alpha1) DistccClientClaims(namespace string) v1alpha1.DistccClientClaimInterface

func (*FakeK8ccV1alpha1) DistccClients

func (c *FakeK8ccV1alpha1) DistccClients(namespace string) v1alpha1.DistccClientInterface

func (*FakeK8ccV1alpha1) Distccs

func (c *FakeK8ccV1alpha1) Distccs(namespace string) v1alpha1.DistccInterface

func (*FakeK8ccV1alpha1) RESTClient

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

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

Jump to

Keyboard shortcuts

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