Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppProjects
- func (c *FakeAppProjects) Create(ctx context.Context, appProject *v1alpha1.AppProject, opts v1.CreateOptions) (result *v1alpha1.AppProject, err error)
- func (c *FakeAppProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAppProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAppProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppProject, err error)
- func (c *FakeAppProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppProjectList, err error)
- func (c *FakeAppProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AppProject, err error)
- func (c *FakeAppProjects) Update(ctx context.Context, appProject *v1alpha1.AppProject, opts v1.UpdateOptions) (result *v1alpha1.AppProject, err error)
- func (c *FakeAppProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApplicationSets
- func (c *FakeApplicationSets) Create(ctx context.Context, applicationSet *v1alpha1.ApplicationSet, ...) (result *v1alpha1.ApplicationSet, err error)
- func (c *FakeApplicationSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApplicationSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApplicationSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationSet, err error)
- func (c *FakeApplicationSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationSetList, err error)
- func (c *FakeApplicationSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ApplicationSet, err error)
- func (c *FakeApplicationSets) Update(ctx context.Context, applicationSet *v1alpha1.ApplicationSet, ...) (result *v1alpha1.ApplicationSet, err error)
- func (c *FakeApplicationSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApplications
- func (c *FakeApplications) Create(ctx context.Context, application *v1alpha1.Application, opts v1.CreateOptions) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApplications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationList, err error)
- func (c *FakeApplications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Update(ctx context.Context, application *v1alpha1.Application, opts v1.UpdateOptions) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeArgoprojV1alpha1
- func (c *FakeArgoprojV1alpha1) AppProjects(namespace string) v1alpha1.AppProjectInterface
- func (c *FakeArgoprojV1alpha1) ApplicationSets(namespace string) v1alpha1.ApplicationSetInterface
- func (c *FakeArgoprojV1alpha1) Applications(namespace string) v1alpha1.ApplicationInterface
- func (c *FakeArgoprojV1alpha1) RESTClient() rest.Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppProjects ¶
type FakeAppProjects struct { Fake *FakeArgoprojV1alpha1 // contains filtered or unexported fields }
FakeAppProjects implements AppProjectInterface
func (*FakeAppProjects) Create ¶
func (c *FakeAppProjects) Create(ctx context.Context, appProject *v1alpha1.AppProject, opts v1.CreateOptions) (result *v1alpha1.AppProject, err error)
Create takes the representation of a appProject and creates it. Returns the server's representation of the appProject, and an error, if there is any.
func (*FakeAppProjects) Delete ¶
func (c *FakeAppProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the appProject and deletes it. Returns an error if one occurs.
func (*FakeAppProjects) DeleteCollection ¶
func (c *FakeAppProjects) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAppProjects) Get ¶
func (c *FakeAppProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppProject, err error)
Get takes name of the appProject, and returns the corresponding appProject object, and an error if there is any.
func (*FakeAppProjects) List ¶
func (c *FakeAppProjects) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppProjectList, err error)
List takes label and field selectors, and returns the list of AppProjects that match those selectors.
func (*FakeAppProjects) Patch ¶
func (c *FakeAppProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AppProject, err error)
Patch applies the patch and returns the patched appProject.
func (*FakeAppProjects) Update ¶
func (c *FakeAppProjects) Update(ctx context.Context, appProject *v1alpha1.AppProject, opts v1.UpdateOptions) (result *v1alpha1.AppProject, err error)
Update takes the representation of a appProject and updates it. Returns the server's representation of the appProject, and an error, if there is any.
func (*FakeAppProjects) Watch ¶
func (c *FakeAppProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested appProjects.
type FakeApplicationSets ¶ added in v2.5.0
type FakeApplicationSets struct { Fake *FakeArgoprojV1alpha1 // contains filtered or unexported fields }
FakeApplicationSets implements ApplicationSetInterface
func (*FakeApplicationSets) Create ¶ added in v2.5.0
func (c *FakeApplicationSets) Create(ctx context.Context, applicationSet *v1alpha1.ApplicationSet, opts v1.CreateOptions) (result *v1alpha1.ApplicationSet, err error)
Create takes the representation of a applicationSet and creates it. Returns the server's representation of the applicationSet, and an error, if there is any.
func (*FakeApplicationSets) Delete ¶ added in v2.5.0
func (c *FakeApplicationSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the applicationSet and deletes it. Returns an error if one occurs.
func (*FakeApplicationSets) DeleteCollection ¶ added in v2.5.0
func (c *FakeApplicationSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplicationSets) Get ¶ added in v2.5.0
func (c *FakeApplicationSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ApplicationSet, err error)
Get takes name of the applicationSet, and returns the corresponding applicationSet object, and an error if there is any.
func (*FakeApplicationSets) List ¶ added in v2.5.0
func (c *FakeApplicationSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationSetList, err error)
List takes label and field selectors, and returns the list of ApplicationSets that match those selectors.
func (*FakeApplicationSets) Patch ¶ added in v2.5.0
func (c *FakeApplicationSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ApplicationSet, err error)
Patch applies the patch and returns the patched applicationSet.
func (*FakeApplicationSets) Update ¶ added in v2.5.0
func (c *FakeApplicationSets) Update(ctx context.Context, applicationSet *v1alpha1.ApplicationSet, opts v1.UpdateOptions) (result *v1alpha1.ApplicationSet, err error)
Update takes the representation of a applicationSet and updates it. Returns the server's representation of the applicationSet, and an error, if there is any.
func (*FakeApplicationSets) Watch ¶ added in v2.5.0
func (c *FakeApplicationSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applicationSets.
type FakeApplications ¶
type FakeApplications struct { Fake *FakeArgoprojV1alpha1 // contains filtered or unexported fields }
FakeApplications implements ApplicationInterface
func (*FakeApplications) Create ¶
func (c *FakeApplications) Create(ctx context.Context, application *v1alpha1.Application, opts v1.CreateOptions) (result *v1alpha1.Application, err error)
Create takes the representation of a application and creates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) Delete ¶
func (c *FakeApplications) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the application and deletes it. Returns an error if one occurs.
func (*FakeApplications) DeleteCollection ¶
func (c *FakeApplications) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplications) Get ¶
func (c *FakeApplications) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Application, err error)
Get takes name of the application, and returns the corresponding application object, and an error if there is any.
func (*FakeApplications) List ¶
func (c *FakeApplications) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ApplicationList, err error)
List takes label and field selectors, and returns the list of Applications that match those selectors.
func (*FakeApplications) Patch ¶
func (c *FakeApplications) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Application, err error)
Patch applies the patch and returns the patched application.
func (*FakeApplications) Update ¶
func (c *FakeApplications) Update(ctx context.Context, application *v1alpha1.Application, opts v1.UpdateOptions) (result *v1alpha1.Application, err error)
Update takes the representation of a application and updates it. Returns the server's representation of the application, and an error, if there is any.
func (*FakeApplications) Watch ¶
func (c *FakeApplications) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applications.
type FakeArgoprojV1alpha1 ¶
func (*FakeArgoprojV1alpha1) AppProjects ¶
func (c *FakeArgoprojV1alpha1) AppProjects(namespace string) v1alpha1.AppProjectInterface
func (*FakeArgoprojV1alpha1) ApplicationSets ¶ added in v2.5.0
func (c *FakeArgoprojV1alpha1) ApplicationSets(namespace string) v1alpha1.ApplicationSetInterface
func (*FakeArgoprojV1alpha1) Applications ¶
func (c *FakeArgoprojV1alpha1) Applications(namespace string) v1alpha1.ApplicationInterface
func (*FakeArgoprojV1alpha1) RESTClient ¶
func (c *FakeArgoprojV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.