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