Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeActionSets
- func (c *FakeActionSets) Apply(ctx context.Context, actionSet *crv1alpha1.ActionSetApplyConfiguration, ...) (result *v1alpha1.ActionSet, err error)
- func (c *FakeActionSets) Create(ctx context.Context, actionSet *v1alpha1.ActionSet, opts v1.CreateOptions) (result *v1alpha1.ActionSet, err error)
- func (c *FakeActionSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeActionSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeActionSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ActionSet, err error)
- func (c *FakeActionSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ActionSetList, err error)
- func (c *FakeActionSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ActionSet, err error)
- func (c *FakeActionSets) Update(ctx context.Context, actionSet *v1alpha1.ActionSet, opts v1.UpdateOptions) (result *v1alpha1.ActionSet, err error)
- func (c *FakeActionSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeBlueprints
- func (c *FakeBlueprints) Apply(ctx context.Context, blueprint *crv1alpha1.BlueprintApplyConfiguration, ...) (result *v1alpha1.Blueprint, err error)
- func (c *FakeBlueprints) Create(ctx context.Context, blueprint *v1alpha1.Blueprint, opts v1.CreateOptions) (result *v1alpha1.Blueprint, err error)
- func (c *FakeBlueprints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeBlueprints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeBlueprints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Blueprint, err error)
- func (c *FakeBlueprints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BlueprintList, err error)
- func (c *FakeBlueprints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Blueprint, err error)
- func (c *FakeBlueprints) Update(ctx context.Context, blueprint *v1alpha1.Blueprint, opts v1.UpdateOptions) (result *v1alpha1.Blueprint, err error)
- func (c *FakeBlueprints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeCrV1alpha1
- func (c *FakeCrV1alpha1) ActionSets(namespace string) v1alpha1.ActionSetInterface
- func (c *FakeCrV1alpha1) Blueprints(namespace string) v1alpha1.BlueprintInterface
- func (c *FakeCrV1alpha1) Profiles(namespace string) v1alpha1.ProfileInterface
- func (c *FakeCrV1alpha1) RESTClient() rest.Interface
- func (c *FakeCrV1alpha1) RepositoryServers(namespace string) v1alpha1.RepositoryServerInterface
- type FakeProfiles
- func (c *FakeProfiles) Apply(ctx context.Context, profile *crv1alpha1.ProfileApplyConfiguration, ...) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) Create(ctx context.Context, profile *v1alpha1.Profile, opts v1.CreateOptions) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProfileList, err error)
- func (c *FakeProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) Update(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (result *v1alpha1.Profile, err error)
- func (c *FakeProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeRepositoryServers
- func (c *FakeRepositoryServers) Apply(ctx context.Context, ...) (result *v1alpha1.RepositoryServer, err error)
- func (c *FakeRepositoryServers) ApplyStatus(ctx context.Context, ...) (result *v1alpha1.RepositoryServer, err error)
- func (c *FakeRepositoryServers) Create(ctx context.Context, repositoryServer *v1alpha1.RepositoryServer, ...) (result *v1alpha1.RepositoryServer, err error)
- func (c *FakeRepositoryServers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeRepositoryServers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeRepositoryServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RepositoryServer, err error)
- func (c *FakeRepositoryServers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RepositoryServerList, err error)
- func (c *FakeRepositoryServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.RepositoryServer, err error)
- func (c *FakeRepositoryServers) Update(ctx context.Context, repositoryServer *v1alpha1.RepositoryServer, ...) (result *v1alpha1.RepositoryServer, err error)
- func (c *FakeRepositoryServers) UpdateStatus(ctx context.Context, repositoryServer *v1alpha1.RepositoryServer, ...) (*v1alpha1.RepositoryServer, error)
- func (c *FakeRepositoryServers) 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 FakeActionSets ¶
type FakeActionSets struct { Fake *FakeCrV1alpha1 // contains filtered or unexported fields }
FakeActionSets implements ActionSetInterface
func (*FakeActionSets) Apply ¶
func (c *FakeActionSets) Apply(ctx context.Context, actionSet *crv1alpha1.ActionSetApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.ActionSet, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied actionSet.
func (*FakeActionSets) Create ¶
func (c *FakeActionSets) Create(ctx context.Context, actionSet *v1alpha1.ActionSet, opts v1.CreateOptions) (result *v1alpha1.ActionSet, err error)
Create takes the representation of a actionSet and creates it. Returns the server's representation of the actionSet, and an error, if there is any.
func (*FakeActionSets) Delete ¶
func (c *FakeActionSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the actionSet and deletes it. Returns an error if one occurs.
func (*FakeActionSets) DeleteCollection ¶
func (c *FakeActionSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeActionSets) Get ¶
func (c *FakeActionSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ActionSet, err error)
Get takes name of the actionSet, and returns the corresponding actionSet object, and an error if there is any.
func (*FakeActionSets) List ¶
func (c *FakeActionSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ActionSetList, err error)
List takes label and field selectors, and returns the list of ActionSets that match those selectors.
func (*FakeActionSets) Patch ¶
func (c *FakeActionSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ActionSet, err error)
Patch applies the patch and returns the patched actionSet.
func (*FakeActionSets) Update ¶
func (c *FakeActionSets) Update(ctx context.Context, actionSet *v1alpha1.ActionSet, opts v1.UpdateOptions) (result *v1alpha1.ActionSet, err error)
Update takes the representation of a actionSet and updates it. Returns the server's representation of the actionSet, and an error, if there is any.
func (*FakeActionSets) Watch ¶
func (c *FakeActionSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested actionSets.
type FakeBlueprints ¶
type FakeBlueprints struct { Fake *FakeCrV1alpha1 // contains filtered or unexported fields }
FakeBlueprints implements BlueprintInterface
func (*FakeBlueprints) Apply ¶
func (c *FakeBlueprints) Apply(ctx context.Context, blueprint *crv1alpha1.BlueprintApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Blueprint, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied blueprint.
func (*FakeBlueprints) Create ¶
func (c *FakeBlueprints) Create(ctx context.Context, blueprint *v1alpha1.Blueprint, opts v1.CreateOptions) (result *v1alpha1.Blueprint, err error)
Create takes the representation of a blueprint and creates it. Returns the server's representation of the blueprint, and an error, if there is any.
func (*FakeBlueprints) Delete ¶
func (c *FakeBlueprints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the blueprint and deletes it. Returns an error if one occurs.
func (*FakeBlueprints) DeleteCollection ¶
func (c *FakeBlueprints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeBlueprints) Get ¶
func (c *FakeBlueprints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Blueprint, err error)
Get takes name of the blueprint, and returns the corresponding blueprint object, and an error if there is any.
func (*FakeBlueprints) List ¶
func (c *FakeBlueprints) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.BlueprintList, err error)
List takes label and field selectors, and returns the list of Blueprints that match those selectors.
func (*FakeBlueprints) Patch ¶
func (c *FakeBlueprints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Blueprint, err error)
Patch applies the patch and returns the patched blueprint.
func (*FakeBlueprints) Update ¶
func (c *FakeBlueprints) Update(ctx context.Context, blueprint *v1alpha1.Blueprint, opts v1.UpdateOptions) (result *v1alpha1.Blueprint, err error)
Update takes the representation of a blueprint and updates it. Returns the server's representation of the blueprint, and an error, if there is any.
func (*FakeBlueprints) Watch ¶
func (c *FakeBlueprints) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested blueprints.
type FakeCrV1alpha1 ¶
func (*FakeCrV1alpha1) ActionSets ¶
func (c *FakeCrV1alpha1) ActionSets(namespace string) v1alpha1.ActionSetInterface
func (*FakeCrV1alpha1) Blueprints ¶
func (c *FakeCrV1alpha1) Blueprints(namespace string) v1alpha1.BlueprintInterface
func (*FakeCrV1alpha1) Profiles ¶
func (c *FakeCrV1alpha1) Profiles(namespace string) v1alpha1.ProfileInterface
func (*FakeCrV1alpha1) RESTClient ¶
func (c *FakeCrV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeCrV1alpha1) RepositoryServers ¶
func (c *FakeCrV1alpha1) RepositoryServers(namespace string) v1alpha1.RepositoryServerInterface
type FakeProfiles ¶
type FakeProfiles struct { Fake *FakeCrV1alpha1 // contains filtered or unexported fields }
FakeProfiles implements ProfileInterface
func (*FakeProfiles) Apply ¶
func (c *FakeProfiles) Apply(ctx context.Context, profile *crv1alpha1.ProfileApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.Profile, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied profile.
func (*FakeProfiles) Create ¶
func (c *FakeProfiles) Create(ctx context.Context, profile *v1alpha1.Profile, opts v1.CreateOptions) (result *v1alpha1.Profile, err error)
Create takes the representation of a profile and creates it. Returns the server's representation of the profile, and an error, if there is any.
func (*FakeProfiles) Delete ¶
func (c *FakeProfiles) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the profile and deletes it. Returns an error if one occurs.
func (*FakeProfiles) DeleteCollection ¶
func (c *FakeProfiles) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeProfiles) Get ¶
func (c *FakeProfiles) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Profile, err error)
Get takes name of the profile, and returns the corresponding profile object, and an error if there is any.
func (*FakeProfiles) List ¶
func (c *FakeProfiles) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ProfileList, err error)
List takes label and field selectors, and returns the list of Profiles that match those selectors.
func (*FakeProfiles) Patch ¶
func (c *FakeProfiles) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Profile, err error)
Patch applies the patch and returns the patched profile.
func (*FakeProfiles) Update ¶
func (c *FakeProfiles) Update(ctx context.Context, profile *v1alpha1.Profile, opts v1.UpdateOptions) (result *v1alpha1.Profile, err error)
Update takes the representation of a profile and updates it. Returns the server's representation of the profile, and an error, if there is any.
func (*FakeProfiles) Watch ¶
func (c *FakeProfiles) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested profiles.
type FakeRepositoryServers ¶
type FakeRepositoryServers struct { Fake *FakeCrV1alpha1 // contains filtered or unexported fields }
FakeRepositoryServers implements RepositoryServerInterface
func (*FakeRepositoryServers) Apply ¶
func (c *FakeRepositoryServers) Apply(ctx context.Context, repositoryServer *crv1alpha1.RepositoryServerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.RepositoryServer, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied repositoryServer.
func (*FakeRepositoryServers) ApplyStatus ¶
func (c *FakeRepositoryServers) ApplyStatus(ctx context.Context, repositoryServer *crv1alpha1.RepositoryServerApplyConfiguration, opts v1.ApplyOptions) (result *v1alpha1.RepositoryServer, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeRepositoryServers) Create ¶
func (c *FakeRepositoryServers) Create(ctx context.Context, repositoryServer *v1alpha1.RepositoryServer, opts v1.CreateOptions) (result *v1alpha1.RepositoryServer, err error)
Create takes the representation of a repositoryServer and creates it. Returns the server's representation of the repositoryServer, and an error, if there is any.
func (*FakeRepositoryServers) Delete ¶
func (c *FakeRepositoryServers) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the repositoryServer and deletes it. Returns an error if one occurs.
func (*FakeRepositoryServers) DeleteCollection ¶
func (c *FakeRepositoryServers) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRepositoryServers) Get ¶
func (c *FakeRepositoryServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.RepositoryServer, err error)
Get takes name of the repositoryServer, and returns the corresponding repositoryServer object, and an error if there is any.
func (*FakeRepositoryServers) List ¶
func (c *FakeRepositoryServers) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.RepositoryServerList, err error)
List takes label and field selectors, and returns the list of RepositoryServers that match those selectors.
func (*FakeRepositoryServers) Patch ¶
func (c *FakeRepositoryServers) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.RepositoryServer, err error)
Patch applies the patch and returns the patched repositoryServer.
func (*FakeRepositoryServers) Update ¶
func (c *FakeRepositoryServers) Update(ctx context.Context, repositoryServer *v1alpha1.RepositoryServer, opts v1.UpdateOptions) (result *v1alpha1.RepositoryServer, err error)
Update takes the representation of a repositoryServer and updates it. Returns the server's representation of the repositoryServer, and an error, if there is any.
func (*FakeRepositoryServers) UpdateStatus ¶
func (c *FakeRepositoryServers) UpdateStatus(ctx context.Context, repositoryServer *v1alpha1.RepositoryServer, opts v1.UpdateOptions) (*v1alpha1.RepositoryServer, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRepositoryServers) Watch ¶
func (c *FakeRepositoryServers) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested repositoryServers.