Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAttestorIamBindings
- func (c *FakeAttestorIamBindings) Create(ctx context.Context, attestorIamBinding *v1alpha1.AttestorIamBinding, ...) (result *v1alpha1.AttestorIamBinding, err error)
- func (c *FakeAttestorIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAttestorIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAttestorIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AttestorIamBinding, err error)
- func (c *FakeAttestorIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorIamBindingList, err error)
- func (c *FakeAttestorIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AttestorIamBinding, err error)
- func (c *FakeAttestorIamBindings) Update(ctx context.Context, attestorIamBinding *v1alpha1.AttestorIamBinding, ...) (result *v1alpha1.AttestorIamBinding, err error)
- func (c *FakeAttestorIamBindings) UpdateStatus(ctx context.Context, attestorIamBinding *v1alpha1.AttestorIamBinding, ...) (*v1alpha1.AttestorIamBinding, error)
- func (c *FakeAttestorIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAttestorIamMembers
- func (c *FakeAttestorIamMembers) Create(ctx context.Context, attestorIamMember *v1alpha1.AttestorIamMember, ...) (result *v1alpha1.AttestorIamMember, err error)
- func (c *FakeAttestorIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAttestorIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAttestorIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AttestorIamMember, err error)
- func (c *FakeAttestorIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorIamMemberList, err error)
- func (c *FakeAttestorIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AttestorIamMember, err error)
- func (c *FakeAttestorIamMembers) Update(ctx context.Context, attestorIamMember *v1alpha1.AttestorIamMember, ...) (result *v1alpha1.AttestorIamMember, err error)
- func (c *FakeAttestorIamMembers) UpdateStatus(ctx context.Context, attestorIamMember *v1alpha1.AttestorIamMember, ...) (*v1alpha1.AttestorIamMember, error)
- func (c *FakeAttestorIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAttestorIamPolicies
- func (c *FakeAttestorIamPolicies) Create(ctx context.Context, attestorIamPolicy *v1alpha1.AttestorIamPolicy, ...) (result *v1alpha1.AttestorIamPolicy, err error)
- func (c *FakeAttestorIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAttestorIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAttestorIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AttestorIamPolicy, err error)
- func (c *FakeAttestorIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorIamPolicyList, err error)
- func (c *FakeAttestorIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AttestorIamPolicy, err error)
- func (c *FakeAttestorIamPolicies) Update(ctx context.Context, attestorIamPolicy *v1alpha1.AttestorIamPolicy, ...) (result *v1alpha1.AttestorIamPolicy, err error)
- func (c *FakeAttestorIamPolicies) UpdateStatus(ctx context.Context, attestorIamPolicy *v1alpha1.AttestorIamPolicy, ...) (*v1alpha1.AttestorIamPolicy, error)
- func (c *FakeAttestorIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAttestors
- func (c *FakeAttestors) Create(ctx context.Context, attestor *v1alpha1.Attestor, opts v1.CreateOptions) (result *v1alpha1.Attestor, err error)
- func (c *FakeAttestors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAttestors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAttestors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Attestor, err error)
- func (c *FakeAttestors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorList, err error)
- func (c *FakeAttestors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Attestor, err error)
- func (c *FakeAttestors) Update(ctx context.Context, attestor *v1alpha1.Attestor, opts v1.UpdateOptions) (result *v1alpha1.Attestor, err error)
- func (c *FakeAttestors) UpdateStatus(ctx context.Context, attestor *v1alpha1.Attestor, opts v1.UpdateOptions) (*v1alpha1.Attestor, error)
- func (c *FakeAttestors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBinaryauthorizationV1alpha1
- func (c *FakeBinaryauthorizationV1alpha1) AttestorIamBindings(namespace string) v1alpha1.AttestorIamBindingInterface
- func (c *FakeBinaryauthorizationV1alpha1) AttestorIamMembers(namespace string) v1alpha1.AttestorIamMemberInterface
- func (c *FakeBinaryauthorizationV1alpha1) AttestorIamPolicies(namespace string) v1alpha1.AttestorIamPolicyInterface
- func (c *FakeBinaryauthorizationV1alpha1) Attestors(namespace string) v1alpha1.AttestorInterface
- func (c *FakeBinaryauthorizationV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
- func (c *FakeBinaryauthorizationV1alpha1) RESTClient() rest.Interface
- type FakePolicies
- func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
- func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.Policy, err error)
- func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
- func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAttestorIamBindings ¶
type FakeAttestorIamBindings struct { Fake *FakeBinaryauthorizationV1alpha1 // contains filtered or unexported fields }
FakeAttestorIamBindings implements AttestorIamBindingInterface
func (*FakeAttestorIamBindings) Create ¶
func (c *FakeAttestorIamBindings) Create(ctx context.Context, attestorIamBinding *v1alpha1.AttestorIamBinding, opts v1.CreateOptions) (result *v1alpha1.AttestorIamBinding, err error)
Create takes the representation of a attestorIamBinding and creates it. Returns the server's representation of the attestorIamBinding, and an error, if there is any.
func (*FakeAttestorIamBindings) Delete ¶
func (c *FakeAttestorIamBindings) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the attestorIamBinding and deletes it. Returns an error if one occurs.
func (*FakeAttestorIamBindings) DeleteCollection ¶
func (c *FakeAttestorIamBindings) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAttestorIamBindings) Get ¶
func (c *FakeAttestorIamBindings) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AttestorIamBinding, err error)
Get takes name of the attestorIamBinding, and returns the corresponding attestorIamBinding object, and an error if there is any.
func (*FakeAttestorIamBindings) List ¶
func (c *FakeAttestorIamBindings) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorIamBindingList, err error)
List takes label and field selectors, and returns the list of AttestorIamBindings that match those selectors.
func (*FakeAttestorIamBindings) Patch ¶
func (c *FakeAttestorIamBindings) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AttestorIamBinding, err error)
Patch applies the patch and returns the patched attestorIamBinding.
func (*FakeAttestorIamBindings) Update ¶
func (c *FakeAttestorIamBindings) Update(ctx context.Context, attestorIamBinding *v1alpha1.AttestorIamBinding, opts v1.UpdateOptions) (result *v1alpha1.AttestorIamBinding, err error)
Update takes the representation of a attestorIamBinding and updates it. Returns the server's representation of the attestorIamBinding, and an error, if there is any.
func (*FakeAttestorIamBindings) UpdateStatus ¶
func (c *FakeAttestorIamBindings) UpdateStatus(ctx context.Context, attestorIamBinding *v1alpha1.AttestorIamBinding, opts v1.UpdateOptions) (*v1alpha1.AttestorIamBinding, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAttestorIamBindings) Watch ¶
func (c *FakeAttestorIamBindings) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested attestorIamBindings.
type FakeAttestorIamMembers ¶
type FakeAttestorIamMembers struct { Fake *FakeBinaryauthorizationV1alpha1 // contains filtered or unexported fields }
FakeAttestorIamMembers implements AttestorIamMemberInterface
func (*FakeAttestorIamMembers) Create ¶
func (c *FakeAttestorIamMembers) Create(ctx context.Context, attestorIamMember *v1alpha1.AttestorIamMember, opts v1.CreateOptions) (result *v1alpha1.AttestorIamMember, err error)
Create takes the representation of a attestorIamMember and creates it. Returns the server's representation of the attestorIamMember, and an error, if there is any.
func (*FakeAttestorIamMembers) Delete ¶
func (c *FakeAttestorIamMembers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the attestorIamMember and deletes it. Returns an error if one occurs.
func (*FakeAttestorIamMembers) DeleteCollection ¶
func (c *FakeAttestorIamMembers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAttestorIamMembers) Get ¶
func (c *FakeAttestorIamMembers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AttestorIamMember, err error)
Get takes name of the attestorIamMember, and returns the corresponding attestorIamMember object, and an error if there is any.
func (*FakeAttestorIamMembers) List ¶
func (c *FakeAttestorIamMembers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorIamMemberList, err error)
List takes label and field selectors, and returns the list of AttestorIamMembers that match those selectors.
func (*FakeAttestorIamMembers) Patch ¶
func (c *FakeAttestorIamMembers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AttestorIamMember, err error)
Patch applies the patch and returns the patched attestorIamMember.
func (*FakeAttestorIamMembers) Update ¶
func (c *FakeAttestorIamMembers) Update(ctx context.Context, attestorIamMember *v1alpha1.AttestorIamMember, opts v1.UpdateOptions) (result *v1alpha1.AttestorIamMember, err error)
Update takes the representation of a attestorIamMember and updates it. Returns the server's representation of the attestorIamMember, and an error, if there is any.
func (*FakeAttestorIamMembers) UpdateStatus ¶
func (c *FakeAttestorIamMembers) UpdateStatus(ctx context.Context, attestorIamMember *v1alpha1.AttestorIamMember, opts v1.UpdateOptions) (*v1alpha1.AttestorIamMember, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAttestorIamMembers) Watch ¶
func (c *FakeAttestorIamMembers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested attestorIamMembers.
type FakeAttestorIamPolicies ¶
type FakeAttestorIamPolicies struct { Fake *FakeBinaryauthorizationV1alpha1 // contains filtered or unexported fields }
FakeAttestorIamPolicies implements AttestorIamPolicyInterface
func (*FakeAttestorIamPolicies) Create ¶
func (c *FakeAttestorIamPolicies) Create(ctx context.Context, attestorIamPolicy *v1alpha1.AttestorIamPolicy, opts v1.CreateOptions) (result *v1alpha1.AttestorIamPolicy, err error)
Create takes the representation of a attestorIamPolicy and creates it. Returns the server's representation of the attestorIamPolicy, and an error, if there is any.
func (*FakeAttestorIamPolicies) Delete ¶
func (c *FakeAttestorIamPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the attestorIamPolicy and deletes it. Returns an error if one occurs.
func (*FakeAttestorIamPolicies) DeleteCollection ¶
func (c *FakeAttestorIamPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAttestorIamPolicies) Get ¶
func (c *FakeAttestorIamPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AttestorIamPolicy, err error)
Get takes name of the attestorIamPolicy, and returns the corresponding attestorIamPolicy object, and an error if there is any.
func (*FakeAttestorIamPolicies) List ¶
func (c *FakeAttestorIamPolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorIamPolicyList, err error)
List takes label and field selectors, and returns the list of AttestorIamPolicies that match those selectors.
func (*FakeAttestorIamPolicies) Patch ¶
func (c *FakeAttestorIamPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AttestorIamPolicy, err error)
Patch applies the patch and returns the patched attestorIamPolicy.
func (*FakeAttestorIamPolicies) Update ¶
func (c *FakeAttestorIamPolicies) Update(ctx context.Context, attestorIamPolicy *v1alpha1.AttestorIamPolicy, opts v1.UpdateOptions) (result *v1alpha1.AttestorIamPolicy, err error)
Update takes the representation of a attestorIamPolicy and updates it. Returns the server's representation of the attestorIamPolicy, and an error, if there is any.
func (*FakeAttestorIamPolicies) UpdateStatus ¶
func (c *FakeAttestorIamPolicies) UpdateStatus(ctx context.Context, attestorIamPolicy *v1alpha1.AttestorIamPolicy, opts v1.UpdateOptions) (*v1alpha1.AttestorIamPolicy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAttestorIamPolicies) Watch ¶
func (c *FakeAttestorIamPolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested attestorIamPolicies.
type FakeAttestors ¶
type FakeAttestors struct { Fake *FakeBinaryauthorizationV1alpha1 // contains filtered or unexported fields }
FakeAttestors implements AttestorInterface
func (*FakeAttestors) Create ¶
func (c *FakeAttestors) Create(ctx context.Context, attestor *v1alpha1.Attestor, opts v1.CreateOptions) (result *v1alpha1.Attestor, err error)
Create takes the representation of a attestor and creates it. Returns the server's representation of the attestor, and an error, if there is any.
func (*FakeAttestors) Delete ¶
func (c *FakeAttestors) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the attestor and deletes it. Returns an error if one occurs.
func (*FakeAttestors) DeleteCollection ¶
func (c *FakeAttestors) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAttestors) Get ¶
func (c *FakeAttestors) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Attestor, err error)
Get takes name of the attestor, and returns the corresponding attestor object, and an error if there is any.
func (*FakeAttestors) List ¶
func (c *FakeAttestors) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AttestorList, err error)
List takes label and field selectors, and returns the list of Attestors that match those selectors.
func (*FakeAttestors) Patch ¶
func (c *FakeAttestors) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Attestor, err error)
Patch applies the patch and returns the patched attestor.
func (*FakeAttestors) Update ¶
func (c *FakeAttestors) Update(ctx context.Context, attestor *v1alpha1.Attestor, opts v1.UpdateOptions) (result *v1alpha1.Attestor, err error)
Update takes the representation of a attestor and updates it. Returns the server's representation of the attestor, and an error, if there is any.
func (*FakeAttestors) UpdateStatus ¶
func (c *FakeAttestors) UpdateStatus(ctx context.Context, attestor *v1alpha1.Attestor, opts v1.UpdateOptions) (*v1alpha1.Attestor, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAttestors) Watch ¶
func (c *FakeAttestors) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested attestors.
type FakeBinaryauthorizationV1alpha1 ¶
type FakeBinaryauthorizationV1alpha1 struct {
}func (*FakeBinaryauthorizationV1alpha1) AttestorIamBindings ¶
func (c *FakeBinaryauthorizationV1alpha1) AttestorIamBindings(namespace string) v1alpha1.AttestorIamBindingInterface
func (*FakeBinaryauthorizationV1alpha1) AttestorIamMembers ¶
func (c *FakeBinaryauthorizationV1alpha1) AttestorIamMembers(namespace string) v1alpha1.AttestorIamMemberInterface
func (*FakeBinaryauthorizationV1alpha1) AttestorIamPolicies ¶
func (c *FakeBinaryauthorizationV1alpha1) AttestorIamPolicies(namespace string) v1alpha1.AttestorIamPolicyInterface
func (*FakeBinaryauthorizationV1alpha1) Attestors ¶
func (c *FakeBinaryauthorizationV1alpha1) Attestors(namespace string) v1alpha1.AttestorInterface
func (*FakeBinaryauthorizationV1alpha1) Policies ¶
func (c *FakeBinaryauthorizationV1alpha1) Policies(namespace string) v1alpha1.PolicyInterface
func (*FakeBinaryauthorizationV1alpha1) RESTClient ¶
func (c *FakeBinaryauthorizationV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakePolicies ¶
type FakePolicies struct { Fake *FakeBinaryauthorizationV1alpha1 // contains filtered or unexported fields }
FakePolicies implements PolicyInterface
func (*FakePolicies) Create ¶
func (c *FakePolicies) Create(ctx context.Context, policy *v1alpha1.Policy, opts v1.CreateOptions) (result *v1alpha1.Policy, err error)
Create takes the representation of a policy and creates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) Delete ¶
func (c *FakePolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the policy and deletes it. Returns an error if one occurs.
func (*FakePolicies) DeleteCollection ¶
func (c *FakePolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePolicies) Get ¶
func (c *FakePolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Policy, err error)
Get takes name of the policy, and returns the corresponding policy object, and an error if there is any.
func (*FakePolicies) List ¶
func (c *FakePolicies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PolicyList, err error)
List takes label and field selectors, and returns the list of Policies that match those selectors.
func (*FakePolicies) Patch ¶
func (c *FakePolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Policy, err error)
Patch applies the patch and returns the patched policy.
func (*FakePolicies) Update ¶
func (c *FakePolicies) Update(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (result *v1alpha1.Policy, err error)
Update takes the representation of a policy and updates it. Returns the server's representation of the policy, and an error, if there is any.
func (*FakePolicies) UpdateStatus ¶
func (c *FakePolicies) UpdateStatus(ctx context.Context, policy *v1alpha1.Policy, opts v1.UpdateOptions) (*v1alpha1.Policy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePolicies) Watch ¶
func (c *FakePolicies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested policies.