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