Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAllowlists
- func (c *FakeAllowlists) Create(ctx context.Context, allowlist *v1alpha1.Allowlist, opts v1.CreateOptions) (result *v1alpha1.Allowlist, err error)
- func (c *FakeAllowlists) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAllowlists) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAllowlists) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Allowlist, err error)
- func (c *FakeAllowlists) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AllowlistList, err error)
- func (c *FakeAllowlists) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Allowlist, err error)
- func (c *FakeAllowlists) Update(ctx context.Context, allowlist *v1alpha1.Allowlist, opts v1.UpdateOptions) (result *v1alpha1.Allowlist, err error)
- func (c *FakeAllowlists) UpdateStatus(ctx context.Context, allowlist *v1alpha1.Allowlist, opts v1.UpdateOptions) (*v1alpha1.Allowlist, error)
- func (c *FakeAllowlists) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApiV1alpha1
- func (c *FakeApiV1alpha1) Allowlists() v1alpha1.AllowlistInterface
- func (c *FakeApiV1alpha1) Logins(namespace string) v1alpha1.LoginInterface
- func (c *FakeApiV1alpha1) RESTClient() rest.Interface
- func (c *FakeApiV1alpha1) SSHKeyPairs(namespace string) v1alpha1.SSHKeyPairInterface
- func (c *FakeApiV1alpha1) SelfSignedTLSBundles(namespace string) v1alpha1.SelfSignedTLSBundleInterface
- type FakeLogins
- func (c *FakeLogins) Create(ctx context.Context, login *v1alpha1.Login, opts v1.CreateOptions) (result *v1alpha1.Login, err error)
- func (c *FakeLogins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeLogins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeLogins) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Login, err error)
- func (c *FakeLogins) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoginList, err error)
- func (c *FakeLogins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Login, err error)
- func (c *FakeLogins) Update(ctx context.Context, login *v1alpha1.Login, opts v1.UpdateOptions) (result *v1alpha1.Login, err error)
- func (c *FakeLogins) UpdateStatus(ctx context.Context, login *v1alpha1.Login, opts v1.UpdateOptions) (*v1alpha1.Login, error)
- func (c *FakeLogins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSSHKeyPairs
- func (c *FakeSSHKeyPairs) Create(ctx context.Context, sSHKeyPair *v1alpha1.SSHKeyPair, opts v1.CreateOptions) (result *v1alpha1.SSHKeyPair, err error)
- func (c *FakeSSHKeyPairs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSSHKeyPairs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSSHKeyPairs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SSHKeyPair, err error)
- func (c *FakeSSHKeyPairs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SSHKeyPairList, err error)
- func (c *FakeSSHKeyPairs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SSHKeyPair, err error)
- func (c *FakeSSHKeyPairs) Update(ctx context.Context, sSHKeyPair *v1alpha1.SSHKeyPair, opts v1.UpdateOptions) (result *v1alpha1.SSHKeyPair, err error)
- func (c *FakeSSHKeyPairs) UpdateStatus(ctx context.Context, sSHKeyPair *v1alpha1.SSHKeyPair, opts v1.UpdateOptions) (*v1alpha1.SSHKeyPair, error)
- func (c *FakeSSHKeyPairs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeSelfSignedTLSBundles
- func (c *FakeSelfSignedTLSBundles) Create(ctx context.Context, selfSignedTLSBundle *v1alpha1.SelfSignedTLSBundle, ...) (result *v1alpha1.SelfSignedTLSBundle, err error)
- func (c *FakeSelfSignedTLSBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeSelfSignedTLSBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeSelfSignedTLSBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SelfSignedTLSBundle, err error)
- func (c *FakeSelfSignedTLSBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SelfSignedTLSBundleList, err error)
- func (c *FakeSelfSignedTLSBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.SelfSignedTLSBundle, err error)
- func (c *FakeSelfSignedTLSBundles) Update(ctx context.Context, selfSignedTLSBundle *v1alpha1.SelfSignedTLSBundle, ...) (result *v1alpha1.SelfSignedTLSBundle, err error)
- func (c *FakeSelfSignedTLSBundles) UpdateStatus(ctx context.Context, selfSignedTLSBundle *v1alpha1.SelfSignedTLSBundle, ...) (*v1alpha1.SelfSignedTLSBundle, error)
- func (c *FakeSelfSignedTLSBundles) 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 FakeAllowlists ¶
type FakeAllowlists struct {
Fake *FakeApiV1alpha1
}
FakeAllowlists implements AllowlistInterface
func (*FakeAllowlists) Create ¶
func (c *FakeAllowlists) Create(ctx context.Context, allowlist *v1alpha1.Allowlist, opts v1.CreateOptions) (result *v1alpha1.Allowlist, err error)
Create takes the representation of a allowlist and creates it. Returns the server's representation of the allowlist, and an error, if there is any.
func (*FakeAllowlists) Delete ¶
func (c *FakeAllowlists) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the allowlist and deletes it. Returns an error if one occurs.
func (*FakeAllowlists) DeleteCollection ¶
func (c *FakeAllowlists) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAllowlists) Get ¶
func (c *FakeAllowlists) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Allowlist, err error)
Get takes name of the allowlist, and returns the corresponding allowlist object, and an error if there is any.
func (*FakeAllowlists) List ¶
func (c *FakeAllowlists) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AllowlistList, err error)
List takes label and field selectors, and returns the list of Allowlists that match those selectors.
func (*FakeAllowlists) Patch ¶
func (c *FakeAllowlists) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Allowlist, err error)
Patch applies the patch and returns the patched allowlist.
func (*FakeAllowlists) Update ¶
func (c *FakeAllowlists) Update(ctx context.Context, allowlist *v1alpha1.Allowlist, opts v1.UpdateOptions) (result *v1alpha1.Allowlist, err error)
Update takes the representation of a allowlist and updates it. Returns the server's representation of the allowlist, and an error, if there is any.
func (*FakeAllowlists) UpdateStatus ¶
func (c *FakeAllowlists) UpdateStatus(ctx context.Context, allowlist *v1alpha1.Allowlist, opts v1.UpdateOptions) (*v1alpha1.Allowlist, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAllowlists) Watch ¶
func (c *FakeAllowlists) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested allowlists.
type FakeApiV1alpha1 ¶
func (*FakeApiV1alpha1) Allowlists ¶
func (c *FakeApiV1alpha1) Allowlists() v1alpha1.AllowlistInterface
func (*FakeApiV1alpha1) Logins ¶
func (c *FakeApiV1alpha1) Logins(namespace string) v1alpha1.LoginInterface
func (*FakeApiV1alpha1) RESTClient ¶
func (c *FakeApiV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeApiV1alpha1) SSHKeyPairs ¶
func (c *FakeApiV1alpha1) SSHKeyPairs(namespace string) v1alpha1.SSHKeyPairInterface
func (*FakeApiV1alpha1) SelfSignedTLSBundles ¶
func (c *FakeApiV1alpha1) SelfSignedTLSBundles(namespace string) v1alpha1.SelfSignedTLSBundleInterface
type FakeLogins ¶
type FakeLogins struct { Fake *FakeApiV1alpha1 // contains filtered or unexported fields }
FakeLogins implements LoginInterface
func (*FakeLogins) Create ¶
func (c *FakeLogins) Create(ctx context.Context, login *v1alpha1.Login, opts v1.CreateOptions) (result *v1alpha1.Login, err error)
Create takes the representation of a login and creates it. Returns the server's representation of the login, and an error, if there is any.
func (*FakeLogins) Delete ¶
func (c *FakeLogins) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the login and deletes it. Returns an error if one occurs.
func (*FakeLogins) DeleteCollection ¶
func (c *FakeLogins) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeLogins) Get ¶
func (c *FakeLogins) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Login, err error)
Get takes name of the login, and returns the corresponding login object, and an error if there is any.
func (*FakeLogins) List ¶
func (c *FakeLogins) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LoginList, err error)
List takes label and field selectors, and returns the list of Logins that match those selectors.
func (*FakeLogins) Patch ¶
func (c *FakeLogins) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Login, err error)
Patch applies the patch and returns the patched login.
func (*FakeLogins) Update ¶
func (c *FakeLogins) Update(ctx context.Context, login *v1alpha1.Login, opts v1.UpdateOptions) (result *v1alpha1.Login, err error)
Update takes the representation of a login and updates it. Returns the server's representation of the login, and an error, if there is any.
func (*FakeLogins) UpdateStatus ¶
func (c *FakeLogins) UpdateStatus(ctx context.Context, login *v1alpha1.Login, opts v1.UpdateOptions) (*v1alpha1.Login, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeLogins) Watch ¶
func (c *FakeLogins) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested logins.
type FakeSSHKeyPairs ¶
type FakeSSHKeyPairs struct { Fake *FakeApiV1alpha1 // contains filtered or unexported fields }
FakeSSHKeyPairs implements SSHKeyPairInterface
func (*FakeSSHKeyPairs) Create ¶
func (c *FakeSSHKeyPairs) Create(ctx context.Context, sSHKeyPair *v1alpha1.SSHKeyPair, opts v1.CreateOptions) (result *v1alpha1.SSHKeyPair, err error)
Create takes the representation of a sSHKeyPair and creates it. Returns the server's representation of the sSHKeyPair, and an error, if there is any.
func (*FakeSSHKeyPairs) Delete ¶
func (c *FakeSSHKeyPairs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the sSHKeyPair and deletes it. Returns an error if one occurs.
func (*FakeSSHKeyPairs) DeleteCollection ¶
func (c *FakeSSHKeyPairs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSSHKeyPairs) Get ¶
func (c *FakeSSHKeyPairs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SSHKeyPair, err error)
Get takes name of the sSHKeyPair, and returns the corresponding sSHKeyPair object, and an error if there is any.
func (*FakeSSHKeyPairs) List ¶
func (c *FakeSSHKeyPairs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SSHKeyPairList, err error)
List takes label and field selectors, and returns the list of SSHKeyPairs that match those selectors.
func (*FakeSSHKeyPairs) Patch ¶
func (c *FakeSSHKeyPairs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SSHKeyPair, err error)
Patch applies the patch and returns the patched sSHKeyPair.
func (*FakeSSHKeyPairs) Update ¶
func (c *FakeSSHKeyPairs) Update(ctx context.Context, sSHKeyPair *v1alpha1.SSHKeyPair, opts v1.UpdateOptions) (result *v1alpha1.SSHKeyPair, err error)
Update takes the representation of a sSHKeyPair and updates it. Returns the server's representation of the sSHKeyPair, and an error, if there is any.
func (*FakeSSHKeyPairs) UpdateStatus ¶
func (c *FakeSSHKeyPairs) UpdateStatus(ctx context.Context, sSHKeyPair *v1alpha1.SSHKeyPair, opts v1.UpdateOptions) (*v1alpha1.SSHKeyPair, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSSHKeyPairs) Watch ¶
func (c *FakeSSHKeyPairs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested sSHKeyPairs.
type FakeSelfSignedTLSBundles ¶
type FakeSelfSignedTLSBundles struct { Fake *FakeApiV1alpha1 // contains filtered or unexported fields }
FakeSelfSignedTLSBundles implements SelfSignedTLSBundleInterface
func (*FakeSelfSignedTLSBundles) Create ¶
func (c *FakeSelfSignedTLSBundles) Create(ctx context.Context, selfSignedTLSBundle *v1alpha1.SelfSignedTLSBundle, opts v1.CreateOptions) (result *v1alpha1.SelfSignedTLSBundle, err error)
Create takes the representation of a selfSignedTLSBundle and creates it. Returns the server's representation of the selfSignedTLSBundle, and an error, if there is any.
func (*FakeSelfSignedTLSBundles) Delete ¶
func (c *FakeSelfSignedTLSBundles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the selfSignedTLSBundle and deletes it. Returns an error if one occurs.
func (*FakeSelfSignedTLSBundles) DeleteCollection ¶
func (c *FakeSelfSignedTLSBundles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeSelfSignedTLSBundles) Get ¶
func (c *FakeSelfSignedTLSBundles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.SelfSignedTLSBundle, err error)
Get takes name of the selfSignedTLSBundle, and returns the corresponding selfSignedTLSBundle object, and an error if there is any.
func (*FakeSelfSignedTLSBundles) List ¶
func (c *FakeSelfSignedTLSBundles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.SelfSignedTLSBundleList, err error)
List takes label and field selectors, and returns the list of SelfSignedTLSBundles that match those selectors.
func (*FakeSelfSignedTLSBundles) Patch ¶
func (c *FakeSelfSignedTLSBundles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.SelfSignedTLSBundle, err error)
Patch applies the patch and returns the patched selfSignedTLSBundle.
func (*FakeSelfSignedTLSBundles) Update ¶
func (c *FakeSelfSignedTLSBundles) Update(ctx context.Context, selfSignedTLSBundle *v1alpha1.SelfSignedTLSBundle, opts v1.UpdateOptions) (result *v1alpha1.SelfSignedTLSBundle, err error)
Update takes the representation of a selfSignedTLSBundle and updates it. Returns the server's representation of the selfSignedTLSBundle, and an error, if there is any.
func (*FakeSelfSignedTLSBundles) UpdateStatus ¶
func (c *FakeSelfSignedTLSBundles) UpdateStatus(ctx context.Context, selfSignedTLSBundle *v1alpha1.SelfSignedTLSBundle, opts v1.UpdateOptions) (*v1alpha1.SelfSignedTLSBundle, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeSelfSignedTLSBundles) Watch ¶
func (c *FakeSelfSignedTLSBundles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested selfSignedTLSBundles.