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