Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeCertificates
- func (c *FakeCertificates) Create(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.CreateOptions) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeCertificates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeCertificates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CertificateList, err error)
- func (c *FakeCertificates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) Update(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (result *v1alpha1.Certificate, err error)
- func (c *FakeCertificates) UpdateStatus(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (*v1alpha1.Certificate, error)
- func (c *FakeCertificates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePasswords
- func (c *FakePasswords) Create(ctx context.Context, password *v1alpha1.Password, opts v1.CreateOptions) (result *v1alpha1.Password, err error)
- func (c *FakePasswords) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePasswords) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakePasswords) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Password, err error)
- func (c *FakePasswords) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PasswordList, err error)
- func (c *FakePasswords) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Password, err error)
- func (c *FakePasswords) Update(ctx context.Context, password *v1alpha1.Password, opts v1.UpdateOptions) (result *v1alpha1.Password, err error)
- func (c *FakePasswords) UpdateStatus(ctx context.Context, password *v1alpha1.Password, opts v1.UpdateOptions) (*v1alpha1.Password, error)
- func (c *FakePasswords) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRSAKeys
- func (c *FakeRSAKeys) Create(ctx context.Context, rSAKey *v1alpha1.RSAKey, opts v1.CreateOptions) (result *v1alpha1.RSAKey, err error)
- func (c *FakeRSAKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRSAKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRSAKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RSAKey, err error)
- func (c *FakeRSAKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RSAKeyList, err error)
- func (c *FakeRSAKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RSAKey, err error)
- func (c *FakeRSAKeys) Update(ctx context.Context, rSAKey *v1alpha1.RSAKey, opts v1.UpdateOptions) (result *v1alpha1.RSAKey, err error)
- func (c *FakeRSAKeys) UpdateStatus(ctx context.Context, rSAKey *v1alpha1.RSAKey, opts v1.UpdateOptions) (*v1alpha1.RSAKey, error)
- func (c *FakeRSAKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSSHKeys
- func (c *FakeSSHKeys) Create(ctx context.Context, sSHKey *v1alpha1.SSHKey, opts v1.CreateOptions) (result *v1alpha1.SSHKey, err error)
- func (c *FakeSSHKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSSHKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSSHKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SSHKey, err error)
- func (c *FakeSSHKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SSHKeyList, err error)
- func (c *FakeSSHKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SSHKey, err error)
- func (c *FakeSSHKeys) Update(ctx context.Context, sSHKey *v1alpha1.SSHKey, opts v1.UpdateOptions) (result *v1alpha1.SSHKey, err error)
- func (c *FakeSSHKeys) UpdateStatus(ctx context.Context, sSHKey *v1alpha1.SSHKey, opts v1.UpdateOptions) (*v1alpha1.SSHKey, error)
- func (c *FakeSSHKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSecretgenV1alpha1
- func (c *FakeSecretgenV1alpha1) Certificates(namespace string) v1alpha1.CertificateInterface
- func (c *FakeSecretgenV1alpha1) Passwords(namespace string) v1alpha1.PasswordInterface
- func (c *FakeSecretgenV1alpha1) RESTClient() rest.Interface
- func (c *FakeSecretgenV1alpha1) RSAKeys(namespace string) v1alpha1.RSAKeyInterface
- func (c *FakeSecretgenV1alpha1) SSHKeys(namespace string) v1alpha1.SSHKeyInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCertificates ¶
type FakeCertificates struct { Fake *FakeSecretgenV1alpha1 // contains filtered or unexported fields }
FakeCertificates implements CertificateInterface
func (*FakeCertificates) Create ¶
func (c *FakeCertificates) Create(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.CreateOptions) (result *v1alpha1.Certificate, err error)
Create takes the representation of a certificate and creates it. Returns the server's representation of the certificate, and an error, if there is any.
func (*FakeCertificates) Delete ¶
func (c *FakeCertificates) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the certificate and deletes it. Returns an error if one occurs.
func (*FakeCertificates) DeleteCollection ¶
func (c *FakeCertificates) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCertificates) Get ¶
func (c *FakeCertificates) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Certificate, err error)
Get takes name of the certificate, and returns the corresponding certificate object, and an error if there is any.
func (*FakeCertificates) List ¶
func (c *FakeCertificates) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.CertificateList, err error)
List takes label and field selectors, and returns the list of Certificates that match those selectors.
func (*FakeCertificates) Patch ¶
func (c *FakeCertificates) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Certificate, err error)
Patch applies the patch and returns the patched certificate.
func (*FakeCertificates) Update ¶
func (c *FakeCertificates) Update(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (result *v1alpha1.Certificate, err error)
Update takes the representation of a certificate and updates it. Returns the server's representation of the certificate, and an error, if there is any.
func (*FakeCertificates) UpdateStatus ¶
func (c *FakeCertificates) UpdateStatus(ctx context.Context, certificate *v1alpha1.Certificate, opts v1.UpdateOptions) (*v1alpha1.Certificate, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCertificates) Watch ¶
func (c *FakeCertificates) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested certificates.
type FakePasswords ¶
type FakePasswords struct { Fake *FakeSecretgenV1alpha1 // contains filtered or unexported fields }
FakePasswords implements PasswordInterface
func (*FakePasswords) Create ¶
func (c *FakePasswords) Create(ctx context.Context, password *v1alpha1.Password, opts v1.CreateOptions) (result *v1alpha1.Password, err error)
Create takes the representation of a password and creates it. Returns the server's representation of the password, and an error, if there is any.
func (*FakePasswords) Delete ¶
func (c *FakePasswords) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the password and deletes it. Returns an error if one occurs.
func (*FakePasswords) DeleteCollection ¶
func (c *FakePasswords) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakePasswords) Get ¶
func (c *FakePasswords) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Password, err error)
Get takes name of the password, and returns the corresponding password object, and an error if there is any.
func (*FakePasswords) List ¶
func (c *FakePasswords) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.PasswordList, err error)
List takes label and field selectors, and returns the list of Passwords that match those selectors.
func (*FakePasswords) Patch ¶
func (c *FakePasswords) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Password, err error)
Patch applies the patch and returns the patched password.
func (*FakePasswords) Update ¶
func (c *FakePasswords) Update(ctx context.Context, password *v1alpha1.Password, opts v1.UpdateOptions) (result *v1alpha1.Password, err error)
Update takes the representation of a password and updates it. Returns the server's representation of the password, and an error, if there is any.
func (*FakePasswords) UpdateStatus ¶
func (c *FakePasswords) UpdateStatus(ctx context.Context, password *v1alpha1.Password, opts v1.UpdateOptions) (*v1alpha1.Password, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakePasswords) Watch ¶
func (c *FakePasswords) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested passwords.
type FakeRSAKeys ¶
type FakeRSAKeys struct { Fake *FakeSecretgenV1alpha1 // contains filtered or unexported fields }
FakeRSAKeys implements RSAKeyInterface
func (*FakeRSAKeys) Create ¶
func (c *FakeRSAKeys) Create(ctx context.Context, rSAKey *v1alpha1.RSAKey, opts v1.CreateOptions) (result *v1alpha1.RSAKey, err error)
Create takes the representation of a rSAKey and creates it. Returns the server's representation of the rSAKey, and an error, if there is any.
func (*FakeRSAKeys) Delete ¶
func (c *FakeRSAKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the rSAKey and deletes it. Returns an error if one occurs.
func (*FakeRSAKeys) DeleteCollection ¶
func (c *FakeRSAKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRSAKeys) Get ¶
func (c *FakeRSAKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RSAKey, err error)
Get takes name of the rSAKey, and returns the corresponding rSAKey object, and an error if there is any.
func (*FakeRSAKeys) List ¶
func (c *FakeRSAKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RSAKeyList, err error)
List takes label and field selectors, and returns the list of RSAKeys that match those selectors.
func (*FakeRSAKeys) Patch ¶
func (c *FakeRSAKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RSAKey, err error)
Patch applies the patch and returns the patched rSAKey.
func (*FakeRSAKeys) Update ¶
func (c *FakeRSAKeys) Update(ctx context.Context, rSAKey *v1alpha1.RSAKey, opts v1.UpdateOptions) (result *v1alpha1.RSAKey, err error)
Update takes the representation of a rSAKey and updates it. Returns the server's representation of the rSAKey, and an error, if there is any.
func (*FakeRSAKeys) UpdateStatus ¶
func (c *FakeRSAKeys) UpdateStatus(ctx context.Context, rSAKey *v1alpha1.RSAKey, opts v1.UpdateOptions) (*v1alpha1.RSAKey, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRSAKeys) Watch ¶
func (c *FakeRSAKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rSAKeys.
type FakeSSHKeys ¶
type FakeSSHKeys struct { Fake *FakeSecretgenV1alpha1 // contains filtered or unexported fields }
FakeSSHKeys implements SSHKeyInterface
func (*FakeSSHKeys) Create ¶
func (c *FakeSSHKeys) Create(ctx context.Context, sSHKey *v1alpha1.SSHKey, opts v1.CreateOptions) (result *v1alpha1.SSHKey, err error)
Create takes the representation of a sSHKey and creates it. Returns the server's representation of the sSHKey, and an error, if there is any.
func (*FakeSSHKeys) Delete ¶
func (c *FakeSSHKeys) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sSHKey and deletes it. Returns an error if one occurs.
func (*FakeSSHKeys) DeleteCollection ¶
func (c *FakeSSHKeys) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSSHKeys) Get ¶
func (c *FakeSSHKeys) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SSHKey, err error)
Get takes name of the sSHKey, and returns the corresponding sSHKey object, and an error if there is any.
func (*FakeSSHKeys) List ¶
func (c *FakeSSHKeys) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SSHKeyList, err error)
List takes label and field selectors, and returns the list of SSHKeys that match those selectors.
func (*FakeSSHKeys) Patch ¶
func (c *FakeSSHKeys) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SSHKey, err error)
Patch applies the patch and returns the patched sSHKey.
func (*FakeSSHKeys) Update ¶
func (c *FakeSSHKeys) Update(ctx context.Context, sSHKey *v1alpha1.SSHKey, opts v1.UpdateOptions) (result *v1alpha1.SSHKey, err error)
Update takes the representation of a sSHKey and updates it. Returns the server's representation of the sSHKey, and an error, if there is any.
func (*FakeSSHKeys) UpdateStatus ¶
func (c *FakeSSHKeys) UpdateStatus(ctx context.Context, sSHKey *v1alpha1.SSHKey, opts v1.UpdateOptions) (*v1alpha1.SSHKey, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSSHKeys) Watch ¶
func (c *FakeSSHKeys) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sSHKeys.
type FakeSecretgenV1alpha1 ¶
func (*FakeSecretgenV1alpha1) Certificates ¶
func (c *FakeSecretgenV1alpha1) Certificates(namespace string) v1alpha1.CertificateInterface
func (*FakeSecretgenV1alpha1) Passwords ¶
func (c *FakeSecretgenV1alpha1) Passwords(namespace string) v1alpha1.PasswordInterface
func (*FakeSecretgenV1alpha1) RESTClient ¶
func (c *FakeSecretgenV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeSecretgenV1alpha1) RSAKeys ¶
func (c *FakeSecretgenV1alpha1) RSAKeys(namespace string) v1alpha1.RSAKeyInterface
func (*FakeSecretgenV1alpha1) SSHKeys ¶
func (c *FakeSecretgenV1alpha1) SSHKeys(namespace string) v1alpha1.SSHKeyInterface