Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeNetworkServiceEndpoints
- func (c *FakeNetworkServiceEndpoints) Create(ctx context.Context, networkServiceEndpoint *v1alpha1.NetworkServiceEndpoint, ...) (result *v1alpha1.NetworkServiceEndpoint, err error)
- func (c *FakeNetworkServiceEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkServiceEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkServiceEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkServiceEndpoint, err error)
- func (c *FakeNetworkServiceEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkServiceEndpointList, err error)
- func (c *FakeNetworkServiceEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NetworkServiceEndpoint, err error)
- func (c *FakeNetworkServiceEndpoints) Update(ctx context.Context, networkServiceEndpoint *v1alpha1.NetworkServiceEndpoint, ...) (result *v1alpha1.NetworkServiceEndpoint, err error)
- func (c *FakeNetworkServiceEndpoints) UpdateStatus(ctx context.Context, networkServiceEndpoint *v1alpha1.NetworkServiceEndpoint, ...) (*v1alpha1.NetworkServiceEndpoint, error)
- func (c *FakeNetworkServiceEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkServiceManagers
- func (c *FakeNetworkServiceManagers) Create(ctx context.Context, networkServiceManager *v1alpha1.NetworkServiceManager, ...) (result *v1alpha1.NetworkServiceManager, err error)
- func (c *FakeNetworkServiceManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkServiceManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkServiceManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkServiceManager, err error)
- func (c *FakeNetworkServiceManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkServiceManagerList, err error)
- func (c *FakeNetworkServiceManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NetworkServiceManager, err error)
- func (c *FakeNetworkServiceManagers) Update(ctx context.Context, networkServiceManager *v1alpha1.NetworkServiceManager, ...) (result *v1alpha1.NetworkServiceManager, err error)
- func (c *FakeNetworkServiceManagers) UpdateStatus(ctx context.Context, networkServiceManager *v1alpha1.NetworkServiceManager, ...) (*v1alpha1.NetworkServiceManager, error)
- func (c *FakeNetworkServiceManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkServices
- func (c *FakeNetworkServices) Create(ctx context.Context, networkService *v1alpha1.NetworkService, ...) (result *v1alpha1.NetworkService, err error)
- func (c *FakeNetworkServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNetworkServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNetworkServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkService, err error)
- func (c *FakeNetworkServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkServiceList, err error)
- func (c *FakeNetworkServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.NetworkService, err error)
- func (c *FakeNetworkServices) Update(ctx context.Context, networkService *v1alpha1.NetworkService, ...) (result *v1alpha1.NetworkService, err error)
- func (c *FakeNetworkServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkserviceV1alpha1
- func (c *FakeNetworkserviceV1alpha1) NetworkServiceEndpoints(namespace string) v1alpha1.NetworkServiceEndpointInterface
- func (c *FakeNetworkserviceV1alpha1) NetworkServiceManagers(namespace string) v1alpha1.NetworkServiceManagerInterface
- func (c *FakeNetworkserviceV1alpha1) NetworkServices(namespace string) v1alpha1.NetworkServiceInterface
- func (c *FakeNetworkserviceV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNetworkServiceEndpoints ¶
type FakeNetworkServiceEndpoints struct { Fake *FakeNetworkserviceV1alpha1 // contains filtered or unexported fields }
FakeNetworkServiceEndpoints implements NetworkServiceEndpointInterface
func (*FakeNetworkServiceEndpoints) Create ¶
func (c *FakeNetworkServiceEndpoints) Create(ctx context.Context, networkServiceEndpoint *v1alpha1.NetworkServiceEndpoint, opts v1.CreateOptions) (result *v1alpha1.NetworkServiceEndpoint, err error)
Create takes the representation of a networkServiceEndpoint and creates it. Returns the server's representation of the networkServiceEndpoint, and an error, if there is any.
func (*FakeNetworkServiceEndpoints) Delete ¶
func (c *FakeNetworkServiceEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkServiceEndpoint and deletes it. Returns an error if one occurs.
func (*FakeNetworkServiceEndpoints) DeleteCollection ¶
func (c *FakeNetworkServiceEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkServiceEndpoints) Get ¶
func (c *FakeNetworkServiceEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkServiceEndpoint, err error)
Get takes name of the networkServiceEndpoint, and returns the corresponding networkServiceEndpoint object, and an error if there is any.
func (*FakeNetworkServiceEndpoints) List ¶
func (c *FakeNetworkServiceEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkServiceEndpointList, err error)
List takes label and field selectors, and returns the list of NetworkServiceEndpoints that match those selectors.
func (*FakeNetworkServiceEndpoints) Patch ¶
func (c *FakeNetworkServiceEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkServiceEndpoint, err error)
Patch applies the patch and returns the patched networkServiceEndpoint.
func (*FakeNetworkServiceEndpoints) Update ¶
func (c *FakeNetworkServiceEndpoints) Update(ctx context.Context, networkServiceEndpoint *v1alpha1.NetworkServiceEndpoint, opts v1.UpdateOptions) (result *v1alpha1.NetworkServiceEndpoint, err error)
Update takes the representation of a networkServiceEndpoint and updates it. Returns the server's representation of the networkServiceEndpoint, and an error, if there is any.
func (*FakeNetworkServiceEndpoints) UpdateStatus ¶
func (c *FakeNetworkServiceEndpoints) UpdateStatus(ctx context.Context, networkServiceEndpoint *v1alpha1.NetworkServiceEndpoint, opts v1.UpdateOptions) (*v1alpha1.NetworkServiceEndpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkServiceEndpoints) Watch ¶
func (c *FakeNetworkServiceEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkServiceEndpoints.
type FakeNetworkServiceManagers ¶
type FakeNetworkServiceManagers struct { Fake *FakeNetworkserviceV1alpha1 // contains filtered or unexported fields }
FakeNetworkServiceManagers implements NetworkServiceManagerInterface
func (*FakeNetworkServiceManagers) Create ¶
func (c *FakeNetworkServiceManagers) Create(ctx context.Context, networkServiceManager *v1alpha1.NetworkServiceManager, opts v1.CreateOptions) (result *v1alpha1.NetworkServiceManager, err error)
Create takes the representation of a networkServiceManager and creates it. Returns the server's representation of the networkServiceManager, and an error, if there is any.
func (*FakeNetworkServiceManagers) Delete ¶
func (c *FakeNetworkServiceManagers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkServiceManager and deletes it. Returns an error if one occurs.
func (*FakeNetworkServiceManagers) DeleteCollection ¶
func (c *FakeNetworkServiceManagers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkServiceManagers) Get ¶
func (c *FakeNetworkServiceManagers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkServiceManager, err error)
Get takes name of the networkServiceManager, and returns the corresponding networkServiceManager object, and an error if there is any.
func (*FakeNetworkServiceManagers) List ¶
func (c *FakeNetworkServiceManagers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkServiceManagerList, err error)
List takes label and field selectors, and returns the list of NetworkServiceManagers that match those selectors.
func (*FakeNetworkServiceManagers) Patch ¶
func (c *FakeNetworkServiceManagers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkServiceManager, err error)
Patch applies the patch and returns the patched networkServiceManager.
func (*FakeNetworkServiceManagers) Update ¶
func (c *FakeNetworkServiceManagers) Update(ctx context.Context, networkServiceManager *v1alpha1.NetworkServiceManager, opts v1.UpdateOptions) (result *v1alpha1.NetworkServiceManager, err error)
Update takes the representation of a networkServiceManager and updates it. Returns the server's representation of the networkServiceManager, and an error, if there is any.
func (*FakeNetworkServiceManagers) UpdateStatus ¶
func (c *FakeNetworkServiceManagers) UpdateStatus(ctx context.Context, networkServiceManager *v1alpha1.NetworkServiceManager, opts v1.UpdateOptions) (*v1alpha1.NetworkServiceManager, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNetworkServiceManagers) Watch ¶
func (c *FakeNetworkServiceManagers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkServiceManagers.
type FakeNetworkServices ¶
type FakeNetworkServices struct { Fake *FakeNetworkserviceV1alpha1 // contains filtered or unexported fields }
FakeNetworkServices implements NetworkServiceInterface
func (*FakeNetworkServices) Create ¶
func (c *FakeNetworkServices) Create(ctx context.Context, networkService *v1alpha1.NetworkService, opts v1.CreateOptions) (result *v1alpha1.NetworkService, err error)
Create takes the representation of a networkService and creates it. Returns the server's representation of the networkService, and an error, if there is any.
func (*FakeNetworkServices) Delete ¶
func (c *FakeNetworkServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the networkService and deletes it. Returns an error if one occurs.
func (*FakeNetworkServices) DeleteCollection ¶
func (c *FakeNetworkServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNetworkServices) Get ¶
func (c *FakeNetworkServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.NetworkService, err error)
Get takes name of the networkService, and returns the corresponding networkService object, and an error if there is any.
func (*FakeNetworkServices) List ¶
func (c *FakeNetworkServices) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.NetworkServiceList, err error)
List takes label and field selectors, and returns the list of NetworkServices that match those selectors.
func (*FakeNetworkServices) Patch ¶
func (c *FakeNetworkServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.NetworkService, err error)
Patch applies the patch and returns the patched networkService.
func (*FakeNetworkServices) Update ¶
func (c *FakeNetworkServices) Update(ctx context.Context, networkService *v1alpha1.NetworkService, opts v1.UpdateOptions) (result *v1alpha1.NetworkService, err error)
Update takes the representation of a networkService and updates it. Returns the server's representation of the networkService, and an error, if there is any.
func (*FakeNetworkServices) Watch ¶
func (c *FakeNetworkServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested networkServices.
type FakeNetworkserviceV1alpha1 ¶
func (*FakeNetworkserviceV1alpha1) NetworkServiceEndpoints ¶
func (c *FakeNetworkserviceV1alpha1) NetworkServiceEndpoints(namespace string) v1alpha1.NetworkServiceEndpointInterface
func (*FakeNetworkserviceV1alpha1) NetworkServiceManagers ¶
func (c *FakeNetworkserviceV1alpha1) NetworkServiceManagers(namespace string) v1alpha1.NetworkServiceManagerInterface
func (*FakeNetworkserviceV1alpha1) NetworkServices ¶
func (c *FakeNetworkserviceV1alpha1) NetworkServices(namespace string) v1alpha1.NetworkServiceInterface
func (*FakeNetworkserviceV1alpha1) RESTClient ¶
func (c *FakeNetworkserviceV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.