Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDistccClaims
- func (c *FakeDistccClaims) Create(distccClaim *v1alpha1.DistccClaim) (result *v1alpha1.DistccClaim, err error)
- func (c *FakeDistccClaims) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDistccClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDistccClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.DistccClaim, err error)
- func (c *FakeDistccClaims) List(opts v1.ListOptions) (result *v1alpha1.DistccClaimList, err error)
- func (c *FakeDistccClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DistccClaim, err error)
- func (c *FakeDistccClaims) Update(distccClaim *v1alpha1.DistccClaim) (result *v1alpha1.DistccClaim, err error)
- func (c *FakeDistccClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDistccClientClaims
- func (c *FakeDistccClientClaims) Create(distccClientClaim *v1alpha1.DistccClientClaim) (result *v1alpha1.DistccClientClaim, err error)
- func (c *FakeDistccClientClaims) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDistccClientClaims) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDistccClientClaims) Get(name string, options v1.GetOptions) (result *v1alpha1.DistccClientClaim, err error)
- func (c *FakeDistccClientClaims) List(opts v1.ListOptions) (result *v1alpha1.DistccClientClaimList, err error)
- func (c *FakeDistccClientClaims) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DistccClientClaim, err error)
- func (c *FakeDistccClientClaims) Update(distccClientClaim *v1alpha1.DistccClientClaim) (result *v1alpha1.DistccClientClaim, err error)
- func (c *FakeDistccClientClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDistccClients
- func (c *FakeDistccClients) Create(distccClient *v1alpha1.DistccClient) (result *v1alpha1.DistccClient, err error)
- func (c *FakeDistccClients) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDistccClients) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDistccClients) Get(name string, options v1.GetOptions) (result *v1alpha1.DistccClient, err error)
- func (c *FakeDistccClients) List(opts v1.ListOptions) (result *v1alpha1.DistccClientList, err error)
- func (c *FakeDistccClients) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.DistccClient, err error)
- func (c *FakeDistccClients) Update(distccClient *v1alpha1.DistccClient) (result *v1alpha1.DistccClient, err error)
- func (c *FakeDistccClients) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeDistccs
- func (c *FakeDistccs) Create(distcc *v1alpha1.Distcc) (result *v1alpha1.Distcc, err error)
- func (c *FakeDistccs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeDistccs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeDistccs) Get(name string, options v1.GetOptions) (result *v1alpha1.Distcc, err error)
- func (c *FakeDistccs) List(opts v1.ListOptions) (result *v1alpha1.DistccList, err error)
- func (c *FakeDistccs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Distcc, err error)
- func (c *FakeDistccs) Update(distcc *v1alpha1.Distcc) (result *v1alpha1.Distcc, err error)
- func (c *FakeDistccs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeK8ccV1alpha1
- func (c *FakeK8ccV1alpha1) DistccClaims(namespace string) v1alpha1.DistccClaimInterface
- func (c *FakeK8ccV1alpha1) DistccClientClaims(namespace string) v1alpha1.DistccClientClaimInterface
- func (c *FakeK8ccV1alpha1) DistccClients(namespace string) v1alpha1.DistccClientInterface
- func (c *FakeK8ccV1alpha1) Distccs(namespace string) v1alpha1.DistccInterface
- func (c *FakeK8ccV1alpha1) RESTClient() rest.Interface
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 ¶
func (c *FakeDistccClientClaims) List(opts v1.ListOptions) (result *v1alpha1.DistccClientClaimList, err error)
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 ¶
func (c *FakeDistccClientClaims) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
func (c *FakeDistccClients) Watch(opts v1.ListOptions) (watch.Interface, error)
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 ¶
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 ¶
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 ¶
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.