Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeKeycloakClients
- func (c *FakeKeycloakClients) Create(ctx context.Context, keycloakClient *v1alpha1.KeycloakClient, ...) (result *v1alpha1.KeycloakClient, err error)
- func (c *FakeKeycloakClients) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKeycloakClients) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKeycloakClients) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeycloakClient, err error)
- func (c *FakeKeycloakClients) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeycloakClientList, err error)
- func (c *FakeKeycloakClients) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KeycloakClient, err error)
- func (c *FakeKeycloakClients) Update(ctx context.Context, keycloakClient *v1alpha1.KeycloakClient, ...) (result *v1alpha1.KeycloakClient, err error)
- func (c *FakeKeycloakClients) UpdateStatus(ctx context.Context, keycloakClient *v1alpha1.KeycloakClient, ...) (*v1alpha1.KeycloakClient, error)
- func (c *FakeKeycloakClients) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKeycloakRealms
- func (c *FakeKeycloakRealms) Create(ctx context.Context, keycloakRealm *v1alpha1.KeycloakRealm, ...) (result *v1alpha1.KeycloakRealm, err error)
- func (c *FakeKeycloakRealms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKeycloakRealms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKeycloakRealms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeycloakRealm, err error)
- func (c *FakeKeycloakRealms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeycloakRealmList, err error)
- func (c *FakeKeycloakRealms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.KeycloakRealm, err error)
- func (c *FakeKeycloakRealms) Update(ctx context.Context, keycloakRealm *v1alpha1.KeycloakRealm, ...) (result *v1alpha1.KeycloakRealm, err error)
- func (c *FakeKeycloakRealms) UpdateStatus(ctx context.Context, keycloakRealm *v1alpha1.KeycloakRealm, ...) (*v1alpha1.KeycloakRealm, error)
- func (c *FakeKeycloakRealms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeKeycloakV1alpha1
- func (c *FakeKeycloakV1alpha1) KeycloakClients(namespace string) v1alpha1.KeycloakClientInterface
- func (c *FakeKeycloakV1alpha1) KeycloakRealms(namespace string) v1alpha1.KeycloakRealmInterface
- func (c *FakeKeycloakV1alpha1) Keycloaks(namespace string) v1alpha1.KeycloakInterface
- func (c *FakeKeycloakV1alpha1) RESTClient() rest.Interface
- type FakeKeycloaks
- func (c *FakeKeycloaks) Create(ctx context.Context, keycloak *v1alpha1.Keycloak, opts v1.CreateOptions) (result *v1alpha1.Keycloak, err error)
- func (c *FakeKeycloaks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeKeycloaks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeKeycloaks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Keycloak, err error)
- func (c *FakeKeycloaks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeycloakList, err error)
- func (c *FakeKeycloaks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Keycloak, err error)
- func (c *FakeKeycloaks) Update(ctx context.Context, keycloak *v1alpha1.Keycloak, opts v1.UpdateOptions) (result *v1alpha1.Keycloak, err error)
- func (c *FakeKeycloaks) UpdateStatus(ctx context.Context, keycloak *v1alpha1.Keycloak, opts v1.UpdateOptions) (*v1alpha1.Keycloak, error)
- func (c *FakeKeycloaks) 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 FakeKeycloakClients ¶
type FakeKeycloakClients struct { Fake *FakeKeycloakV1alpha1 // contains filtered or unexported fields }
FakeKeycloakClients implements KeycloakClientInterface
func (*FakeKeycloakClients) Create ¶
func (c *FakeKeycloakClients) Create(ctx context.Context, keycloakClient *v1alpha1.KeycloakClient, opts v1.CreateOptions) (result *v1alpha1.KeycloakClient, err error)
Create takes the representation of a keycloakClient and creates it. Returns the server's representation of the keycloakClient, and an error, if there is any.
func (*FakeKeycloakClients) Delete ¶
func (c *FakeKeycloakClients) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the keycloakClient and deletes it. Returns an error if one occurs.
func (*FakeKeycloakClients) DeleteCollection ¶
func (c *FakeKeycloakClients) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKeycloakClients) Get ¶
func (c *FakeKeycloakClients) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeycloakClient, err error)
Get takes name of the keycloakClient, and returns the corresponding keycloakClient object, and an error if there is any.
func (*FakeKeycloakClients) List ¶
func (c *FakeKeycloakClients) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeycloakClientList, err error)
List takes label and field selectors, and returns the list of KeycloakClients that match those selectors.
func (*FakeKeycloakClients) Patch ¶
func (c *FakeKeycloakClients) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeycloakClient, err error)
Patch applies the patch and returns the patched keycloakClient.
func (*FakeKeycloakClients) Update ¶
func (c *FakeKeycloakClients) Update(ctx context.Context, keycloakClient *v1alpha1.KeycloakClient, opts v1.UpdateOptions) (result *v1alpha1.KeycloakClient, err error)
Update takes the representation of a keycloakClient and updates it. Returns the server's representation of the keycloakClient, and an error, if there is any.
func (*FakeKeycloakClients) UpdateStatus ¶
func (c *FakeKeycloakClients) UpdateStatus(ctx context.Context, keycloakClient *v1alpha1.KeycloakClient, opts v1.UpdateOptions) (*v1alpha1.KeycloakClient, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKeycloakClients) Watch ¶
func (c *FakeKeycloakClients) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested keycloakClients.
type FakeKeycloakRealms ¶
type FakeKeycloakRealms struct { Fake *FakeKeycloakV1alpha1 // contains filtered or unexported fields }
FakeKeycloakRealms implements KeycloakRealmInterface
func (*FakeKeycloakRealms) Create ¶
func (c *FakeKeycloakRealms) Create(ctx context.Context, keycloakRealm *v1alpha1.KeycloakRealm, opts v1.CreateOptions) (result *v1alpha1.KeycloakRealm, err error)
Create takes the representation of a keycloakRealm and creates it. Returns the server's representation of the keycloakRealm, and an error, if there is any.
func (*FakeKeycloakRealms) Delete ¶
func (c *FakeKeycloakRealms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the keycloakRealm and deletes it. Returns an error if one occurs.
func (*FakeKeycloakRealms) DeleteCollection ¶
func (c *FakeKeycloakRealms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKeycloakRealms) Get ¶
func (c *FakeKeycloakRealms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.KeycloakRealm, err error)
Get takes name of the keycloakRealm, and returns the corresponding keycloakRealm object, and an error if there is any.
func (*FakeKeycloakRealms) List ¶
func (c *FakeKeycloakRealms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeycloakRealmList, err error)
List takes label and field selectors, and returns the list of KeycloakRealms that match those selectors.
func (*FakeKeycloakRealms) Patch ¶
func (c *FakeKeycloakRealms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.KeycloakRealm, err error)
Patch applies the patch and returns the patched keycloakRealm.
func (*FakeKeycloakRealms) Update ¶
func (c *FakeKeycloakRealms) Update(ctx context.Context, keycloakRealm *v1alpha1.KeycloakRealm, opts v1.UpdateOptions) (result *v1alpha1.KeycloakRealm, err error)
Update takes the representation of a keycloakRealm and updates it. Returns the server's representation of the keycloakRealm, and an error, if there is any.
func (*FakeKeycloakRealms) UpdateStatus ¶
func (c *FakeKeycloakRealms) UpdateStatus(ctx context.Context, keycloakRealm *v1alpha1.KeycloakRealm, opts v1.UpdateOptions) (*v1alpha1.KeycloakRealm, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKeycloakRealms) Watch ¶
func (c *FakeKeycloakRealms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested keycloakRealms.
type FakeKeycloakV1alpha1 ¶
func (*FakeKeycloakV1alpha1) KeycloakClients ¶
func (c *FakeKeycloakV1alpha1) KeycloakClients(namespace string) v1alpha1.KeycloakClientInterface
func (*FakeKeycloakV1alpha1) KeycloakRealms ¶
func (c *FakeKeycloakV1alpha1) KeycloakRealms(namespace string) v1alpha1.KeycloakRealmInterface
func (*FakeKeycloakV1alpha1) Keycloaks ¶
func (c *FakeKeycloakV1alpha1) Keycloaks(namespace string) v1alpha1.KeycloakInterface
func (*FakeKeycloakV1alpha1) RESTClient ¶
func (c *FakeKeycloakV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeKeycloaks ¶
type FakeKeycloaks struct { Fake *FakeKeycloakV1alpha1 // contains filtered or unexported fields }
FakeKeycloaks implements KeycloakInterface
func (*FakeKeycloaks) Create ¶
func (c *FakeKeycloaks) Create(ctx context.Context, keycloak *v1alpha1.Keycloak, opts v1.CreateOptions) (result *v1alpha1.Keycloak, err error)
Create takes the representation of a keycloak and creates it. Returns the server's representation of the keycloak, and an error, if there is any.
func (*FakeKeycloaks) Delete ¶
func (c *FakeKeycloaks) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the keycloak and deletes it. Returns an error if one occurs.
func (*FakeKeycloaks) DeleteCollection ¶
func (c *FakeKeycloaks) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeKeycloaks) Get ¶
func (c *FakeKeycloaks) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Keycloak, err error)
Get takes name of the keycloak, and returns the corresponding keycloak object, and an error if there is any.
func (*FakeKeycloaks) List ¶
func (c *FakeKeycloaks) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.KeycloakList, err error)
List takes label and field selectors, and returns the list of Keycloaks that match those selectors.
func (*FakeKeycloaks) Patch ¶
func (c *FakeKeycloaks) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Keycloak, err error)
Patch applies the patch and returns the patched keycloak.
func (*FakeKeycloaks) Update ¶
func (c *FakeKeycloaks) Update(ctx context.Context, keycloak *v1alpha1.Keycloak, opts v1.UpdateOptions) (result *v1alpha1.Keycloak, err error)
Update takes the representation of a keycloak and updates it. Returns the server's representation of the keycloak, and an error, if there is any.
func (*FakeKeycloaks) UpdateStatus ¶
func (c *FakeKeycloaks) UpdateStatus(ctx context.Context, keycloak *v1alpha1.Keycloak, opts v1.UpdateOptions) (*v1alpha1.Keycloak, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeKeycloaks) Watch ¶
func (c *FakeKeycloaks) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested keycloaks.