Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAplV1alpha1
- type FakeServiceConnections
- func (c *FakeServiceConnections) Create(ctx context.Context, serviceConnection *v1alpha1.ServiceConnection, ...) (result *v1alpha1.ServiceConnection, err error)
- func (c *FakeServiceConnections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceConnections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceConnection, err error)
- func (c *FakeServiceConnections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceConnectionList, err error)
- func (c *FakeServiceConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ServiceConnection, err error)
- func (c *FakeServiceConnections) Update(ctx context.Context, serviceConnection *v1alpha1.ServiceConnection, ...) (result *v1alpha1.ServiceConnection, err error)
- func (c *FakeServiceConnections) UpdateStatus(ctx context.Context, serviceConnection *v1alpha1.ServiceConnection, ...) (*v1alpha1.ServiceConnection, error)
- func (c *FakeServiceConnections) 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 FakeAplV1alpha1 ¶
func (*FakeAplV1alpha1) RESTClient ¶
func (c *FakeAplV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAplV1alpha1) ServiceConnections ¶
func (c *FakeAplV1alpha1) ServiceConnections(namespace string) v1alpha1.ServiceConnectionInterface
type FakeServiceConnections ¶
type FakeServiceConnections struct { Fake *FakeAplV1alpha1 // contains filtered or unexported fields }
FakeServiceConnections implements ServiceConnectionInterface
func (*FakeServiceConnections) Create ¶
func (c *FakeServiceConnections) Create(ctx context.Context, serviceConnection *v1alpha1.ServiceConnection, opts v1.CreateOptions) (result *v1alpha1.ServiceConnection, err error)
Create takes the representation of a serviceConnection and creates it. Returns the server's representation of the serviceConnection, and an error, if there is any.
func (*FakeServiceConnections) Delete ¶
func (c *FakeServiceConnections) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceConnection and deletes it. Returns an error if one occurs.
func (*FakeServiceConnections) DeleteCollection ¶
func (c *FakeServiceConnections) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceConnections) Get ¶
func (c *FakeServiceConnections) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServiceConnection, err error)
Get takes name of the serviceConnection, and returns the corresponding serviceConnection object, and an error if there is any.
func (*FakeServiceConnections) List ¶
func (c *FakeServiceConnections) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ServiceConnectionList, err error)
List takes label and field selectors, and returns the list of ServiceConnections that match those selectors.
func (*FakeServiceConnections) Patch ¶
func (c *FakeServiceConnections) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServiceConnection, err error)
Patch applies the patch and returns the patched serviceConnection.
func (*FakeServiceConnections) Update ¶
func (c *FakeServiceConnections) Update(ctx context.Context, serviceConnection *v1alpha1.ServiceConnection, opts v1.UpdateOptions) (result *v1alpha1.ServiceConnection, err error)
Update takes the representation of a serviceConnection and updates it. Returns the server's representation of the serviceConnection, and an error, if there is any.
func (*FakeServiceConnections) UpdateStatus ¶
func (c *FakeServiceConnections) UpdateStatus(ctx context.Context, serviceConnection *v1alpha1.ServiceConnection, opts v1.UpdateOptions) (*v1alpha1.ServiceConnection, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceConnections) Watch ¶
func (c *FakeServiceConnections) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceConnections.