Documentation
¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppRollouts
- func (c *FakeAppRollouts) Create(ctx context.Context, appRollout *v1alpha1.AppRollout, opts v1.CreateOptions) (result *v1alpha1.AppRollout, err error)
- func (c *FakeAppRollouts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeAppRollouts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeAppRollouts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppRollout, err error)
- func (c *FakeAppRollouts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppRolloutList, err error)
- func (c *FakeAppRollouts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.AppRollout, err error)
- func (c *FakeAppRollouts) Update(ctx context.Context, appRollout *v1alpha1.AppRollout, opts v1.UpdateOptions) (result *v1alpha1.AppRollout, err error)
- func (c *FakeAppRollouts) UpdateStatus(ctx context.Context, appRollout *v1alpha1.AppRollout, opts v1.UpdateOptions) (*v1alpha1.AppRollout, error)
- func (c *FakeAppRollouts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeApps
- func (c *FakeApps) Create(ctx context.Context, app *v1alpha1.App, opts v1.CreateOptions) (result *v1alpha1.App, err error)
- func (c *FakeApps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeApps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.App, err error)
- func (c *FakeApps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppList, err error)
- func (c *FakeApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.App, err error)
- func (c *FakeApps) Update(ctx context.Context, app *v1alpha1.App, opts v1.UpdateOptions) (result *v1alpha1.App, err error)
- func (c *FakeApps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeAppsV1alpha1
- func (c *FakeAppsV1alpha1) AppRollouts() v1alpha1.AppRolloutInterface
- func (c *FakeAppsV1alpha1) Apps() v1alpha1.AppInterface
- func (c *FakeAppsV1alpha1) ChartAssignments() v1alpha1.ChartAssignmentInterface
- func (c *FakeAppsV1alpha1) RESTClient() rest.Interface
- func (c *FakeAppsV1alpha1) ResourceSets() v1alpha1.ResourceSetInterface
- type FakeChartAssignments
- func (c *FakeChartAssignments) Create(ctx context.Context, chartAssignment *v1alpha1.ChartAssignment, ...) (result *v1alpha1.ChartAssignment, err error)
- func (c *FakeChartAssignments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeChartAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeChartAssignments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ChartAssignment, err error)
- func (c *FakeChartAssignments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ChartAssignmentList, err error)
- func (c *FakeChartAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ChartAssignment, err error)
- func (c *FakeChartAssignments) Update(ctx context.Context, chartAssignment *v1alpha1.ChartAssignment, ...) (result *v1alpha1.ChartAssignment, err error)
- func (c *FakeChartAssignments) UpdateStatus(ctx context.Context, chartAssignment *v1alpha1.ChartAssignment, ...) (*v1alpha1.ChartAssignment, error)
- func (c *FakeChartAssignments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeResourceSets
- func (c *FakeResourceSets) Create(ctx context.Context, resourceSet *v1alpha1.ResourceSet, opts v1.CreateOptions) (result *v1alpha1.ResourceSet, err error)
- func (c *FakeResourceSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeResourceSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeResourceSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceSet, err error)
- func (c *FakeResourceSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceSetList, err error)
- func (c *FakeResourceSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1alpha1.ResourceSet, err error)
- func (c *FakeResourceSets) Update(ctx context.Context, resourceSet *v1alpha1.ResourceSet, opts v1.UpdateOptions) (result *v1alpha1.ResourceSet, err error)
- func (c *FakeResourceSets) UpdateStatus(ctx context.Context, resourceSet *v1alpha1.ResourceSet, opts v1.UpdateOptions) (*v1alpha1.ResourceSet, error)
- func (c *FakeResourceSets) 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 FakeAppRollouts ¶
type FakeAppRollouts struct {
Fake *FakeAppsV1alpha1
}
FakeAppRollouts implements AppRolloutInterface
func (*FakeAppRollouts) Create ¶
func (c *FakeAppRollouts) Create(ctx context.Context, appRollout *v1alpha1.AppRollout, opts v1.CreateOptions) (result *v1alpha1.AppRollout, err error)
Create takes the representation of a appRollout and creates it. Returns the server's representation of the appRollout, and an error, if there is any.
func (*FakeAppRollouts) Delete ¶
func (c *FakeAppRollouts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the appRollout and deletes it. Returns an error if one occurs.
func (*FakeAppRollouts) DeleteCollection ¶
func (c *FakeAppRollouts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeAppRollouts) Get ¶
func (c *FakeAppRollouts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AppRollout, err error)
Get takes name of the appRollout, and returns the corresponding appRollout object, and an error if there is any.
func (*FakeAppRollouts) List ¶
func (c *FakeAppRollouts) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppRolloutList, err error)
List takes label and field selectors, and returns the list of AppRollouts that match those selectors.
func (*FakeAppRollouts) Patch ¶
func (c *FakeAppRollouts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AppRollout, err error)
Patch applies the patch and returns the patched appRollout.
func (*FakeAppRollouts) Update ¶
func (c *FakeAppRollouts) Update(ctx context.Context, appRollout *v1alpha1.AppRollout, opts v1.UpdateOptions) (result *v1alpha1.AppRollout, err error)
Update takes the representation of a appRollout and updates it. Returns the server's representation of the appRollout, and an error, if there is any.
func (*FakeAppRollouts) UpdateStatus ¶
func (c *FakeAppRollouts) UpdateStatus(ctx context.Context, appRollout *v1alpha1.AppRollout, opts v1.UpdateOptions) (*v1alpha1.AppRollout, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeAppRollouts) Watch ¶
func (c *FakeAppRollouts) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested appRollouts.
type FakeApps ¶
type FakeApps struct {
Fake *FakeAppsV1alpha1
}
FakeApps implements AppInterface
func (*FakeApps) Create ¶
func (c *FakeApps) Create(ctx context.Context, app *v1alpha1.App, opts v1.CreateOptions) (result *v1alpha1.App, err error)
Create takes the representation of a app and creates it. Returns the server's representation of the app, and an error, if there is any.
func (*FakeApps) Delete ¶
Delete takes name of the app and deletes it. Returns an error if one occurs.
func (*FakeApps) DeleteCollection ¶
func (c *FakeApps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApps) Get ¶
func (c *FakeApps) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.App, err error)
Get takes name of the app, and returns the corresponding app object, and an error if there is any.
func (*FakeApps) List ¶
func (c *FakeApps) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AppList, err error)
List takes label and field selectors, and returns the list of Apps that match those selectors.
func (*FakeApps) Patch ¶
func (c *FakeApps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.App, err error)
Patch applies the patch and returns the patched app.
type FakeAppsV1alpha1 ¶
func (*FakeAppsV1alpha1) AppRollouts ¶
func (c *FakeAppsV1alpha1) AppRollouts() v1alpha1.AppRolloutInterface
func (*FakeAppsV1alpha1) Apps ¶
func (c *FakeAppsV1alpha1) Apps() v1alpha1.AppInterface
func (*FakeAppsV1alpha1) ChartAssignments ¶
func (c *FakeAppsV1alpha1) ChartAssignments() v1alpha1.ChartAssignmentInterface
func (*FakeAppsV1alpha1) RESTClient ¶
func (c *FakeAppsV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeAppsV1alpha1) ResourceSets ¶
func (c *FakeAppsV1alpha1) ResourceSets() v1alpha1.ResourceSetInterface
type FakeChartAssignments ¶
type FakeChartAssignments struct {
Fake *FakeAppsV1alpha1
}
FakeChartAssignments implements ChartAssignmentInterface
func (*FakeChartAssignments) Create ¶
func (c *FakeChartAssignments) Create(ctx context.Context, chartAssignment *v1alpha1.ChartAssignment, opts v1.CreateOptions) (result *v1alpha1.ChartAssignment, err error)
Create takes the representation of a chartAssignment and creates it. Returns the server's representation of the chartAssignment, and an error, if there is any.
func (*FakeChartAssignments) Delete ¶
func (c *FakeChartAssignments) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the chartAssignment and deletes it. Returns an error if one occurs.
func (*FakeChartAssignments) DeleteCollection ¶
func (c *FakeChartAssignments) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChartAssignments) Get ¶
func (c *FakeChartAssignments) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ChartAssignment, err error)
Get takes name of the chartAssignment, and returns the corresponding chartAssignment object, and an error if there is any.
func (*FakeChartAssignments) List ¶
func (c *FakeChartAssignments) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ChartAssignmentList, err error)
List takes label and field selectors, and returns the list of ChartAssignments that match those selectors.
func (*FakeChartAssignments) Patch ¶
func (c *FakeChartAssignments) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ChartAssignment, err error)
Patch applies the patch and returns the patched chartAssignment.
func (*FakeChartAssignments) Update ¶
func (c *FakeChartAssignments) Update(ctx context.Context, chartAssignment *v1alpha1.ChartAssignment, opts v1.UpdateOptions) (result *v1alpha1.ChartAssignment, err error)
Update takes the representation of a chartAssignment and updates it. Returns the server's representation of the chartAssignment, and an error, if there is any.
func (*FakeChartAssignments) UpdateStatus ¶
func (c *FakeChartAssignments) UpdateStatus(ctx context.Context, chartAssignment *v1alpha1.ChartAssignment, opts v1.UpdateOptions) (*v1alpha1.ChartAssignment, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeChartAssignments) Watch ¶
func (c *FakeChartAssignments) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested chartAssignments.
type FakeResourceSets ¶
type FakeResourceSets struct {
Fake *FakeAppsV1alpha1
}
FakeResourceSets implements ResourceSetInterface
func (*FakeResourceSets) Create ¶
func (c *FakeResourceSets) Create(ctx context.Context, resourceSet *v1alpha1.ResourceSet, opts v1.CreateOptions) (result *v1alpha1.ResourceSet, err error)
Create takes the representation of a resourceSet and creates it. Returns the server's representation of the resourceSet, and an error, if there is any.
func (*FakeResourceSets) Delete ¶
func (c *FakeResourceSets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the resourceSet and deletes it. Returns an error if one occurs.
func (*FakeResourceSets) DeleteCollection ¶
func (c *FakeResourceSets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeResourceSets) Get ¶
func (c *FakeResourceSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ResourceSet, err error)
Get takes name of the resourceSet, and returns the corresponding resourceSet object, and an error if there is any.
func (*FakeResourceSets) List ¶
func (c *FakeResourceSets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.ResourceSetList, err error)
List takes label and field selectors, and returns the list of ResourceSets that match those selectors.
func (*FakeResourceSets) Patch ¶
func (c *FakeResourceSets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ResourceSet, err error)
Patch applies the patch and returns the patched resourceSet.
func (*FakeResourceSets) Update ¶
func (c *FakeResourceSets) Update(ctx context.Context, resourceSet *v1alpha1.ResourceSet, opts v1.UpdateOptions) (result *v1alpha1.ResourceSet, err error)
Update takes the representation of a resourceSet and updates it. Returns the server's representation of the resourceSet, and an error, if there is any.
func (*FakeResourceSets) UpdateStatus ¶
func (c *FakeResourceSets) UpdateStatus(ctx context.Context, resourceSet *v1alpha1.ResourceSet, opts v1.UpdateOptions) (*v1alpha1.ResourceSet, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeResourceSets) Watch ¶
func (c *FakeResourceSets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested resourceSets.