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