Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeConfigV1alpha1
- type FakeFederationDomains
- func (c *FakeFederationDomains) Create(ctx context.Context, federationDomain *v1alpha1.FederationDomain, ...) (result *v1alpha1.FederationDomain, err error)
- func (c *FakeFederationDomains) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeFederationDomains) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeFederationDomains) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FederationDomain, err error)
- func (c *FakeFederationDomains) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FederationDomainList, err error)
- func (c *FakeFederationDomains) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.FederationDomain, err error)
- func (c *FakeFederationDomains) Update(ctx context.Context, federationDomain *v1alpha1.FederationDomain, ...) (result *v1alpha1.FederationDomain, err error)
- func (c *FakeFederationDomains) UpdateStatus(ctx context.Context, federationDomain *v1alpha1.FederationDomain, ...) (*v1alpha1.FederationDomain, error)
- func (c *FakeFederationDomains) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeOIDCClients
- func (c *FakeOIDCClients) Create(ctx context.Context, oIDCClient *v1alpha1.OIDCClient, opts v1.CreateOptions) (result *v1alpha1.OIDCClient, err error)
- func (c *FakeOIDCClients) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeOIDCClients) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeOIDCClients) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OIDCClient, err error)
- func (c *FakeOIDCClients) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OIDCClientList, err error)
- func (c *FakeOIDCClients) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.OIDCClient, err error)
- func (c *FakeOIDCClients) Update(ctx context.Context, oIDCClient *v1alpha1.OIDCClient, opts v1.UpdateOptions) (result *v1alpha1.OIDCClient, err error)
- func (c *FakeOIDCClients) UpdateStatus(ctx context.Context, oIDCClient *v1alpha1.OIDCClient, opts v1.UpdateOptions) (*v1alpha1.OIDCClient, error)
- func (c *FakeOIDCClients) 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 FakeConfigV1alpha1 ¶
func (*FakeConfigV1alpha1) FederationDomains ¶
func (c *FakeConfigV1alpha1) FederationDomains(namespace string) v1alpha1.FederationDomainInterface
func (*FakeConfigV1alpha1) OIDCClients ¶
func (c *FakeConfigV1alpha1) OIDCClients(namespace string) v1alpha1.OIDCClientInterface
func (*FakeConfigV1alpha1) RESTClient ¶
func (c *FakeConfigV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeFederationDomains ¶
type FakeFederationDomains struct { Fake *FakeConfigV1alpha1 // contains filtered or unexported fields }
FakeFederationDomains implements FederationDomainInterface
func (*FakeFederationDomains) Create ¶
func (c *FakeFederationDomains) Create(ctx context.Context, federationDomain *v1alpha1.FederationDomain, opts v1.CreateOptions) (result *v1alpha1.FederationDomain, err error)
Create takes the representation of a federationDomain and creates it. Returns the server's representation of the federationDomain, and an error, if there is any.
func (*FakeFederationDomains) Delete ¶
func (c *FakeFederationDomains) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the federationDomain and deletes it. Returns an error if one occurs.
func (*FakeFederationDomains) DeleteCollection ¶
func (c *FakeFederationDomains) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeFederationDomains) Get ¶
func (c *FakeFederationDomains) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.FederationDomain, err error)
Get takes name of the federationDomain, and returns the corresponding federationDomain object, and an error if there is any.
func (*FakeFederationDomains) List ¶
func (c *FakeFederationDomains) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.FederationDomainList, err error)
List takes label and field selectors, and returns the list of FederationDomains that match those selectors.
func (*FakeFederationDomains) Patch ¶
func (c *FakeFederationDomains) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.FederationDomain, err error)
Patch applies the patch and returns the patched federationDomain.
func (*FakeFederationDomains) Update ¶
func (c *FakeFederationDomains) Update(ctx context.Context, federationDomain *v1alpha1.FederationDomain, opts v1.UpdateOptions) (result *v1alpha1.FederationDomain, err error)
Update takes the representation of a federationDomain and updates it. Returns the server's representation of the federationDomain, and an error, if there is any.
func (*FakeFederationDomains) UpdateStatus ¶
func (c *FakeFederationDomains) UpdateStatus(ctx context.Context, federationDomain *v1alpha1.FederationDomain, opts v1.UpdateOptions) (*v1alpha1.FederationDomain, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeFederationDomains) Watch ¶
func (c *FakeFederationDomains) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested federationDomains.
type FakeOIDCClients ¶
type FakeOIDCClients struct { Fake *FakeConfigV1alpha1 // contains filtered or unexported fields }
FakeOIDCClients implements OIDCClientInterface
func (*FakeOIDCClients) Create ¶
func (c *FakeOIDCClients) Create(ctx context.Context, oIDCClient *v1alpha1.OIDCClient, opts v1.CreateOptions) (result *v1alpha1.OIDCClient, err error)
Create takes the representation of a oIDCClient and creates it. Returns the server's representation of the oIDCClient, and an error, if there is any.
func (*FakeOIDCClients) Delete ¶
func (c *FakeOIDCClients) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the oIDCClient and deletes it. Returns an error if one occurs.
func (*FakeOIDCClients) DeleteCollection ¶
func (c *FakeOIDCClients) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeOIDCClients) Get ¶
func (c *FakeOIDCClients) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.OIDCClient, err error)
Get takes name of the oIDCClient, and returns the corresponding oIDCClient object, and an error if there is any.
func (*FakeOIDCClients) List ¶
func (c *FakeOIDCClients) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.OIDCClientList, err error)
List takes label and field selectors, and returns the list of OIDCClients that match those selectors.
func (*FakeOIDCClients) Patch ¶
func (c *FakeOIDCClients) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.OIDCClient, err error)
Patch applies the patch and returns the patched oIDCClient.
func (*FakeOIDCClients) Update ¶
func (c *FakeOIDCClients) Update(ctx context.Context, oIDCClient *v1alpha1.OIDCClient, opts v1.UpdateOptions) (result *v1alpha1.OIDCClient, err error)
Update takes the representation of a oIDCClient and updates it. Returns the server's representation of the oIDCClient, and an error, if there is any.
func (*FakeOIDCClients) UpdateStatus ¶
func (c *FakeOIDCClients) UpdateStatus(ctx context.Context, oIDCClient *v1alpha1.OIDCClient, opts v1.UpdateOptions) (*v1alpha1.OIDCClient, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeOIDCClients) Watch ¶
func (c *FakeOIDCClients) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested oIDCClients.