Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeServiceDirectoryEndpoints
- func (c *FakeServiceDirectoryEndpoints) Create(ctx context.Context, ...) (result *v1beta1.ServiceDirectoryEndpoint, err error)
- func (c *FakeServiceDirectoryEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceDirectoryEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceDirectoryEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceDirectoryEndpoint, err error)
- func (c *FakeServiceDirectoryEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceDirectoryEndpointList, err error)
- func (c *FakeServiceDirectoryEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ServiceDirectoryEndpoint, err error)
- func (c *FakeServiceDirectoryEndpoints) Update(ctx context.Context, ...) (result *v1beta1.ServiceDirectoryEndpoint, err error)
- func (c *FakeServiceDirectoryEndpoints) UpdateStatus(ctx context.Context, ...) (*v1beta1.ServiceDirectoryEndpoint, error)
- func (c *FakeServiceDirectoryEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceDirectoryNamespaces
- func (c *FakeServiceDirectoryNamespaces) Create(ctx context.Context, ...) (result *v1beta1.ServiceDirectoryNamespace, err error)
- func (c *FakeServiceDirectoryNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceDirectoryNamespaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceDirectoryNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceDirectoryNamespace, err error)
- func (c *FakeServiceDirectoryNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceDirectoryNamespaceList, err error)
- func (c *FakeServiceDirectoryNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ServiceDirectoryNamespace, err error)
- func (c *FakeServiceDirectoryNamespaces) Update(ctx context.Context, ...) (result *v1beta1.ServiceDirectoryNamespace, err error)
- func (c *FakeServiceDirectoryNamespaces) UpdateStatus(ctx context.Context, ...) (*v1beta1.ServiceDirectoryNamespace, error)
- func (c *FakeServiceDirectoryNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServiceDirectoryServices
- func (c *FakeServiceDirectoryServices) Create(ctx context.Context, serviceDirectoryService *v1beta1.ServiceDirectoryService, ...) (result *v1beta1.ServiceDirectoryService, err error)
- func (c *FakeServiceDirectoryServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeServiceDirectoryServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeServiceDirectoryServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceDirectoryService, err error)
- func (c *FakeServiceDirectoryServices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceDirectoryServiceList, err error)
- func (c *FakeServiceDirectoryServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.ServiceDirectoryService, err error)
- func (c *FakeServiceDirectoryServices) Update(ctx context.Context, serviceDirectoryService *v1beta1.ServiceDirectoryService, ...) (result *v1beta1.ServiceDirectoryService, err error)
- func (c *FakeServiceDirectoryServices) UpdateStatus(ctx context.Context, serviceDirectoryService *v1beta1.ServiceDirectoryService, ...) (*v1beta1.ServiceDirectoryService, error)
- func (c *FakeServiceDirectoryServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeServicedirectoryV1beta1
- func (c *FakeServicedirectoryV1beta1) RESTClient() rest.Interface
- func (c *FakeServicedirectoryV1beta1) ServiceDirectoryEndpoints(namespace string) v1beta1.ServiceDirectoryEndpointInterface
- func (c *FakeServicedirectoryV1beta1) ServiceDirectoryNamespaces(namespace string) v1beta1.ServiceDirectoryNamespaceInterface
- func (c *FakeServicedirectoryV1beta1) ServiceDirectoryServices(namespace string) v1beta1.ServiceDirectoryServiceInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeServiceDirectoryEndpoints ¶ added in v1.90.0
type FakeServiceDirectoryEndpoints struct { Fake *FakeServicedirectoryV1beta1 // contains filtered or unexported fields }
FakeServiceDirectoryEndpoints implements ServiceDirectoryEndpointInterface
func (*FakeServiceDirectoryEndpoints) Create ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) Create(ctx context.Context, serviceDirectoryEndpoint *v1beta1.ServiceDirectoryEndpoint, opts v1.CreateOptions) (result *v1beta1.ServiceDirectoryEndpoint, err error)
Create takes the representation of a serviceDirectoryEndpoint and creates it. Returns the server's representation of the serviceDirectoryEndpoint, and an error, if there is any.
func (*FakeServiceDirectoryEndpoints) Delete ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceDirectoryEndpoint and deletes it. Returns an error if one occurs.
func (*FakeServiceDirectoryEndpoints) DeleteCollection ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceDirectoryEndpoints) Get ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceDirectoryEndpoint, err error)
Get takes name of the serviceDirectoryEndpoint, and returns the corresponding serviceDirectoryEndpoint object, and an error if there is any.
func (*FakeServiceDirectoryEndpoints) List ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceDirectoryEndpointList, err error)
List takes label and field selectors, and returns the list of ServiceDirectoryEndpoints that match those selectors.
func (*FakeServiceDirectoryEndpoints) Patch ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ServiceDirectoryEndpoint, err error)
Patch applies the patch and returns the patched serviceDirectoryEndpoint.
func (*FakeServiceDirectoryEndpoints) Update ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) Update(ctx context.Context, serviceDirectoryEndpoint *v1beta1.ServiceDirectoryEndpoint, opts v1.UpdateOptions) (result *v1beta1.ServiceDirectoryEndpoint, err error)
Update takes the representation of a serviceDirectoryEndpoint and updates it. Returns the server's representation of the serviceDirectoryEndpoint, and an error, if there is any.
func (*FakeServiceDirectoryEndpoints) UpdateStatus ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) UpdateStatus(ctx context.Context, serviceDirectoryEndpoint *v1beta1.ServiceDirectoryEndpoint, opts v1.UpdateOptions) (*v1beta1.ServiceDirectoryEndpoint, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceDirectoryEndpoints) Watch ¶ added in v1.90.0
func (c *FakeServiceDirectoryEndpoints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceDirectoryEndpoints.
type FakeServiceDirectoryNamespaces ¶
type FakeServiceDirectoryNamespaces struct { Fake *FakeServicedirectoryV1beta1 // contains filtered or unexported fields }
FakeServiceDirectoryNamespaces implements ServiceDirectoryNamespaceInterface
func (*FakeServiceDirectoryNamespaces) Create ¶
func (c *FakeServiceDirectoryNamespaces) Create(ctx context.Context, serviceDirectoryNamespace *v1beta1.ServiceDirectoryNamespace, opts v1.CreateOptions) (result *v1beta1.ServiceDirectoryNamespace, err error)
Create takes the representation of a serviceDirectoryNamespace and creates it. Returns the server's representation of the serviceDirectoryNamespace, and an error, if there is any.
func (*FakeServiceDirectoryNamespaces) Delete ¶
func (c *FakeServiceDirectoryNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceDirectoryNamespace and deletes it. Returns an error if one occurs.
func (*FakeServiceDirectoryNamespaces) DeleteCollection ¶
func (c *FakeServiceDirectoryNamespaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceDirectoryNamespaces) Get ¶
func (c *FakeServiceDirectoryNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceDirectoryNamespace, err error)
Get takes name of the serviceDirectoryNamespace, and returns the corresponding serviceDirectoryNamespace object, and an error if there is any.
func (*FakeServiceDirectoryNamespaces) List ¶
func (c *FakeServiceDirectoryNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceDirectoryNamespaceList, err error)
List takes label and field selectors, and returns the list of ServiceDirectoryNamespaces that match those selectors.
func (*FakeServiceDirectoryNamespaces) Patch ¶
func (c *FakeServiceDirectoryNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ServiceDirectoryNamespace, err error)
Patch applies the patch and returns the patched serviceDirectoryNamespace.
func (*FakeServiceDirectoryNamespaces) Update ¶
func (c *FakeServiceDirectoryNamespaces) Update(ctx context.Context, serviceDirectoryNamespace *v1beta1.ServiceDirectoryNamespace, opts v1.UpdateOptions) (result *v1beta1.ServiceDirectoryNamespace, err error)
Update takes the representation of a serviceDirectoryNamespace and updates it. Returns the server's representation of the serviceDirectoryNamespace, and an error, if there is any.
func (*FakeServiceDirectoryNamespaces) UpdateStatus ¶
func (c *FakeServiceDirectoryNamespaces) UpdateStatus(ctx context.Context, serviceDirectoryNamespace *v1beta1.ServiceDirectoryNamespace, opts v1.UpdateOptions) (*v1beta1.ServiceDirectoryNamespace, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceDirectoryNamespaces) Watch ¶
func (c *FakeServiceDirectoryNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceDirectoryNamespaces.
type FakeServiceDirectoryServices ¶
type FakeServiceDirectoryServices struct { Fake *FakeServicedirectoryV1beta1 // contains filtered or unexported fields }
FakeServiceDirectoryServices implements ServiceDirectoryServiceInterface
func (*FakeServiceDirectoryServices) Create ¶
func (c *FakeServiceDirectoryServices) Create(ctx context.Context, serviceDirectoryService *v1beta1.ServiceDirectoryService, opts v1.CreateOptions) (result *v1beta1.ServiceDirectoryService, err error)
Create takes the representation of a serviceDirectoryService and creates it. Returns the server's representation of the serviceDirectoryService, and an error, if there is any.
func (*FakeServiceDirectoryServices) Delete ¶
func (c *FakeServiceDirectoryServices) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the serviceDirectoryService and deletes it. Returns an error if one occurs.
func (*FakeServiceDirectoryServices) DeleteCollection ¶
func (c *FakeServiceDirectoryServices) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeServiceDirectoryServices) Get ¶
func (c *FakeServiceDirectoryServices) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.ServiceDirectoryService, err error)
Get takes name of the serviceDirectoryService, and returns the corresponding serviceDirectoryService object, and an error if there is any.
func (*FakeServiceDirectoryServices) List ¶
func (c *FakeServiceDirectoryServices) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.ServiceDirectoryServiceList, err error)
List takes label and field selectors, and returns the list of ServiceDirectoryServices that match those selectors.
func (*FakeServiceDirectoryServices) Patch ¶
func (c *FakeServiceDirectoryServices) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.ServiceDirectoryService, err error)
Patch applies the patch and returns the patched serviceDirectoryService.
func (*FakeServiceDirectoryServices) Update ¶
func (c *FakeServiceDirectoryServices) Update(ctx context.Context, serviceDirectoryService *v1beta1.ServiceDirectoryService, opts v1.UpdateOptions) (result *v1beta1.ServiceDirectoryService, err error)
Update takes the representation of a serviceDirectoryService and updates it. Returns the server's representation of the serviceDirectoryService, and an error, if there is any.
func (*FakeServiceDirectoryServices) UpdateStatus ¶
func (c *FakeServiceDirectoryServices) UpdateStatus(ctx context.Context, serviceDirectoryService *v1beta1.ServiceDirectoryService, opts v1.UpdateOptions) (*v1beta1.ServiceDirectoryService, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeServiceDirectoryServices) Watch ¶
func (c *FakeServiceDirectoryServices) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested serviceDirectoryServices.
type FakeServicedirectoryV1beta1 ¶
func (*FakeServicedirectoryV1beta1) RESTClient ¶
func (c *FakeServicedirectoryV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeServicedirectoryV1beta1) ServiceDirectoryEndpoints ¶ added in v1.90.0
func (c *FakeServicedirectoryV1beta1) ServiceDirectoryEndpoints(namespace string) v1beta1.ServiceDirectoryEndpointInterface
func (*FakeServicedirectoryV1beta1) ServiceDirectoryNamespaces ¶
func (c *FakeServicedirectoryV1beta1) ServiceDirectoryNamespaces(namespace string) v1beta1.ServiceDirectoryNamespaceInterface
func (*FakeServicedirectoryV1beta1) ServiceDirectoryServices ¶
func (c *FakeServicedirectoryV1beta1) ServiceDirectoryServices(namespace string) v1beta1.ServiceDirectoryServiceInterface