Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApplicationFirewallPolicies
- func (c *FakeApplicationFirewallPolicies) Create(ctx context.Context, ...) (result *v1alpha1.ApplicationFirewallPolicy, err error)
- func (c *FakeApplicationFirewallPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApplicationFirewallPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApplicationFirewallPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationFirewallPolicy, err error)
- func (c *FakeApplicationFirewallPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationFirewallPolicyList, err error)
- func (c *FakeApplicationFirewallPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ApplicationFirewallPolicy, err error)
- func (c *FakeApplicationFirewallPolicies) Update(ctx context.Context, ...) (result *v1alpha1.ApplicationFirewallPolicy, err error)
- func (c *FakeApplicationFirewallPolicies) UpdateStatus(ctx context.Context, ...) (*v1alpha1.ApplicationFirewallPolicy, error)
- func (c *FakeApplicationFirewallPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePubsubHubs
- func (c *FakePubsubHubs) Create(ctx context.Context, pubsubHub *v1alpha1.PubsubHub, opts v1.CreateOptions) (result *v1alpha1.PubsubHub, err error)
- func (c *FakePubsubHubs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePubsubHubs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePubsubHubs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubsubHub, err error)
- func (c *FakePubsubHubs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubsubHubList, err error)
- func (c *FakePubsubHubs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PubsubHub, err error)
- func (c *FakePubsubHubs) Update(ctx context.Context, pubsubHub *v1alpha1.PubsubHub, opts v1.UpdateOptions) (result *v1alpha1.PubsubHub, err error)
- func (c *FakePubsubHubs) UpdateStatus(ctx context.Context, pubsubHub *v1alpha1.PubsubHub, opts v1.UpdateOptions) (*v1alpha1.PubsubHub, error)
- func (c *FakePubsubHubs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePubsubNetworkACLs
- func (c *FakePubsubNetworkACLs) Create(ctx context.Context, pubsubNetworkACL *v1alpha1.PubsubNetworkACL, ...) (result *v1alpha1.PubsubNetworkACL, err error)
- func (c *FakePubsubNetworkACLs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePubsubNetworkACLs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePubsubNetworkACLs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubsubNetworkACL, err error)
- func (c *FakePubsubNetworkACLs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubsubNetworkACLList, err error)
- func (c *FakePubsubNetworkACLs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.PubsubNetworkACL, err error)
- func (c *FakePubsubNetworkACLs) Update(ctx context.Context, pubsubNetworkACL *v1alpha1.PubsubNetworkACL, ...) (result *v1alpha1.PubsubNetworkACL, err error)
- func (c *FakePubsubNetworkACLs) UpdateStatus(ctx context.Context, pubsubNetworkACL *v1alpha1.PubsubNetworkACL, ...) (*v1alpha1.PubsubNetworkACL, error)
- func (c *FakePubsubNetworkACLs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePubsubs
- func (c *FakePubsubs) Create(ctx context.Context, pubsub *v1alpha1.Pubsub, opts v1.CreateOptions) (result *v1alpha1.Pubsub, err error)
- func (c *FakePubsubs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePubsubs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePubsubs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Pubsub, err error)
- func (c *FakePubsubs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubsubList, err error)
- func (c *FakePubsubs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Pubsub, err error)
- func (c *FakePubsubs) Update(ctx context.Context, pubsub *v1alpha1.Pubsub, opts v1.UpdateOptions) (result *v1alpha1.Pubsub, err error)
- func (c *FakePubsubs) UpdateStatus(ctx context.Context, pubsub *v1alpha1.Pubsub, opts v1.UpdateOptions) (*v1alpha1.Pubsub, error)
- func (c *FakePubsubs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeWebV1alpha1
- func (c *FakeWebV1alpha1) ApplicationFirewallPolicies(namespace string) v1alpha1.ApplicationFirewallPolicyInterface
- func (c *FakeWebV1alpha1) PubsubHubs(namespace string) v1alpha1.PubsubHubInterface
- func (c *FakeWebV1alpha1) PubsubNetworkACLs(namespace string) v1alpha1.PubsubNetworkACLInterface
- func (c *FakeWebV1alpha1) Pubsubs(namespace string) v1alpha1.PubsubInterface
- func (c *FakeWebV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplicationFirewallPolicies ¶
type FakeApplicationFirewallPolicies struct { Fake *FakeWebV1alpha1 // contains filtered or unexported fields }
FakeApplicationFirewallPolicies implements ApplicationFirewallPolicyInterface
func (*FakeApplicationFirewallPolicies) Create ¶
func (c *FakeApplicationFirewallPolicies) Create(ctx context.Context, applicationFirewallPolicy *v1alpha1.ApplicationFirewallPolicy, opts v1.CreateOptions) (result *v1alpha1.ApplicationFirewallPolicy, err error)
Create takes the representation of a applicationFirewallPolicy and creates it. Returns the server's representation of the applicationFirewallPolicy, and an error, if there is any.
func (*FakeApplicationFirewallPolicies) Delete ¶
func (c *FakeApplicationFirewallPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the applicationFirewallPolicy and deletes it. Returns an error if one occurs.
func (*FakeApplicationFirewallPolicies) DeleteCollection ¶
func (c *FakeApplicationFirewallPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplicationFirewallPolicies) Get ¶
func (c *FakeApplicationFirewallPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationFirewallPolicy, err error)
Get takes name of the applicationFirewallPolicy, and returns the corresponding applicationFirewallPolicy object, and an error if there is any.
func (*FakeApplicationFirewallPolicies) List ¶
func (c *FakeApplicationFirewallPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationFirewallPolicyList, err error)
List takes label and field selectors, and returns the list of ApplicationFirewallPolicies that match those selectors.
func (*FakeApplicationFirewallPolicies) Patch ¶
func (c *FakeApplicationFirewallPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ApplicationFirewallPolicy, err error)
Patch applies the patch and returns the patched applicationFirewallPolicy.
func (*FakeApplicationFirewallPolicies) Update ¶
func (c *FakeApplicationFirewallPolicies) Update(ctx context.Context, applicationFirewallPolicy *v1alpha1.ApplicationFirewallPolicy, opts v1.UpdateOptions) (result *v1alpha1.ApplicationFirewallPolicy, err error)
Update takes the representation of a applicationFirewallPolicy and updates it. Returns the server's representation of the applicationFirewallPolicy, and an error, if there is any.
func (*FakeApplicationFirewallPolicies) UpdateStatus ¶
func (c *FakeApplicationFirewallPolicies) UpdateStatus(ctx context.Context, applicationFirewallPolicy *v1alpha1.ApplicationFirewallPolicy, opts v1.UpdateOptions) (*v1alpha1.ApplicationFirewallPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplicationFirewallPolicies) Watch ¶
func (c *FakeApplicationFirewallPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applicationFirewallPolicies.
type FakePubsubHubs ¶ added in v0.5.0
type FakePubsubHubs struct { Fake *FakeWebV1alpha1 // contains filtered or unexported fields }
FakePubsubHubs implements PubsubHubInterface
func (*FakePubsubHubs) Create ¶ added in v0.5.0
func (c *FakePubsubHubs) Create(ctx context.Context, pubsubHub *v1alpha1.PubsubHub, opts v1.CreateOptions) (result *v1alpha1.PubsubHub, err error)
Create takes the representation of a pubsubHub and creates it. Returns the server's representation of the pubsubHub, and an error, if there is any.
func (*FakePubsubHubs) Delete ¶ added in v0.5.0
func (c *FakePubsubHubs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pubsubHub and deletes it. Returns an error if one occurs.
func (*FakePubsubHubs) DeleteCollection ¶ added in v0.5.0
func (c *FakePubsubHubs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePubsubHubs) Get ¶ added in v0.5.0
func (c *FakePubsubHubs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubsubHub, err error)
Get takes name of the pubsubHub, and returns the corresponding pubsubHub object, and an error if there is any.
func (*FakePubsubHubs) List ¶ added in v0.5.0
func (c *FakePubsubHubs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubsubHubList, err error)
List takes label and field selectors, and returns the list of PubsubHubs that match those selectors.
func (*FakePubsubHubs) Patch ¶ added in v0.5.0
func (c *FakePubsubHubs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PubsubHub, err error)
Patch applies the patch and returns the patched pubsubHub.
func (*FakePubsubHubs) Update ¶ added in v0.5.0
func (c *FakePubsubHubs) Update(ctx context.Context, pubsubHub *v1alpha1.PubsubHub, opts v1.UpdateOptions) (result *v1alpha1.PubsubHub, err error)
Update takes the representation of a pubsubHub and updates it. Returns the server's representation of the pubsubHub, and an error, if there is any.
func (*FakePubsubHubs) UpdateStatus ¶ added in v0.5.0
func (c *FakePubsubHubs) UpdateStatus(ctx context.Context, pubsubHub *v1alpha1.PubsubHub, opts v1.UpdateOptions) (*v1alpha1.PubsubHub, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePubsubHubs) Watch ¶ added in v0.5.0
func (c *FakePubsubHubs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pubsubHubs.
type FakePubsubNetworkACLs ¶ added in v0.5.0
type FakePubsubNetworkACLs struct { Fake *FakeWebV1alpha1 // contains filtered or unexported fields }
FakePubsubNetworkACLs implements PubsubNetworkACLInterface
func (*FakePubsubNetworkACLs) Create ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) Create(ctx context.Context, pubsubNetworkACL *v1alpha1.PubsubNetworkACL, opts v1.CreateOptions) (result *v1alpha1.PubsubNetworkACL, err error)
Create takes the representation of a pubsubNetworkACL and creates it. Returns the server's representation of the pubsubNetworkACL, and an error, if there is any.
func (*FakePubsubNetworkACLs) Delete ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pubsubNetworkACL and deletes it. Returns an error if one occurs.
func (*FakePubsubNetworkACLs) DeleteCollection ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePubsubNetworkACLs) Get ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.PubsubNetworkACL, err error)
Get takes name of the pubsubNetworkACL, and returns the corresponding pubsubNetworkACL object, and an error if there is any.
func (*FakePubsubNetworkACLs) List ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubsubNetworkACLList, err error)
List takes label and field selectors, and returns the list of PubsubNetworkACLs that match those selectors.
func (*FakePubsubNetworkACLs) Patch ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.PubsubNetworkACL, err error)
Patch applies the patch and returns the patched pubsubNetworkACL.
func (*FakePubsubNetworkACLs) Update ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) Update(ctx context.Context, pubsubNetworkACL *v1alpha1.PubsubNetworkACL, opts v1.UpdateOptions) (result *v1alpha1.PubsubNetworkACL, err error)
Update takes the representation of a pubsubNetworkACL and updates it. Returns the server's representation of the pubsubNetworkACL, and an error, if there is any.
func (*FakePubsubNetworkACLs) UpdateStatus ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) UpdateStatus(ctx context.Context, pubsubNetworkACL *v1alpha1.PubsubNetworkACL, opts v1.UpdateOptions) (*v1alpha1.PubsubNetworkACL, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePubsubNetworkACLs) Watch ¶ added in v0.5.0
func (c *FakePubsubNetworkACLs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pubsubNetworkACLs.
type FakePubsubs ¶ added in v0.5.0
type FakePubsubs struct { Fake *FakeWebV1alpha1 // contains filtered or unexported fields }
FakePubsubs implements PubsubInterface
func (*FakePubsubs) Create ¶ added in v0.5.0
func (c *FakePubsubs) Create(ctx context.Context, pubsub *v1alpha1.Pubsub, opts v1.CreateOptions) (result *v1alpha1.Pubsub, err error)
Create takes the representation of a pubsub and creates it. Returns the server's representation of the pubsub, and an error, if there is any.
func (*FakePubsubs) Delete ¶ added in v0.5.0
func (c *FakePubsubs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the pubsub and deletes it. Returns an error if one occurs.
func (*FakePubsubs) DeleteCollection ¶ added in v0.5.0
func (c *FakePubsubs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePubsubs) Get ¶ added in v0.5.0
func (c *FakePubsubs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Pubsub, err error)
Get takes name of the pubsub, and returns the corresponding pubsub object, and an error if there is any.
func (*FakePubsubs) List ¶ added in v0.5.0
func (c *FakePubsubs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PubsubList, err error)
List takes label and field selectors, and returns the list of Pubsubs that match those selectors.
func (*FakePubsubs) Patch ¶ added in v0.5.0
func (c *FakePubsubs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Pubsub, err error)
Patch applies the patch and returns the patched pubsub.
func (*FakePubsubs) Update ¶ added in v0.5.0
func (c *FakePubsubs) Update(ctx context.Context, pubsub *v1alpha1.Pubsub, opts v1.UpdateOptions) (result *v1alpha1.Pubsub, err error)
Update takes the representation of a pubsub and updates it. Returns the server's representation of the pubsub, and an error, if there is any.
func (*FakePubsubs) UpdateStatus ¶ added in v0.5.0
func (c *FakePubsubs) UpdateStatus(ctx context.Context, pubsub *v1alpha1.Pubsub, opts v1.UpdateOptions) (*v1alpha1.Pubsub, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePubsubs) Watch ¶ added in v0.5.0
func (c *FakePubsubs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested pubsubs.
type FakeWebV1alpha1 ¶
func (*FakeWebV1alpha1) ApplicationFirewallPolicies ¶
func (c *FakeWebV1alpha1) ApplicationFirewallPolicies(namespace string) v1alpha1.ApplicationFirewallPolicyInterface
func (*FakeWebV1alpha1) PubsubHubs ¶ added in v0.5.0
func (c *FakeWebV1alpha1) PubsubHubs(namespace string) v1alpha1.PubsubHubInterface
func (*FakeWebV1alpha1) PubsubNetworkACLs ¶ added in v0.5.0
func (c *FakeWebV1alpha1) PubsubNetworkACLs(namespace string) v1alpha1.PubsubNetworkACLInterface
func (*FakeWebV1alpha1) Pubsubs ¶ added in v0.5.0
func (c *FakeWebV1alpha1) Pubsubs(namespace string) v1alpha1.PubsubInterface
func (*FakeWebV1alpha1) RESTClient ¶
func (c *FakeWebV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.