Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAttestationAuthorities
- func (c *FakeAttestationAuthorities) Create(attestationAuthority *v1beta1.AttestationAuthority) (result *v1beta1.AttestationAuthority, err error)
- func (c *FakeAttestationAuthorities) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeAttestationAuthorities) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeAttestationAuthorities) Get(name string, options v1.GetOptions) (result *v1beta1.AttestationAuthority, err error)
- func (c *FakeAttestationAuthorities) List(opts v1.ListOptions) (result *v1beta1.AttestationAuthorityList, err error)
- func (c *FakeAttestationAuthorities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AttestationAuthority, err error)
- func (c *FakeAttestationAuthorities) Update(attestationAuthority *v1beta1.AttestationAuthority) (result *v1beta1.AttestationAuthority, err error)
- func (c *FakeAttestationAuthorities) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeBuildPolicies
- func (c *FakeBuildPolicies) Create(buildPolicy *v1beta1.BuildPolicy) (result *v1beta1.BuildPolicy, err error)
- func (c *FakeBuildPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeBuildPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeBuildPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.BuildPolicy, err error)
- func (c *FakeBuildPolicies) List(opts v1.ListOptions) (result *v1beta1.BuildPolicyList, err error)
- func (c *FakeBuildPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.BuildPolicy, err error)
- func (c *FakeBuildPolicies) Update(buildPolicy *v1beta1.BuildPolicy) (result *v1beta1.BuildPolicy, err error)
- func (c *FakeBuildPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeGenericAttestationPolicies
- func (c *FakeGenericAttestationPolicies) Create(genericAttestationPolicy *v1beta1.GenericAttestationPolicy) (result *v1beta1.GenericAttestationPolicy, err error)
- func (c *FakeGenericAttestationPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeGenericAttestationPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeGenericAttestationPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.GenericAttestationPolicy, err error)
- func (c *FakeGenericAttestationPolicies) List(opts v1.ListOptions) (result *v1beta1.GenericAttestationPolicyList, err error)
- func (c *FakeGenericAttestationPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.GenericAttestationPolicy, err error)
- func (c *FakeGenericAttestationPolicies) Update(genericAttestationPolicy *v1beta1.GenericAttestationPolicy) (result *v1beta1.GenericAttestationPolicy, err error)
- func (c *FakeGenericAttestationPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeImageSecurityPolicies
- func (c *FakeImageSecurityPolicies) Create(imageSecurityPolicy *v1beta1.ImageSecurityPolicy) (result *v1beta1.ImageSecurityPolicy, err error)
- func (c *FakeImageSecurityPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeImageSecurityPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeImageSecurityPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.ImageSecurityPolicy, err error)
- func (c *FakeImageSecurityPolicies) List(opts v1.ListOptions) (result *v1beta1.ImageSecurityPolicyList, err error)
- func (c *FakeImageSecurityPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ImageSecurityPolicy, err error)
- func (c *FakeImageSecurityPolicies) Update(imageSecurityPolicy *v1beta1.ImageSecurityPolicy) (result *v1beta1.ImageSecurityPolicy, err error)
- func (c *FakeImageSecurityPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKritisConfigs
- func (c *FakeKritisConfigs) Create(kritisConfig *v1beta1.KritisConfig) (result *v1beta1.KritisConfig, err error)
- func (c *FakeKritisConfigs) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeKritisConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeKritisConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.KritisConfig, err error)
- func (c *FakeKritisConfigs) List(opts v1.ListOptions) (result *v1beta1.KritisConfigList, err error)
- func (c *FakeKritisConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.KritisConfig, err error)
- func (c *FakeKritisConfigs) Update(kritisConfig *v1beta1.KritisConfig) (result *v1beta1.KritisConfig, err error)
- func (c *FakeKritisConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeKritisV1beta1
- func (c *FakeKritisV1beta1) AttestationAuthorities(namespace string) v1beta1.AttestationAuthorityInterface
- func (c *FakeKritisV1beta1) BuildPolicies(namespace string) v1beta1.BuildPolicyInterface
- func (c *FakeKritisV1beta1) GenericAttestationPolicies(namespace string) v1beta1.GenericAttestationPolicyInterface
- func (c *FakeKritisV1beta1) ImageSecurityPolicies(namespace string) v1beta1.ImageSecurityPolicyInterface
- func (c *FakeKritisV1beta1) KritisConfigs() v1beta1.KritisConfigInterface
- func (c *FakeKritisV1beta1) RESTClient() rest.Interface
- func (c *FakeKritisV1beta1) VulnzSigningPolicies(namespace string) v1beta1.VulnzSigningPolicyInterface
- type FakeVulnzSigningPolicies
- func (c *FakeVulnzSigningPolicies) Create(vulnzSigningPolicy *v1beta1.VulnzSigningPolicy) (result *v1beta1.VulnzSigningPolicy, err error)
- func (c *FakeVulnzSigningPolicies) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeVulnzSigningPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeVulnzSigningPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.VulnzSigningPolicy, err error)
- func (c *FakeVulnzSigningPolicies) List(opts v1.ListOptions) (result *v1beta1.VulnzSigningPolicyList, err error)
- func (c *FakeVulnzSigningPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VulnzSigningPolicy, err error)
- func (c *FakeVulnzSigningPolicies) Update(vulnzSigningPolicy *v1beta1.VulnzSigningPolicy) (result *v1beta1.VulnzSigningPolicy, err error)
- func (c *FakeVulnzSigningPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAttestationAuthorities ¶
type FakeAttestationAuthorities struct { Fake *FakeKritisV1beta1 // contains filtered or unexported fields }
FakeAttestationAuthorities implements AttestationAuthorityInterface
func (*FakeAttestationAuthorities) Create ¶
func (c *FakeAttestationAuthorities) Create(attestationAuthority *v1beta1.AttestationAuthority) (result *v1beta1.AttestationAuthority, err error)
Create takes the representation of a attestationAuthority and creates it. Returns the server's representation of the attestationAuthority, and an error, if there is any.
func (*FakeAttestationAuthorities) Delete ¶
func (c *FakeAttestationAuthorities) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the attestationAuthority and deletes it. Returns an error if one occurs.
func (*FakeAttestationAuthorities) DeleteCollection ¶
func (c *FakeAttestationAuthorities) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAttestationAuthorities) Get ¶
func (c *FakeAttestationAuthorities) Get(name string, options v1.GetOptions) (result *v1beta1.AttestationAuthority, err error)
Get takes name of the attestationAuthority, and returns the corresponding attestationAuthority object, and an error if there is any.
func (*FakeAttestationAuthorities) List ¶
func (c *FakeAttestationAuthorities) List(opts v1.ListOptions) (result *v1beta1.AttestationAuthorityList, err error)
List takes label and field selectors, and returns the list of AttestationAuthorities that match those selectors.
func (*FakeAttestationAuthorities) Patch ¶
func (c *FakeAttestationAuthorities) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.AttestationAuthority, err error)
Patch applies the patch and returns the patched attestationAuthority.
func (*FakeAttestationAuthorities) Update ¶
func (c *FakeAttestationAuthorities) Update(attestationAuthority *v1beta1.AttestationAuthority) (result *v1beta1.AttestationAuthority, err error)
Update takes the representation of a attestationAuthority and updates it. Returns the server's representation of the attestationAuthority, and an error, if there is any.
func (*FakeAttestationAuthorities) Watch ¶
func (c *FakeAttestationAuthorities) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested attestationAuthorities.
type FakeBuildPolicies ¶
type FakeBuildPolicies struct { Fake *FakeKritisV1beta1 // contains filtered or unexported fields }
FakeBuildPolicies implements BuildPolicyInterface
func (*FakeBuildPolicies) Create ¶
func (c *FakeBuildPolicies) Create(buildPolicy *v1beta1.BuildPolicy) (result *v1beta1.BuildPolicy, err error)
Create takes the representation of a buildPolicy and creates it. Returns the server's representation of the buildPolicy, and an error, if there is any.
func (*FakeBuildPolicies) Delete ¶
func (c *FakeBuildPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the buildPolicy and deletes it. Returns an error if one occurs.
func (*FakeBuildPolicies) DeleteCollection ¶
func (c *FakeBuildPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBuildPolicies) Get ¶
func (c *FakeBuildPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.BuildPolicy, err error)
Get takes name of the buildPolicy, and returns the corresponding buildPolicy object, and an error if there is any.
func (*FakeBuildPolicies) List ¶
func (c *FakeBuildPolicies) List(opts v1.ListOptions) (result *v1beta1.BuildPolicyList, err error)
List takes label and field selectors, and returns the list of BuildPolicies that match those selectors.
func (*FakeBuildPolicies) Patch ¶
func (c *FakeBuildPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.BuildPolicy, err error)
Patch applies the patch and returns the patched buildPolicy.
func (*FakeBuildPolicies) Update ¶
func (c *FakeBuildPolicies) Update(buildPolicy *v1beta1.BuildPolicy) (result *v1beta1.BuildPolicy, err error)
Update takes the representation of a buildPolicy and updates it. Returns the server's representation of the buildPolicy, and an error, if there is any.
func (*FakeBuildPolicies) Watch ¶
func (c *FakeBuildPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested buildPolicies.
type FakeGenericAttestationPolicies ¶
type FakeGenericAttestationPolicies struct { Fake *FakeKritisV1beta1 // contains filtered or unexported fields }
FakeGenericAttestationPolicies implements GenericAttestationPolicyInterface
func (*FakeGenericAttestationPolicies) Create ¶
func (c *FakeGenericAttestationPolicies) Create(genericAttestationPolicy *v1beta1.GenericAttestationPolicy) (result *v1beta1.GenericAttestationPolicy, err error)
Create takes the representation of a genericAttestationPolicy and creates it. Returns the server's representation of the genericAttestationPolicy, and an error, if there is any.
func (*FakeGenericAttestationPolicies) Delete ¶
func (c *FakeGenericAttestationPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the genericAttestationPolicy and deletes it. Returns an error if one occurs.
func (*FakeGenericAttestationPolicies) DeleteCollection ¶
func (c *FakeGenericAttestationPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeGenericAttestationPolicies) Get ¶
func (c *FakeGenericAttestationPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.GenericAttestationPolicy, err error)
Get takes name of the genericAttestationPolicy, and returns the corresponding genericAttestationPolicy object, and an error if there is any.
func (*FakeGenericAttestationPolicies) List ¶
func (c *FakeGenericAttestationPolicies) List(opts v1.ListOptions) (result *v1beta1.GenericAttestationPolicyList, err error)
List takes label and field selectors, and returns the list of GenericAttestationPolicies that match those selectors.
func (*FakeGenericAttestationPolicies) Patch ¶
func (c *FakeGenericAttestationPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.GenericAttestationPolicy, err error)
Patch applies the patch and returns the patched genericAttestationPolicy.
func (*FakeGenericAttestationPolicies) Update ¶
func (c *FakeGenericAttestationPolicies) Update(genericAttestationPolicy *v1beta1.GenericAttestationPolicy) (result *v1beta1.GenericAttestationPolicy, err error)
Update takes the representation of a genericAttestationPolicy and updates it. Returns the server's representation of the genericAttestationPolicy, and an error, if there is any.
func (*FakeGenericAttestationPolicies) Watch ¶
func (c *FakeGenericAttestationPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested genericAttestationPolicies.
type FakeImageSecurityPolicies ¶
type FakeImageSecurityPolicies struct { Fake *FakeKritisV1beta1 // contains filtered or unexported fields }
FakeImageSecurityPolicies implements ImageSecurityPolicyInterface
func (*FakeImageSecurityPolicies) Create ¶
func (c *FakeImageSecurityPolicies) Create(imageSecurityPolicy *v1beta1.ImageSecurityPolicy) (result *v1beta1.ImageSecurityPolicy, err error)
Create takes the representation of a imageSecurityPolicy and creates it. Returns the server's representation of the imageSecurityPolicy, and an error, if there is any.
func (*FakeImageSecurityPolicies) Delete ¶
func (c *FakeImageSecurityPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the imageSecurityPolicy and deletes it. Returns an error if one occurs.
func (*FakeImageSecurityPolicies) DeleteCollection ¶
func (c *FakeImageSecurityPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImageSecurityPolicies) Get ¶
func (c *FakeImageSecurityPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.ImageSecurityPolicy, err error)
Get takes name of the imageSecurityPolicy, and returns the corresponding imageSecurityPolicy object, and an error if there is any.
func (*FakeImageSecurityPolicies) List ¶
func (c *FakeImageSecurityPolicies) List(opts v1.ListOptions) (result *v1beta1.ImageSecurityPolicyList, err error)
List takes label and field selectors, and returns the list of ImageSecurityPolicies that match those selectors.
func (*FakeImageSecurityPolicies) Patch ¶
func (c *FakeImageSecurityPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.ImageSecurityPolicy, err error)
Patch applies the patch and returns the patched imageSecurityPolicy.
func (*FakeImageSecurityPolicies) Update ¶
func (c *FakeImageSecurityPolicies) Update(imageSecurityPolicy *v1beta1.ImageSecurityPolicy) (result *v1beta1.ImageSecurityPolicy, err error)
Update takes the representation of a imageSecurityPolicy and updates it. Returns the server's representation of the imageSecurityPolicy, and an error, if there is any.
func (*FakeImageSecurityPolicies) Watch ¶
func (c *FakeImageSecurityPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageSecurityPolicies.
type FakeKritisConfigs ¶
type FakeKritisConfigs struct {
Fake *FakeKritisV1beta1
}
FakeKritisConfigs implements KritisConfigInterface
func (*FakeKritisConfigs) Create ¶
func (c *FakeKritisConfigs) Create(kritisConfig *v1beta1.KritisConfig) (result *v1beta1.KritisConfig, err error)
Create takes the representation of a kritisConfig and creates it. Returns the server's representation of the kritisConfig, and an error, if there is any.
func (*FakeKritisConfigs) Delete ¶
func (c *FakeKritisConfigs) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the kritisConfig and deletes it. Returns an error if one occurs.
func (*FakeKritisConfigs) DeleteCollection ¶
func (c *FakeKritisConfigs) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKritisConfigs) Get ¶
func (c *FakeKritisConfigs) Get(name string, options v1.GetOptions) (result *v1beta1.KritisConfig, err error)
Get takes name of the kritisConfig, and returns the corresponding kritisConfig object, and an error if there is any.
func (*FakeKritisConfigs) List ¶
func (c *FakeKritisConfigs) List(opts v1.ListOptions) (result *v1beta1.KritisConfigList, err error)
List takes label and field selectors, and returns the list of KritisConfigs that match those selectors.
func (*FakeKritisConfigs) Patch ¶
func (c *FakeKritisConfigs) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.KritisConfig, err error)
Patch applies the patch and returns the patched kritisConfig.
func (*FakeKritisConfigs) Update ¶
func (c *FakeKritisConfigs) Update(kritisConfig *v1beta1.KritisConfig) (result *v1beta1.KritisConfig, err error)
Update takes the representation of a kritisConfig and updates it. Returns the server's representation of the kritisConfig, and an error, if there is any.
func (*FakeKritisConfigs) Watch ¶
func (c *FakeKritisConfigs) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested kritisConfigs.
type FakeKritisV1beta1 ¶
func (*FakeKritisV1beta1) AttestationAuthorities ¶
func (c *FakeKritisV1beta1) AttestationAuthorities(namespace string) v1beta1.AttestationAuthorityInterface
func (*FakeKritisV1beta1) BuildPolicies ¶
func (c *FakeKritisV1beta1) BuildPolicies(namespace string) v1beta1.BuildPolicyInterface
func (*FakeKritisV1beta1) GenericAttestationPolicies ¶
func (c *FakeKritisV1beta1) GenericAttestationPolicies(namespace string) v1beta1.GenericAttestationPolicyInterface
func (*FakeKritisV1beta1) ImageSecurityPolicies ¶
func (c *FakeKritisV1beta1) ImageSecurityPolicies(namespace string) v1beta1.ImageSecurityPolicyInterface
func (*FakeKritisV1beta1) KritisConfigs ¶
func (c *FakeKritisV1beta1) KritisConfigs() v1beta1.KritisConfigInterface
func (*FakeKritisV1beta1) RESTClient ¶
func (c *FakeKritisV1beta1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeKritisV1beta1) VulnzSigningPolicies ¶
func (c *FakeKritisV1beta1) VulnzSigningPolicies(namespace string) v1beta1.VulnzSigningPolicyInterface
type FakeVulnzSigningPolicies ¶
type FakeVulnzSigningPolicies struct { Fake *FakeKritisV1beta1 // contains filtered or unexported fields }
FakeVulnzSigningPolicies implements VulnzSigningPolicyInterface
func (*FakeVulnzSigningPolicies) Create ¶
func (c *FakeVulnzSigningPolicies) Create(vulnzSigningPolicy *v1beta1.VulnzSigningPolicy) (result *v1beta1.VulnzSigningPolicy, err error)
Create takes the representation of a vulnzSigningPolicy and creates it. Returns the server's representation of the vulnzSigningPolicy, and an error, if there is any.
func (*FakeVulnzSigningPolicies) Delete ¶
func (c *FakeVulnzSigningPolicies) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the vulnzSigningPolicy and deletes it. Returns an error if one occurs.
func (*FakeVulnzSigningPolicies) DeleteCollection ¶
func (c *FakeVulnzSigningPolicies) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeVulnzSigningPolicies) Get ¶
func (c *FakeVulnzSigningPolicies) Get(name string, options v1.GetOptions) (result *v1beta1.VulnzSigningPolicy, err error)
Get takes name of the vulnzSigningPolicy, and returns the corresponding vulnzSigningPolicy object, and an error if there is any.
func (*FakeVulnzSigningPolicies) List ¶
func (c *FakeVulnzSigningPolicies) List(opts v1.ListOptions) (result *v1beta1.VulnzSigningPolicyList, err error)
List takes label and field selectors, and returns the list of VulnzSigningPolicies that match those selectors.
func (*FakeVulnzSigningPolicies) Patch ¶
func (c *FakeVulnzSigningPolicies) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1beta1.VulnzSigningPolicy, err error)
Patch applies the patch and returns the patched vulnzSigningPolicy.
func (*FakeVulnzSigningPolicies) Update ¶
func (c *FakeVulnzSigningPolicies) Update(vulnzSigningPolicy *v1beta1.VulnzSigningPolicy) (result *v1beta1.VulnzSigningPolicy, err error)
Update takes the representation of a vulnzSigningPolicy and updates it. Returns the server's representation of the vulnzSigningPolicy, and an error, if there is any.
func (*FakeVulnzSigningPolicies) Watch ¶
func (c *FakeVulnzSigningPolicies) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested vulnzSigningPolicies.