Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCompositionV1
- type FakeServiceDescriptors
- func (c *FakeServiceDescriptors) Create(serviceDescriptor *compositionv1.ServiceDescriptor) (result *compositionv1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeServiceDescriptors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeServiceDescriptors) Get(name string, options v1.GetOptions) (result *compositionv1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) List(opts v1.ListOptions) (result *compositionv1.ServiceDescriptorList, err error)
- func (c *FakeServiceDescriptors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *compositionv1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) Update(serviceDescriptor *compositionv1.ServiceDescriptor) (result *compositionv1.ServiceDescriptor, err error)
- func (c *FakeServiceDescriptors) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCompositionV1 ¶
func (*FakeCompositionV1) RESTClient ¶
func (c *FakeCompositionV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCompositionV1) ServiceDescriptors ¶
func (c *FakeCompositionV1) ServiceDescriptors() v1.ServiceDescriptorInterface
type FakeServiceDescriptors ¶
type FakeServiceDescriptors struct {
Fake *FakeCompositionV1
}
FakeServiceDescriptors implements ServiceDescriptorInterface
func (*FakeServiceDescriptors) Create ¶
func (c *FakeServiceDescriptors) Create(serviceDescriptor *compositionv1.ServiceDescriptor) (result *compositionv1.ServiceDescriptor, err error)
Create takes the representation of a serviceDescriptor and creates it. Returns the server's representation of the serviceDescriptor, and an error, if there is any.
func (*FakeServiceDescriptors) Delete ¶
func (c *FakeServiceDescriptors) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the serviceDescriptor and deletes it. Returns an error if one occurs.
func (*FakeServiceDescriptors) DeleteCollection ¶
func (c *FakeServiceDescriptors) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceDescriptors) Get ¶
func (c *FakeServiceDescriptors) Get(name string, options v1.GetOptions) (result *compositionv1.ServiceDescriptor, err error)
Get takes name of the serviceDescriptor, and returns the corresponding serviceDescriptor object, and an error if there is any.
func (*FakeServiceDescriptors) List ¶
func (c *FakeServiceDescriptors) List(opts v1.ListOptions) (result *compositionv1.ServiceDescriptorList, err error)
List takes label and field selectors, and returns the list of ServiceDescriptors that match those selectors.
func (*FakeServiceDescriptors) Patch ¶
func (c *FakeServiceDescriptors) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *compositionv1.ServiceDescriptor, err error)
Patch applies the patch and returns the patched serviceDescriptor.
func (*FakeServiceDescriptors) Update ¶
func (c *FakeServiceDescriptors) Update(serviceDescriptor *compositionv1.ServiceDescriptor) (result *compositionv1.ServiceDescriptor, err error)
Update takes the representation of a serviceDescriptor and updates it. Returns the server's representation of the serviceDescriptor, and an error, if there is any.
func (*FakeServiceDescriptors) Watch ¶
func (c *FakeServiceDescriptors) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceDescriptors.