Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthenticationPolicies
- func (c *FakeAuthenticationPolicies) Apply(ctx context.Context, ...) (result *v1beta1.AuthenticationPolicy, err error)
- func (c *FakeAuthenticationPolicies) Create(ctx context.Context, authenticationPolicy *v1beta1.AuthenticationPolicy, ...) (result *v1beta1.AuthenticationPolicy, err error)
- func (c *FakeAuthenticationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAuthenticationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAuthenticationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AuthenticationPolicy, err error)
- func (c *FakeAuthenticationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AuthenticationPolicyList, err error)
- func (c *FakeAuthenticationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AuthenticationPolicy, err error)
- func (c *FakeAuthenticationPolicies) Update(ctx context.Context, authenticationPolicy *v1beta1.AuthenticationPolicy, ...) (result *v1beta1.AuthenticationPolicy, err error)
- func (c *FakeAuthenticationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAuthorizationPolicies
- func (c *FakeAuthorizationPolicies) Apply(ctx context.Context, ...) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) Create(ctx context.Context, authorizationPolicy *v1beta1.AuthorizationPolicy, ...) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAuthorizationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAuthorizationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AuthorizationPolicyList, err error)
- func (c *FakeAuthorizationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) Update(ctx context.Context, authorizationPolicy *v1beta1.AuthorizationPolicy, ...) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeDubboV1beta1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthenticationPolicies ¶
type FakeAuthenticationPolicies struct { Fake *FakeDubboV1beta1 // contains filtered or unexported fields }
FakeAuthenticationPolicies implements AuthenticationPolicyInterface
func (*FakeAuthenticationPolicies) Apply ¶
func (c *FakeAuthenticationPolicies) Apply(ctx context.Context, authenticationPolicy *dubboapacheorgv1beta1.AuthenticationPolicyApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.AuthenticationPolicy, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied authenticationPolicy.
func (*FakeAuthenticationPolicies) Create ¶
func (c *FakeAuthenticationPolicies) Create(ctx context.Context, authenticationPolicy *v1beta1.AuthenticationPolicy, opts v1.CreateOptions) (result *v1beta1.AuthenticationPolicy, err error)
Create takes the representation of a authenticationPolicy and creates it. Returns the server's representation of the authenticationPolicy, and an error, if there is any.
func (*FakeAuthenticationPolicies) Delete ¶
func (c *FakeAuthenticationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the authenticationPolicy and deletes it. Returns an error if one occurs.
func (*FakeAuthenticationPolicies) DeleteCollection ¶
func (c *FakeAuthenticationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAuthenticationPolicies) Get ¶
func (c *FakeAuthenticationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AuthenticationPolicy, err error)
Get takes name of the authenticationPolicy, and returns the corresponding authenticationPolicy object, and an error if there is any.
func (*FakeAuthenticationPolicies) List ¶
func (c *FakeAuthenticationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AuthenticationPolicyList, err error)
List takes label and field selectors, and returns the list of AuthenticationPolicies that match those selectors.
func (*FakeAuthenticationPolicies) Patch ¶
func (c *FakeAuthenticationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AuthenticationPolicy, err error)
Patch applies the patch and returns the patched authenticationPolicy.
func (*FakeAuthenticationPolicies) Update ¶
func (c *FakeAuthenticationPolicies) Update(ctx context.Context, authenticationPolicy *v1beta1.AuthenticationPolicy, opts v1.UpdateOptions) (result *v1beta1.AuthenticationPolicy, err error)
Update takes the representation of a authenticationPolicy and updates it. Returns the server's representation of the authenticationPolicy, and an error, if there is any.
func (*FakeAuthenticationPolicies) Watch ¶
func (c *FakeAuthenticationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested authenticationPolicies.
type FakeAuthorizationPolicies ¶
type FakeAuthorizationPolicies struct { Fake *FakeDubboV1beta1 // contains filtered or unexported fields }
FakeAuthorizationPolicies implements AuthorizationPolicyInterface
func (*FakeAuthorizationPolicies) Apply ¶
func (c *FakeAuthorizationPolicies) Apply(ctx context.Context, authorizationPolicy *dubboapacheorgv1beta1.AuthorizationPolicyApplyConfiguration, opts v1.ApplyOptions) (result *v1beta1.AuthorizationPolicy, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied authorizationPolicy.
func (*FakeAuthorizationPolicies) Create ¶
func (c *FakeAuthorizationPolicies) Create(ctx context.Context, authorizationPolicy *v1beta1.AuthorizationPolicy, opts v1.CreateOptions) (result *v1beta1.AuthorizationPolicy, err error)
Create takes the representation of a authorizationPolicy and creates it. Returns the server's representation of the authorizationPolicy, and an error, if there is any.
func (*FakeAuthorizationPolicies) Delete ¶
func (c *FakeAuthorizationPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the authorizationPolicy and deletes it. Returns an error if one occurs.
func (*FakeAuthorizationPolicies) DeleteCollection ¶
func (c *FakeAuthorizationPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAuthorizationPolicies) Get ¶
func (c *FakeAuthorizationPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1beta1.AuthorizationPolicy, err error)
Get takes name of the authorizationPolicy, and returns the corresponding authorizationPolicy object, and an error if there is any.
func (*FakeAuthorizationPolicies) List ¶
func (c *FakeAuthorizationPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1beta1.AuthorizationPolicyList, err error)
List takes label and field selectors, and returns the list of AuthorizationPolicies that match those selectors.
func (*FakeAuthorizationPolicies) Patch ¶
func (c *FakeAuthorizationPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1beta1.AuthorizationPolicy, err error)
Patch applies the patch and returns the patched authorizationPolicy.
func (*FakeAuthorizationPolicies) Update ¶
func (c *FakeAuthorizationPolicies) Update(ctx context.Context, authorizationPolicy *v1beta1.AuthorizationPolicy, opts v1.UpdateOptions) (result *v1beta1.AuthorizationPolicy, err error)
Update takes the representation of a authorizationPolicy and updates it. Returns the server's representation of the authorizationPolicy, and an error, if there is any.
func (*FakeAuthorizationPolicies) Watch ¶
func (c *FakeAuthorizationPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested authorizationPolicies.
type FakeDubboV1beta1 ¶
func (*FakeDubboV1beta1) AuthenticationPolicies ¶
func (c *FakeDubboV1beta1) AuthenticationPolicies(namespace string) v1beta1.AuthenticationPolicyInterface
func (*FakeDubboV1beta1) AuthorizationPolicies ¶
func (c *FakeDubboV1beta1) AuthorizationPolicies(namespace string) v1beta1.AuthorizationPolicyInterface
func (*FakeDubboV1beta1) RESTClient ¶
func (c *FakeDubboV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.