Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeGCPIngressParams
- func (c *FakeGCPIngressParams) Create(ctx context.Context, gCPIngressParams *v1beta1.GCPIngressParams, ...) (result *v1beta1.GCPIngressParams, err error)
- func (c *FakeGCPIngressParams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeGCPIngressParams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeGCPIngressParams) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GCPIngressParams, err error)
- func (c *FakeGCPIngressParams) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GCPIngressParamsList, err error)
- func (c *FakeGCPIngressParams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.GCPIngressParams, err error)
- func (c *FakeGCPIngressParams) Update(ctx context.Context, gCPIngressParams *v1beta1.GCPIngressParams, ...) (result *v1beta1.GCPIngressParams, err error)
- func (c *FakeGCPIngressParams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNetworkingV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeGCPIngressParams ¶
type FakeGCPIngressParams struct {
Fake *FakeNetworkingV1beta1
}
FakeGCPIngressParams implements GCPIngressParamsInterface
func (*FakeGCPIngressParams) Create ¶
func (c *FakeGCPIngressParams) Create(ctx context.Context, gCPIngressParams *v1beta1.GCPIngressParams, opts v1.CreateOptions) (result *v1beta1.GCPIngressParams, err error)
Create takes the representation of a gCPIngressParams and creates it. Returns the server's representation of the gCPIngressParams, and an error, if there is any.
func (*FakeGCPIngressParams) Delete ¶
func (c *FakeGCPIngressParams) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the gCPIngressParams and deletes it. Returns an error if one occurs.
func (*FakeGCPIngressParams) DeleteCollection ¶
func (c *FakeGCPIngressParams) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGCPIngressParams) Get ¶
func (c *FakeGCPIngressParams) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.GCPIngressParams, err error)
Get takes name of the gCPIngressParams, and returns the corresponding gCPIngressParams object, and an error if there is any.
func (*FakeGCPIngressParams) List ¶
func (c *FakeGCPIngressParams) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.GCPIngressParamsList, err error)
List takes label and field selectors, and returns the list of GCPIngressParams that match those selectors.
func (*FakeGCPIngressParams) Patch ¶
func (c *FakeGCPIngressParams) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.GCPIngressParams, err error)
Patch applies the patch and returns the patched gCPIngressParams.
func (*FakeGCPIngressParams) Update ¶
func (c *FakeGCPIngressParams) Update(ctx context.Context, gCPIngressParams *v1beta1.GCPIngressParams, opts v1.UpdateOptions) (result *v1beta1.GCPIngressParams, err error)
Update takes the representation of a gCPIngressParams and updates it. Returns the server's representation of the gCPIngressParams, and an error, if there is any.
func (*FakeGCPIngressParams) Watch ¶
func (c *FakeGCPIngressParams) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested gCPIngressParams.
type FakeNetworkingV1beta1 ¶
func (*FakeNetworkingV1beta1) GCPIngressParams ¶
func (c *FakeNetworkingV1beta1) GCPIngressParams() v1beta1.GCPIngressParamsInterface
func (*FakeNetworkingV1beta1) RESTClient ¶
func (c *FakeNetworkingV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.