Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeDeploymentV1alpha1
- func (c *FakeDeploymentV1alpha1) Deployments(namespace string) v1alpha1.DeploymentInterface
- func (c *FakeDeploymentV1alpha1) ElasticsearchKeystores(namespace string) v1alpha1.ElasticsearchKeystoreInterface
- func (c *FakeDeploymentV1alpha1) Extensions(namespace string) v1alpha1.ExtensionInterface
- func (c *FakeDeploymentV1alpha1) RESTClient() rest.Interface
- func (c *FakeDeploymentV1alpha1) TrafficFilterAssociations(namespace string) v1alpha1.TrafficFilterAssociationInterface
- func (c *FakeDeploymentV1alpha1) TrafficFilters(namespace string) v1alpha1.TrafficFilterInterface
- type FakeDeployments
- func (c *FakeDeployments) Create(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.CreateOptions) (result *v1alpha1.Deployment, err error)
- func (c *FakeDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Deployment, err error)
- func (c *FakeDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeploymentList, err error)
- func (c *FakeDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Deployment, err error)
- func (c *FakeDeployments) Update(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (result *v1alpha1.Deployment, err error)
- func (c *FakeDeployments) UpdateStatus(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (*v1alpha1.Deployment, error)
- func (c *FakeDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeElasticsearchKeystores
- func (c *FakeElasticsearchKeystores) Create(ctx context.Context, elasticsearchKeystore *v1alpha1.ElasticsearchKeystore, ...) (result *v1alpha1.ElasticsearchKeystore, err error)
- func (c *FakeElasticsearchKeystores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeElasticsearchKeystores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeElasticsearchKeystores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ElasticsearchKeystore, err error)
- func (c *FakeElasticsearchKeystores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ElasticsearchKeystoreList, err error)
- func (c *FakeElasticsearchKeystores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ElasticsearchKeystore, err error)
- func (c *FakeElasticsearchKeystores) Update(ctx context.Context, elasticsearchKeystore *v1alpha1.ElasticsearchKeystore, ...) (result *v1alpha1.ElasticsearchKeystore, err error)
- func (c *FakeElasticsearchKeystores) UpdateStatus(ctx context.Context, elasticsearchKeystore *v1alpha1.ElasticsearchKeystore, ...) (*v1alpha1.ElasticsearchKeystore, error)
- func (c *FakeElasticsearchKeystores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeExtensions
- func (c *FakeExtensions) Create(ctx context.Context, extension *v1alpha1.Extension, opts v1.CreateOptions) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeExtensions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeExtensions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExtensionList, err error)
- func (c *FakeExtensions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) Update(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (result *v1alpha1.Extension, err error)
- func (c *FakeExtensions) UpdateStatus(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (*v1alpha1.Extension, error)
- func (c *FakeExtensions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTrafficFilterAssociations
- func (c *FakeTrafficFilterAssociations) Create(ctx context.Context, ...) (result *v1alpha1.TrafficFilterAssociation, err error)
- func (c *FakeTrafficFilterAssociations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTrafficFilterAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTrafficFilterAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrafficFilterAssociation, err error)
- func (c *FakeTrafficFilterAssociations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrafficFilterAssociationList, err error)
- func (c *FakeTrafficFilterAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TrafficFilterAssociation, err error)
- func (c *FakeTrafficFilterAssociations) Update(ctx context.Context, ...) (result *v1alpha1.TrafficFilterAssociation, err error)
- func (c *FakeTrafficFilterAssociations) UpdateStatus(ctx context.Context, ...) (*v1alpha1.TrafficFilterAssociation, error)
- func (c *FakeTrafficFilterAssociations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeTrafficFilters
- func (c *FakeTrafficFilters) Create(ctx context.Context, trafficFilter *v1alpha1.TrafficFilter, ...) (result *v1alpha1.TrafficFilter, err error)
- func (c *FakeTrafficFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeTrafficFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeTrafficFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrafficFilter, err error)
- func (c *FakeTrafficFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrafficFilterList, err error)
- func (c *FakeTrafficFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.TrafficFilter, err error)
- func (c *FakeTrafficFilters) Update(ctx context.Context, trafficFilter *v1alpha1.TrafficFilter, ...) (result *v1alpha1.TrafficFilter, err error)
- func (c *FakeTrafficFilters) UpdateStatus(ctx context.Context, trafficFilter *v1alpha1.TrafficFilter, ...) (*v1alpha1.TrafficFilter, error)
- func (c *FakeTrafficFilters) 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 FakeDeploymentV1alpha1 ¶
func (*FakeDeploymentV1alpha1) Deployments ¶
func (c *FakeDeploymentV1alpha1) Deployments(namespace string) v1alpha1.DeploymentInterface
func (*FakeDeploymentV1alpha1) ElasticsearchKeystores ¶ added in v0.5.0
func (c *FakeDeploymentV1alpha1) ElasticsearchKeystores(namespace string) v1alpha1.ElasticsearchKeystoreInterface
func (*FakeDeploymentV1alpha1) Extensions ¶
func (c *FakeDeploymentV1alpha1) Extensions(namespace string) v1alpha1.ExtensionInterface
func (*FakeDeploymentV1alpha1) RESTClient ¶
func (c *FakeDeploymentV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeDeploymentV1alpha1) TrafficFilterAssociations ¶
func (c *FakeDeploymentV1alpha1) TrafficFilterAssociations(namespace string) v1alpha1.TrafficFilterAssociationInterface
func (*FakeDeploymentV1alpha1) TrafficFilters ¶
func (c *FakeDeploymentV1alpha1) TrafficFilters(namespace string) v1alpha1.TrafficFilterInterface
type FakeDeployments ¶
type FakeDeployments struct { Fake *FakeDeploymentV1alpha1 // contains filtered or unexported fields }
FakeDeployments implements DeploymentInterface
func (*FakeDeployments) Create ¶
func (c *FakeDeployments) Create(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.CreateOptions) (result *v1alpha1.Deployment, err error)
Create takes the representation of a deployment and creates it. Returns the server's representation of the deployment, and an error, if there is any.
func (*FakeDeployments) Delete ¶
func (c *FakeDeployments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the deployment and deletes it. Returns an error if one occurs.
func (*FakeDeployments) DeleteCollection ¶
func (c *FakeDeployments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeployments) Get ¶
func (c *FakeDeployments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Deployment, err error)
Get takes name of the deployment, and returns the corresponding deployment object, and an error if there is any.
func (*FakeDeployments) List ¶
func (c *FakeDeployments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.DeploymentList, err error)
List takes label and field selectors, and returns the list of Deployments that match those selectors.
func (*FakeDeployments) Patch ¶
func (c *FakeDeployments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Deployment, err error)
Patch applies the patch and returns the patched deployment.
func (*FakeDeployments) Update ¶
func (c *FakeDeployments) Update(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (result *v1alpha1.Deployment, err error)
Update takes the representation of a deployment and updates it. Returns the server's representation of the deployment, and an error, if there is any.
func (*FakeDeployments) UpdateStatus ¶
func (c *FakeDeployments) UpdateStatus(ctx context.Context, deployment *v1alpha1.Deployment, opts v1.UpdateOptions) (*v1alpha1.Deployment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeDeployments) Watch ¶
func (c *FakeDeployments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deployments.
type FakeElasticsearchKeystores ¶ added in v0.5.0
type FakeElasticsearchKeystores struct { Fake *FakeDeploymentV1alpha1 // contains filtered or unexported fields }
FakeElasticsearchKeystores implements ElasticsearchKeystoreInterface
func (*FakeElasticsearchKeystores) Create ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) Create(ctx context.Context, elasticsearchKeystore *v1alpha1.ElasticsearchKeystore, opts v1.CreateOptions) (result *v1alpha1.ElasticsearchKeystore, err error)
Create takes the representation of a elasticsearchKeystore and creates it. Returns the server's representation of the elasticsearchKeystore, and an error, if there is any.
func (*FakeElasticsearchKeystores) Delete ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the elasticsearchKeystore and deletes it. Returns an error if one occurs.
func (*FakeElasticsearchKeystores) DeleteCollection ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeElasticsearchKeystores) Get ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ElasticsearchKeystore, err error)
Get takes name of the elasticsearchKeystore, and returns the corresponding elasticsearchKeystore object, and an error if there is any.
func (*FakeElasticsearchKeystores) List ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ElasticsearchKeystoreList, err error)
List takes label and field selectors, and returns the list of ElasticsearchKeystores that match those selectors.
func (*FakeElasticsearchKeystores) Patch ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ElasticsearchKeystore, err error)
Patch applies the patch and returns the patched elasticsearchKeystore.
func (*FakeElasticsearchKeystores) Update ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) Update(ctx context.Context, elasticsearchKeystore *v1alpha1.ElasticsearchKeystore, opts v1.UpdateOptions) (result *v1alpha1.ElasticsearchKeystore, err error)
Update takes the representation of a elasticsearchKeystore and updates it. Returns the server's representation of the elasticsearchKeystore, and an error, if there is any.
func (*FakeElasticsearchKeystores) UpdateStatus ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) UpdateStatus(ctx context.Context, elasticsearchKeystore *v1alpha1.ElasticsearchKeystore, opts v1.UpdateOptions) (*v1alpha1.ElasticsearchKeystore, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeElasticsearchKeystores) Watch ¶ added in v0.5.0
func (c *FakeElasticsearchKeystores) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested elasticsearchKeystores.
type FakeExtensions ¶
type FakeExtensions struct { Fake *FakeDeploymentV1alpha1 // contains filtered or unexported fields }
FakeExtensions implements ExtensionInterface
func (*FakeExtensions) Create ¶
func (c *FakeExtensions) Create(ctx context.Context, extension *v1alpha1.Extension, opts v1.CreateOptions) (result *v1alpha1.Extension, err error)
Create takes the representation of a extension and creates it. Returns the server's representation of the extension, and an error, if there is any.
func (*FakeExtensions) Delete ¶
func (c *FakeExtensions) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the extension and deletes it. Returns an error if one occurs.
func (*FakeExtensions) DeleteCollection ¶
func (c *FakeExtensions) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeExtensions) Get ¶
func (c *FakeExtensions) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Extension, err error)
Get takes name of the extension, and returns the corresponding extension object, and an error if there is any.
func (*FakeExtensions) List ¶
func (c *FakeExtensions) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ExtensionList, err error)
List takes label and field selectors, and returns the list of Extensions that match those selectors.
func (*FakeExtensions) Patch ¶
func (c *FakeExtensions) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Extension, err error)
Patch applies the patch and returns the patched extension.
func (*FakeExtensions) Update ¶
func (c *FakeExtensions) Update(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (result *v1alpha1.Extension, err error)
Update takes the representation of a extension and updates it. Returns the server's representation of the extension, and an error, if there is any.
func (*FakeExtensions) UpdateStatus ¶
func (c *FakeExtensions) UpdateStatus(ctx context.Context, extension *v1alpha1.Extension, opts v1.UpdateOptions) (*v1alpha1.Extension, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeExtensions) Watch ¶
func (c *FakeExtensions) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested extensions.
type FakeTrafficFilterAssociations ¶
type FakeTrafficFilterAssociations struct { Fake *FakeDeploymentV1alpha1 // contains filtered or unexported fields }
FakeTrafficFilterAssociations implements TrafficFilterAssociationInterface
func (*FakeTrafficFilterAssociations) Create ¶
func (c *FakeTrafficFilterAssociations) Create(ctx context.Context, trafficFilterAssociation *v1alpha1.TrafficFilterAssociation, opts v1.CreateOptions) (result *v1alpha1.TrafficFilterAssociation, err error)
Create takes the representation of a trafficFilterAssociation and creates it. Returns the server's representation of the trafficFilterAssociation, and an error, if there is any.
func (*FakeTrafficFilterAssociations) Delete ¶
func (c *FakeTrafficFilterAssociations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the trafficFilterAssociation and deletes it. Returns an error if one occurs.
func (*FakeTrafficFilterAssociations) DeleteCollection ¶
func (c *FakeTrafficFilterAssociations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTrafficFilterAssociations) Get ¶
func (c *FakeTrafficFilterAssociations) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrafficFilterAssociation, err error)
Get takes name of the trafficFilterAssociation, and returns the corresponding trafficFilterAssociation object, and an error if there is any.
func (*FakeTrafficFilterAssociations) List ¶
func (c *FakeTrafficFilterAssociations) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrafficFilterAssociationList, err error)
List takes label and field selectors, and returns the list of TrafficFilterAssociations that match those selectors.
func (*FakeTrafficFilterAssociations) Patch ¶
func (c *FakeTrafficFilterAssociations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TrafficFilterAssociation, err error)
Patch applies the patch and returns the patched trafficFilterAssociation.
func (*FakeTrafficFilterAssociations) Update ¶
func (c *FakeTrafficFilterAssociations) Update(ctx context.Context, trafficFilterAssociation *v1alpha1.TrafficFilterAssociation, opts v1.UpdateOptions) (result *v1alpha1.TrafficFilterAssociation, err error)
Update takes the representation of a trafficFilterAssociation and updates it. Returns the server's representation of the trafficFilterAssociation, and an error, if there is any.
func (*FakeTrafficFilterAssociations) UpdateStatus ¶
func (c *FakeTrafficFilterAssociations) UpdateStatus(ctx context.Context, trafficFilterAssociation *v1alpha1.TrafficFilterAssociation, opts v1.UpdateOptions) (*v1alpha1.TrafficFilterAssociation, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTrafficFilterAssociations) Watch ¶
func (c *FakeTrafficFilterAssociations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested trafficFilterAssociations.
type FakeTrafficFilters ¶
type FakeTrafficFilters struct { Fake *FakeDeploymentV1alpha1 // contains filtered or unexported fields }
FakeTrafficFilters implements TrafficFilterInterface
func (*FakeTrafficFilters) Create ¶
func (c *FakeTrafficFilters) Create(ctx context.Context, trafficFilter *v1alpha1.TrafficFilter, opts v1.CreateOptions) (result *v1alpha1.TrafficFilter, err error)
Create takes the representation of a trafficFilter and creates it. Returns the server's representation of the trafficFilter, and an error, if there is any.
func (*FakeTrafficFilters) Delete ¶
func (c *FakeTrafficFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the trafficFilter and deletes it. Returns an error if one occurs.
func (*FakeTrafficFilters) DeleteCollection ¶
func (c *FakeTrafficFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTrafficFilters) Get ¶
func (c *FakeTrafficFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.TrafficFilter, err error)
Get takes name of the trafficFilter, and returns the corresponding trafficFilter object, and an error if there is any.
func (*FakeTrafficFilters) List ¶
func (c *FakeTrafficFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TrafficFilterList, err error)
List takes label and field selectors, and returns the list of TrafficFilters that match those selectors.
func (*FakeTrafficFilters) Patch ¶
func (c *FakeTrafficFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.TrafficFilter, err error)
Patch applies the patch and returns the patched trafficFilter.
func (*FakeTrafficFilters) Update ¶
func (c *FakeTrafficFilters) Update(ctx context.Context, trafficFilter *v1alpha1.TrafficFilter, opts v1.UpdateOptions) (result *v1alpha1.TrafficFilter, err error)
Update takes the representation of a trafficFilter and updates it. Returns the server's representation of the trafficFilter, and an error, if there is any.
func (*FakeTrafficFilters) UpdateStatus ¶
func (c *FakeTrafficFilters) UpdateStatus(ctx context.Context, trafficFilter *v1alpha1.TrafficFilter, opts v1.UpdateOptions) (*v1alpha1.TrafficFilter, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTrafficFilters) Watch ¶
func (c *FakeTrafficFilters) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested trafficFilters.