Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAuthRealms
- func (c *FakeAuthRealms) Create(ctx context.Context, authRealm *v1alpha1.AuthRealm, opts v1.CreateOptions) (result *v1alpha1.AuthRealm, err error)
- func (c *FakeAuthRealms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAuthRealms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAuthRealms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AuthRealm, err error)
- func (c *FakeAuthRealms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AuthRealmList, err error)
- func (c *FakeAuthRealms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AuthRealm, err error)
- func (c *FakeAuthRealms) Update(ctx context.Context, authRealm *v1alpha1.AuthRealm, opts v1.UpdateOptions) (result *v1alpha1.AuthRealm, err error)
- func (c *FakeAuthRealms) UpdateStatus(ctx context.Context, authRealm *v1alpha1.AuthRealm, opts v1.UpdateOptions) (*v1alpha1.AuthRealm, error)
- func (c *FakeAuthRealms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeClusterOAuths
- func (c *FakeClusterOAuths) Create(ctx context.Context, clusterOAuth *v1alpha1.ClusterOAuth, ...) (result *v1alpha1.ClusterOAuth, err error)
- func (c *FakeClusterOAuths) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeClusterOAuths) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeClusterOAuths) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterOAuth, err error)
- func (c *FakeClusterOAuths) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterOAuthList, err error)
- func (c *FakeClusterOAuths) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ClusterOAuth, err error)
- func (c *FakeClusterOAuths) Update(ctx context.Context, clusterOAuth *v1alpha1.ClusterOAuth, ...) (result *v1alpha1.ClusterOAuth, err error)
- func (c *FakeClusterOAuths) UpdateStatus(ctx context.Context, clusterOAuth *v1alpha1.ClusterOAuth, ...) (*v1alpha1.ClusterOAuth, error)
- func (c *FakeClusterOAuths) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIDPConfigs
- func (c *FakeIDPConfigs) Create(ctx context.Context, iDPConfig *v1alpha1.IDPConfig, opts v1.CreateOptions) (result *v1alpha1.IDPConfig, err error)
- func (c *FakeIDPConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeIDPConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeIDPConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IDPConfig, err error)
- func (c *FakeIDPConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IDPConfigList, err error)
- func (c *FakeIDPConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.IDPConfig, err error)
- func (c *FakeIDPConfigs) Update(ctx context.Context, iDPConfig *v1alpha1.IDPConfig, opts v1.UpdateOptions) (result *v1alpha1.IDPConfig, err error)
- func (c *FakeIDPConfigs) UpdateStatus(ctx context.Context, iDPConfig *v1alpha1.IDPConfig, opts v1.UpdateOptions) (*v1alpha1.IDPConfig, error)
- func (c *FakeIDPConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeIdentityconfigV1alpha1
- func (c *FakeIdentityconfigV1alpha1) AuthRealms(namespace string) v1alpha1.AuthRealmInterface
- func (c *FakeIdentityconfigV1alpha1) ClusterOAuths(namespace string) v1alpha1.ClusterOAuthInterface
- func (c *FakeIdentityconfigV1alpha1) IDPConfigs(namespace string) v1alpha1.IDPConfigInterface
- func (c *FakeIdentityconfigV1alpha1) RESTClient() rest.Interface
- func (c *FakeIdentityconfigV1alpha1) Strategies(namespace string) v1alpha1.StrategyInterface
- type FakeStrategies
- func (c *FakeStrategies) Create(ctx context.Context, strategy *v1alpha1.Strategy, opts v1.CreateOptions) (result *v1alpha1.Strategy, err error)
- func (c *FakeStrategies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeStrategies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeStrategies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Strategy, err error)
- func (c *FakeStrategies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.StrategyList, err error)
- func (c *FakeStrategies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Strategy, err error)
- func (c *FakeStrategies) Update(ctx context.Context, strategy *v1alpha1.Strategy, opts v1.UpdateOptions) (result *v1alpha1.Strategy, err error)
- func (c *FakeStrategies) UpdateStatus(ctx context.Context, strategy *v1alpha1.Strategy, opts v1.UpdateOptions) (*v1alpha1.Strategy, error)
- func (c *FakeStrategies) 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 FakeAuthRealms ¶
type FakeAuthRealms struct { Fake *FakeIdentityconfigV1alpha1 // contains filtered or unexported fields }
FakeAuthRealms implements AuthRealmInterface
func (*FakeAuthRealms) Create ¶
func (c *FakeAuthRealms) Create(ctx context.Context, authRealm *v1alpha1.AuthRealm, opts v1.CreateOptions) (result *v1alpha1.AuthRealm, err error)
Create takes the representation of a authRealm and creates it. Returns the server's representation of the authRealm, and an error, if there is any.
func (*FakeAuthRealms) Delete ¶
func (c *FakeAuthRealms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the authRealm and deletes it. Returns an error if one occurs.
func (*FakeAuthRealms) DeleteCollection ¶
func (c *FakeAuthRealms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAuthRealms) Get ¶
func (c *FakeAuthRealms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AuthRealm, err error)
Get takes name of the authRealm, and returns the corresponding authRealm object, and an error if there is any.
func (*FakeAuthRealms) List ¶
func (c *FakeAuthRealms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AuthRealmList, err error)
List takes label and field selectors, and returns the list of AuthRealms that match those selectors.
func (*FakeAuthRealms) Patch ¶
func (c *FakeAuthRealms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AuthRealm, err error)
Patch applies the patch and returns the patched authRealm.
func (*FakeAuthRealms) Update ¶
func (c *FakeAuthRealms) Update(ctx context.Context, authRealm *v1alpha1.AuthRealm, opts v1.UpdateOptions) (result *v1alpha1.AuthRealm, err error)
Update takes the representation of a authRealm and updates it. Returns the server's representation of the authRealm, and an error, if there is any.
func (*FakeAuthRealms) UpdateStatus ¶
func (c *FakeAuthRealms) UpdateStatus(ctx context.Context, authRealm *v1alpha1.AuthRealm, opts v1.UpdateOptions) (*v1alpha1.AuthRealm, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAuthRealms) Watch ¶
func (c *FakeAuthRealms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested authRealms.
type FakeClusterOAuths ¶
type FakeClusterOAuths struct { Fake *FakeIdentityconfigV1alpha1 // contains filtered or unexported fields }
FakeClusterOAuths implements ClusterOAuthInterface
func (*FakeClusterOAuths) Create ¶
func (c *FakeClusterOAuths) Create(ctx context.Context, clusterOAuth *v1alpha1.ClusterOAuth, opts v1.CreateOptions) (result *v1alpha1.ClusterOAuth, err error)
Create takes the representation of a clusterOAuth and creates it. Returns the server's representation of the clusterOAuth, and an error, if there is any.
func (*FakeClusterOAuths) Delete ¶
func (c *FakeClusterOAuths) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the clusterOAuth and deletes it. Returns an error if one occurs.
func (*FakeClusterOAuths) DeleteCollection ¶
func (c *FakeClusterOAuths) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusterOAuths) Get ¶
func (c *FakeClusterOAuths) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ClusterOAuth, err error)
Get takes name of the clusterOAuth, and returns the corresponding clusterOAuth object, and an error if there is any.
func (*FakeClusterOAuths) List ¶
func (c *FakeClusterOAuths) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ClusterOAuthList, err error)
List takes label and field selectors, and returns the list of ClusterOAuths that match those selectors.
func (*FakeClusterOAuths) Patch ¶
func (c *FakeClusterOAuths) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterOAuth, err error)
Patch applies the patch and returns the patched clusterOAuth.
func (*FakeClusterOAuths) Update ¶
func (c *FakeClusterOAuths) Update(ctx context.Context, clusterOAuth *v1alpha1.ClusterOAuth, opts v1.UpdateOptions) (result *v1alpha1.ClusterOAuth, err error)
Update takes the representation of a clusterOAuth and updates it. Returns the server's representation of the clusterOAuth, and an error, if there is any.
func (*FakeClusterOAuths) UpdateStatus ¶
func (c *FakeClusterOAuths) UpdateStatus(ctx context.Context, clusterOAuth *v1alpha1.ClusterOAuth, opts v1.UpdateOptions) (*v1alpha1.ClusterOAuth, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusterOAuths) Watch ¶
func (c *FakeClusterOAuths) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusterOAuths.
type FakeIDPConfigs ¶
type FakeIDPConfigs struct { Fake *FakeIdentityconfigV1alpha1 // contains filtered or unexported fields }
FakeIDPConfigs implements IDPConfigInterface
func (*FakeIDPConfigs) Create ¶
func (c *FakeIDPConfigs) Create(ctx context.Context, iDPConfig *v1alpha1.IDPConfig, opts v1.CreateOptions) (result *v1alpha1.IDPConfig, err error)
Create takes the representation of a iDPConfig and creates it. Returns the server's representation of the iDPConfig, and an error, if there is any.
func (*FakeIDPConfigs) Delete ¶
func (c *FakeIDPConfigs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the iDPConfig and deletes it. Returns an error if one occurs.
func (*FakeIDPConfigs) DeleteCollection ¶
func (c *FakeIDPConfigs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeIDPConfigs) Get ¶
func (c *FakeIDPConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.IDPConfig, err error)
Get takes name of the iDPConfig, and returns the corresponding iDPConfig object, and an error if there is any.
func (*FakeIDPConfigs) List ¶
func (c *FakeIDPConfigs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.IDPConfigList, err error)
List takes label and field selectors, and returns the list of IDPConfigs that match those selectors.
func (*FakeIDPConfigs) Patch ¶
func (c *FakeIDPConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.IDPConfig, err error)
Patch applies the patch and returns the patched iDPConfig.
func (*FakeIDPConfigs) Update ¶
func (c *FakeIDPConfigs) Update(ctx context.Context, iDPConfig *v1alpha1.IDPConfig, opts v1.UpdateOptions) (result *v1alpha1.IDPConfig, err error)
Update takes the representation of a iDPConfig and updates it. Returns the server's representation of the iDPConfig, and an error, if there is any.
func (*FakeIDPConfigs) UpdateStatus ¶
func (c *FakeIDPConfigs) UpdateStatus(ctx context.Context, iDPConfig *v1alpha1.IDPConfig, opts v1.UpdateOptions) (*v1alpha1.IDPConfig, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeIDPConfigs) Watch ¶
func (c *FakeIDPConfigs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested iDPConfigs.
type FakeIdentityconfigV1alpha1 ¶
func (*FakeIdentityconfigV1alpha1) AuthRealms ¶
func (c *FakeIdentityconfigV1alpha1) AuthRealms(namespace string) v1alpha1.AuthRealmInterface
func (*FakeIdentityconfigV1alpha1) ClusterOAuths ¶
func (c *FakeIdentityconfigV1alpha1) ClusterOAuths(namespace string) v1alpha1.ClusterOAuthInterface
func (*FakeIdentityconfigV1alpha1) IDPConfigs ¶
func (c *FakeIdentityconfigV1alpha1) IDPConfigs(namespace string) v1alpha1.IDPConfigInterface
func (*FakeIdentityconfigV1alpha1) RESTClient ¶
func (c *FakeIdentityconfigV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeIdentityconfigV1alpha1) Strategies ¶
func (c *FakeIdentityconfigV1alpha1) Strategies(namespace string) v1alpha1.StrategyInterface
type FakeStrategies ¶
type FakeStrategies struct { Fake *FakeIdentityconfigV1alpha1 // contains filtered or unexported fields }
FakeStrategies implements StrategyInterface
func (*FakeStrategies) Create ¶
func (c *FakeStrategies) Create(ctx context.Context, strategy *v1alpha1.Strategy, opts v1.CreateOptions) (result *v1alpha1.Strategy, err error)
Create takes the representation of a strategy and creates it. Returns the server's representation of the strategy, and an error, if there is any.
func (*FakeStrategies) Delete ¶
func (c *FakeStrategies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the strategy and deletes it. Returns an error if one occurs.
func (*FakeStrategies) DeleteCollection ¶
func (c *FakeStrategies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeStrategies) Get ¶
func (c *FakeStrategies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Strategy, err error)
Get takes name of the strategy, and returns the corresponding strategy object, and an error if there is any.
func (*FakeStrategies) List ¶
func (c *FakeStrategies) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.StrategyList, err error)
List takes label and field selectors, and returns the list of Strategies that match those selectors.
func (*FakeStrategies) Patch ¶
func (c *FakeStrategies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Strategy, err error)
Patch applies the patch and returns the patched strategy.
func (*FakeStrategies) Update ¶
func (c *FakeStrategies) Update(ctx context.Context, strategy *v1alpha1.Strategy, opts v1.UpdateOptions) (result *v1alpha1.Strategy, err error)
Update takes the representation of a strategy and updates it. Returns the server's representation of the strategy, and an error, if there is any.
func (*FakeStrategies) UpdateStatus ¶
func (c *FakeStrategies) UpdateStatus(ctx context.Context, strategy *v1alpha1.Strategy, opts v1.UpdateOptions) (*v1alpha1.Strategy, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeStrategies) Watch ¶
func (c *FakeStrategies) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested strategies.