Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthorizationPolicies
- func (c *FakeAuthorizationPolicies) Create(authorizationPolicy *v1beta1.AuthorizationPolicy) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAuthorizationPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAuthorizationPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) List(opts v1.ListOptions) (result *v1beta1.AuthorizationPolicyList, err error)
- func (c *FakeAuthorizationPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) Update(authorizationPolicy *v1beta1.AuthorizationPolicy) (result *v1beta1.AuthorizationPolicy, err error)
- func (c *FakeAuthorizationPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakePeerAuthentications
- func (c *FakePeerAuthentications) Create(peerAuthentication *v1beta1.PeerAuthentication) (result *v1beta1.PeerAuthentication, err error)
- func (c *FakePeerAuthentications) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakePeerAuthentications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakePeerAuthentications) Get(name string, options v1.GetOptions) (result *v1beta1.PeerAuthentication, err error)
- func (c *FakePeerAuthentications) List(opts v1.ListOptions) (result *v1beta1.PeerAuthenticationList, err error)
- func (c *FakePeerAuthentications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PeerAuthentication, err error)
- func (c *FakePeerAuthentications) Update(peerAuthentication *v1beta1.PeerAuthentication) (result *v1beta1.PeerAuthentication, err error)
- func (c *FakePeerAuthentications) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRequestAuthentications
- func (c *FakeRequestAuthentications) Create(requestAuthentication *v1beta1.RequestAuthentication) (result *v1beta1.RequestAuthentication, err error)
- func (c *FakeRequestAuthentications) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRequestAuthentications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRequestAuthentications) Get(name string, options v1.GetOptions) (result *v1beta1.RequestAuthentication, err error)
- func (c *FakeRequestAuthentications) List(opts v1.ListOptions) (result *v1beta1.RequestAuthenticationList, err error)
- func (c *FakeRequestAuthentications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.RequestAuthentication, err error)
- func (c *FakeRequestAuthentications) Update(requestAuthentication *v1beta1.RequestAuthentication) (result *v1beta1.RequestAuthentication, err error)
- func (c *FakeRequestAuthentications) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeSecurityV1beta1
- func (c *FakeSecurityV1beta1) AuthorizationPolicies(namespace string) v1beta1.AuthorizationPolicyInterface
- func (c *FakeSecurityV1beta1) PeerAuthentications(namespace string) v1beta1.PeerAuthenticationInterface
- func (c *FakeSecurityV1beta1) RESTClient() rest.Interface
- func (c *FakeSecurityV1beta1) RequestAuthentications(namespace string) v1beta1.RequestAuthenticationInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAuthorizationPolicies ¶
type FakeAuthorizationPolicies struct { Fake *FakeSecurityV1beta1 // contains filtered or unexported fields }
FakeAuthorizationPolicies implements AuthorizationPolicyInterface
func (*FakeAuthorizationPolicies) Create ¶
func (c *FakeAuthorizationPolicies) Create(authorizationPolicy *v1beta1.AuthorizationPolicy) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAuthorizationPolicies) Get ¶
func (c *FakeAuthorizationPolicies) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AuthorizationPolicy, err error)
Patch applies the patch and returns the patched authorizationPolicy.
func (*FakeAuthorizationPolicies) Update ¶
func (c *FakeAuthorizationPolicies) Update(authorizationPolicy *v1beta1.AuthorizationPolicy) (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(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested authorizationPolicies.
type FakePeerAuthentications ¶
type FakePeerAuthentications struct { Fake *FakeSecurityV1beta1 // contains filtered or unexported fields }
FakePeerAuthentications implements PeerAuthenticationInterface
func (*FakePeerAuthentications) Create ¶
func (c *FakePeerAuthentications) Create(peerAuthentication *v1beta1.PeerAuthentication) (result *v1beta1.PeerAuthentication, err error)
Create takes the representation of a peerAuthentication and creates it. Returns the server's representation of the peerAuthentication, and an error, if there is any.
func (*FakePeerAuthentications) Delete ¶
func (c *FakePeerAuthentications) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the peerAuthentication and deletes it. Returns an error if one occurs.
func (*FakePeerAuthentications) DeleteCollection ¶
func (c *FakePeerAuthentications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePeerAuthentications) Get ¶
func (c *FakePeerAuthentications) Get(name string, options v1.GetOptions) (result *v1beta1.PeerAuthentication, err error)
Get takes name of the peerAuthentication, and returns the corresponding peerAuthentication object, and an error if there is any.
func (*FakePeerAuthentications) List ¶
func (c *FakePeerAuthentications) List(opts v1.ListOptions) (result *v1beta1.PeerAuthenticationList, err error)
List takes label and field selectors, and returns the list of PeerAuthentications that match those selectors.
func (*FakePeerAuthentications) Patch ¶
func (c *FakePeerAuthentications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.PeerAuthentication, err error)
Patch applies the patch and returns the patched peerAuthentication.
func (*FakePeerAuthentications) Update ¶
func (c *FakePeerAuthentications) Update(peerAuthentication *v1beta1.PeerAuthentication) (result *v1beta1.PeerAuthentication, err error)
Update takes the representation of a peerAuthentication and updates it. Returns the server's representation of the peerAuthentication, and an error, if there is any.
func (*FakePeerAuthentications) Watch ¶
func (c *FakePeerAuthentications) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested peerAuthentications.
type FakeRequestAuthentications ¶
type FakeRequestAuthentications struct { Fake *FakeSecurityV1beta1 // contains filtered or unexported fields }
FakeRequestAuthentications implements RequestAuthenticationInterface
func (*FakeRequestAuthentications) Create ¶
func (c *FakeRequestAuthentications) Create(requestAuthentication *v1beta1.RequestAuthentication) (result *v1beta1.RequestAuthentication, err error)
Create takes the representation of a requestAuthentication and creates it. Returns the server's representation of the requestAuthentication, and an error, if there is any.
func (*FakeRequestAuthentications) Delete ¶
func (c *FakeRequestAuthentications) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the requestAuthentication and deletes it. Returns an error if one occurs.
func (*FakeRequestAuthentications) DeleteCollection ¶
func (c *FakeRequestAuthentications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRequestAuthentications) Get ¶
func (c *FakeRequestAuthentications) Get(name string, options v1.GetOptions) (result *v1beta1.RequestAuthentication, err error)
Get takes name of the requestAuthentication, and returns the corresponding requestAuthentication object, and an error if there is any.
func (*FakeRequestAuthentications) List ¶
func (c *FakeRequestAuthentications) List(opts v1.ListOptions) (result *v1beta1.RequestAuthenticationList, err error)
List takes label and field selectors, and returns the list of RequestAuthentications that match those selectors.
func (*FakeRequestAuthentications) Patch ¶
func (c *FakeRequestAuthentications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.RequestAuthentication, err error)
Patch applies the patch and returns the patched requestAuthentication.
func (*FakeRequestAuthentications) Update ¶
func (c *FakeRequestAuthentications) Update(requestAuthentication *v1beta1.RequestAuthentication) (result *v1beta1.RequestAuthentication, err error)
Update takes the representation of a requestAuthentication and updates it. Returns the server's representation of the requestAuthentication, and an error, if there is any.
func (*FakeRequestAuthentications) Watch ¶
func (c *FakeRequestAuthentications) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested requestAuthentications.
type FakeSecurityV1beta1 ¶
func (*FakeSecurityV1beta1) AuthorizationPolicies ¶
func (c *FakeSecurityV1beta1) AuthorizationPolicies(namespace string) v1beta1.AuthorizationPolicyInterface
func (*FakeSecurityV1beta1) PeerAuthentications ¶
func (c *FakeSecurityV1beta1) PeerAuthentications(namespace string) v1beta1.PeerAuthenticationInterface
func (*FakeSecurityV1beta1) RESTClient ¶
func (c *FakeSecurityV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSecurityV1beta1) RequestAuthentications ¶
func (c *FakeSecurityV1beta1) RequestAuthentications(namespace string) v1beta1.RequestAuthenticationInterface