Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeBusiness
- func (c *FakeBusiness) ChartGroups(namespace string) internalversion.ChartGroupInterface
- func (c *FakeBusiness) ConfigMaps() internalversion.ConfigMapInterface
- func (c *FakeBusiness) ImageNamespaces(namespace string) internalversion.ImageNamespaceInterface
- func (c *FakeBusiness) Namespaces(namespace string) internalversion.NamespaceInterface
- func (c *FakeBusiness) NsEmigrations(namespace string) internalversion.NsEmigrationInterface
- func (c *FakeBusiness) Platforms() internalversion.PlatformInterface
- func (c *FakeBusiness) Portals() internalversion.PortalInterface
- func (c *FakeBusiness) Projects() internalversion.ProjectInterface
- func (c *FakeBusiness) RESTClient() rest.Interface
- type FakeChartGroups
- func (c *FakeChartGroups) Create(ctx context.Context, chartGroup *business.ChartGroup, opts v1.CreateOptions) (result *business.ChartGroup, err error)
- func (c *FakeChartGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeChartGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeChartGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.ChartGroup, err error)
- func (c *FakeChartGroups) List(ctx context.Context, opts v1.ListOptions) (result *business.ChartGroupList, err error)
- func (c *FakeChartGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *business.ChartGroup, err error)
- func (c *FakeChartGroups) Update(ctx context.Context, chartGroup *business.ChartGroup, opts v1.UpdateOptions) (result *business.ChartGroup, err error)
- func (c *FakeChartGroups) UpdateStatus(ctx context.Context, chartGroup *business.ChartGroup, opts v1.UpdateOptions) (*business.ChartGroup, error)
- func (c *FakeChartGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeConfigMaps
- func (c *FakeConfigMaps) Create(ctx context.Context, configMap *business.ConfigMap, opts v1.CreateOptions) (result *business.ConfigMap, err error)
- func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.ConfigMap, err error)
- func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *business.ConfigMapList, err error)
- func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *business.ConfigMap, err error)
- func (c *FakeConfigMaps) Update(ctx context.Context, configMap *business.ConfigMap, opts v1.UpdateOptions) (result *business.ConfigMap, err error)
- func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeImageNamespaces
- func (c *FakeImageNamespaces) Create(ctx context.Context, imageNamespace *business.ImageNamespace, ...) (result *business.ImageNamespace, err error)
- func (c *FakeImageNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeImageNamespaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeImageNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.ImageNamespace, err error)
- func (c *FakeImageNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *business.ImageNamespaceList, err error)
- func (c *FakeImageNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *business.ImageNamespace, err error)
- func (c *FakeImageNamespaces) Update(ctx context.Context, imageNamespace *business.ImageNamespace, ...) (result *business.ImageNamespace, err error)
- func (c *FakeImageNamespaces) UpdateStatus(ctx context.Context, imageNamespace *business.ImageNamespace, ...) (*business.ImageNamespace, error)
- func (c *FakeImageNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNamespaces
- func (c *FakeNamespaces) Create(ctx context.Context, namespace *business.Namespace, opts v1.CreateOptions) (result *business.Namespace, err error)
- func (c *FakeNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNamespaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.Namespace, err error)
- func (c *FakeNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *business.NamespaceList, err error)
- func (c *FakeNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *business.Namespace, err error)
- func (c *FakeNamespaces) Update(ctx context.Context, namespace *business.Namespace, opts v1.UpdateOptions) (result *business.Namespace, err error)
- func (c *FakeNamespaces) UpdateStatus(ctx context.Context, namespace *business.Namespace, opts v1.UpdateOptions) (*business.Namespace, error)
- func (c *FakeNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakeNsEmigrations
- func (c *FakeNsEmigrations) Create(ctx context.Context, nsEmigration *business.NsEmigration, ...) (result *business.NsEmigration, err error)
- func (c *FakeNsEmigrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeNsEmigrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
- func (c *FakeNsEmigrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.NsEmigration, err error)
- func (c *FakeNsEmigrations) List(ctx context.Context, opts v1.ListOptions) (result *business.NsEmigrationList, err error)
- func (c *FakeNsEmigrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *business.NsEmigration, err error)
- func (c *FakeNsEmigrations) Update(ctx context.Context, nsEmigration *business.NsEmigration, ...) (result *business.NsEmigration, err error)
- func (c *FakeNsEmigrations) UpdateStatus(ctx context.Context, nsEmigration *business.NsEmigration, ...) (*business.NsEmigration, error)
- func (c *FakeNsEmigrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePlatforms
- func (c *FakePlatforms) Create(ctx context.Context, platform *business.Platform, opts v1.CreateOptions) (result *business.Platform, err error)
- func (c *FakePlatforms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakePlatforms) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.Platform, err error)
- func (c *FakePlatforms) List(ctx context.Context, opts v1.ListOptions) (result *business.PlatformList, err error)
- func (c *FakePlatforms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *business.Platform, err error)
- func (c *FakePlatforms) Update(ctx context.Context, platform *business.Platform, opts v1.UpdateOptions) (result *business.Platform, err error)
- func (c *FakePlatforms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
- type FakePortals
- type FakeProjects
- func (c *FakeProjects) Create(ctx context.Context, project *business.Project, opts v1.CreateOptions) (result *business.Project, err error)
- func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
- func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.Project, err error)
- func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *business.ProjectList, err error)
- func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *business.Project, err error)
- func (c *FakeProjects) Update(ctx context.Context, project *business.Project, opts v1.UpdateOptions) (result *business.Project, err error)
- func (c *FakeProjects) UpdateStatus(ctx context.Context, project *business.Project, opts v1.UpdateOptions) (*business.Project, error)
- func (c *FakeProjects) 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 FakeBusiness ¶
func (*FakeBusiness) ChartGroups ¶
func (c *FakeBusiness) ChartGroups(namespace string) internalversion.ChartGroupInterface
func (*FakeBusiness) ConfigMaps ¶
func (c *FakeBusiness) ConfigMaps() internalversion.ConfigMapInterface
func (*FakeBusiness) ImageNamespaces ¶
func (c *FakeBusiness) ImageNamespaces(namespace string) internalversion.ImageNamespaceInterface
func (*FakeBusiness) Namespaces ¶
func (c *FakeBusiness) Namespaces(namespace string) internalversion.NamespaceInterface
func (*FakeBusiness) NsEmigrations ¶ added in v1.3.1
func (c *FakeBusiness) NsEmigrations(namespace string) internalversion.NsEmigrationInterface
func (*FakeBusiness) Platforms ¶
func (c *FakeBusiness) Platforms() internalversion.PlatformInterface
func (*FakeBusiness) Portals ¶
func (c *FakeBusiness) Portals() internalversion.PortalInterface
func (*FakeBusiness) Projects ¶
func (c *FakeBusiness) Projects() internalversion.ProjectInterface
func (*FakeBusiness) RESTClient ¶
func (c *FakeBusiness) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeChartGroups ¶
type FakeChartGroups struct { Fake *FakeBusiness // contains filtered or unexported fields }
FakeChartGroups implements ChartGroupInterface
func (*FakeChartGroups) Create ¶
func (c *FakeChartGroups) Create(ctx context.Context, chartGroup *business.ChartGroup, opts v1.CreateOptions) (result *business.ChartGroup, err error)
Create takes the representation of a chartGroup and creates it. Returns the server's representation of the chartGroup, and an error, if there is any.
func (*FakeChartGroups) Delete ¶
func (c *FakeChartGroups) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the chartGroup and deletes it. Returns an error if one occurs.
func (*FakeChartGroups) DeleteCollection ¶
func (c *FakeChartGroups) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeChartGroups) Get ¶
func (c *FakeChartGroups) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.ChartGroup, err error)
Get takes name of the chartGroup, and returns the corresponding chartGroup object, and an error if there is any.
func (*FakeChartGroups) List ¶
func (c *FakeChartGroups) List(ctx context.Context, opts v1.ListOptions) (result *business.ChartGroupList, err error)
List takes label and field selectors, and returns the list of ChartGroups that match those selectors.
func (*FakeChartGroups) Patch ¶
func (c *FakeChartGroups) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *business.ChartGroup, err error)
Patch applies the patch and returns the patched chartGroup.
func (*FakeChartGroups) Update ¶
func (c *FakeChartGroups) Update(ctx context.Context, chartGroup *business.ChartGroup, opts v1.UpdateOptions) (result *business.ChartGroup, err error)
Update takes the representation of a chartGroup and updates it. Returns the server's representation of the chartGroup, and an error, if there is any.
func (*FakeChartGroups) UpdateStatus ¶
func (c *FakeChartGroups) UpdateStatus(ctx context.Context, chartGroup *business.ChartGroup, opts v1.UpdateOptions) (*business.ChartGroup, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeChartGroups) Watch ¶
func (c *FakeChartGroups) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested chartGroups.
type FakeConfigMaps ¶
type FakeConfigMaps struct {
Fake *FakeBusiness
}
FakeConfigMaps implements ConfigMapInterface
func (*FakeConfigMaps) Create ¶
func (c *FakeConfigMaps) Create(ctx context.Context, configMap *business.ConfigMap, opts v1.CreateOptions) (result *business.ConfigMap, err error)
Create takes the representation of a configMap and creates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Delete ¶
func (c *FakeConfigMaps) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the configMap and deletes it. Returns an error if one occurs.
func (*FakeConfigMaps) DeleteCollection ¶
func (c *FakeConfigMaps) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeConfigMaps) Get ¶
func (c *FakeConfigMaps) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.ConfigMap, err error)
Get takes name of the configMap, and returns the corresponding configMap object, and an error if there is any.
func (*FakeConfigMaps) List ¶
func (c *FakeConfigMaps) List(ctx context.Context, opts v1.ListOptions) (result *business.ConfigMapList, err error)
List takes label and field selectors, and returns the list of ConfigMaps that match those selectors.
func (*FakeConfigMaps) Patch ¶
func (c *FakeConfigMaps) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *business.ConfigMap, err error)
Patch applies the patch and returns the patched configMap.
func (*FakeConfigMaps) Update ¶
func (c *FakeConfigMaps) Update(ctx context.Context, configMap *business.ConfigMap, opts v1.UpdateOptions) (result *business.ConfigMap, err error)
Update takes the representation of a configMap and updates it. Returns the server's representation of the configMap, and an error, if there is any.
func (*FakeConfigMaps) Watch ¶
func (c *FakeConfigMaps) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested configMaps.
type FakeImageNamespaces ¶
type FakeImageNamespaces struct { Fake *FakeBusiness // contains filtered or unexported fields }
FakeImageNamespaces implements ImageNamespaceInterface
func (*FakeImageNamespaces) Create ¶
func (c *FakeImageNamespaces) Create(ctx context.Context, imageNamespace *business.ImageNamespace, opts v1.CreateOptions) (result *business.ImageNamespace, err error)
Create takes the representation of a imageNamespace and creates it. Returns the server's representation of the imageNamespace, and an error, if there is any.
func (*FakeImageNamespaces) Delete ¶
func (c *FakeImageNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the imageNamespace and deletes it. Returns an error if one occurs.
func (*FakeImageNamespaces) DeleteCollection ¶
func (c *FakeImageNamespaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeImageNamespaces) Get ¶
func (c *FakeImageNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.ImageNamespace, err error)
Get takes name of the imageNamespace, and returns the corresponding imageNamespace object, and an error if there is any.
func (*FakeImageNamespaces) List ¶
func (c *FakeImageNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *business.ImageNamespaceList, err error)
List takes label and field selectors, and returns the list of ImageNamespaces that match those selectors.
func (*FakeImageNamespaces) Patch ¶
func (c *FakeImageNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *business.ImageNamespace, err error)
Patch applies the patch and returns the patched imageNamespace.
func (*FakeImageNamespaces) Update ¶
func (c *FakeImageNamespaces) Update(ctx context.Context, imageNamespace *business.ImageNamespace, opts v1.UpdateOptions) (result *business.ImageNamespace, err error)
Update takes the representation of a imageNamespace and updates it. Returns the server's representation of the imageNamespace, and an error, if there is any.
func (*FakeImageNamespaces) UpdateStatus ¶
func (c *FakeImageNamespaces) UpdateStatus(ctx context.Context, imageNamespace *business.ImageNamespace, opts v1.UpdateOptions) (*business.ImageNamespace, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeImageNamespaces) Watch ¶
func (c *FakeImageNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested imageNamespaces.
type FakeNamespaces ¶
type FakeNamespaces struct { Fake *FakeBusiness // contains filtered or unexported fields }
FakeNamespaces implements NamespaceInterface
func (*FakeNamespaces) Create ¶
func (c *FakeNamespaces) Create(ctx context.Context, namespace *business.Namespace, opts v1.CreateOptions) (result *business.Namespace, err error)
Create takes the representation of a namespace and creates it. Returns the server's representation of the namespace, and an error, if there is any.
func (*FakeNamespaces) Delete ¶
func (c *FakeNamespaces) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the namespace and deletes it. Returns an error if one occurs.
func (*FakeNamespaces) DeleteCollection ¶
func (c *FakeNamespaces) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNamespaces) Get ¶
func (c *FakeNamespaces) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.Namespace, err error)
Get takes name of the namespace, and returns the corresponding namespace object, and an error if there is any.
func (*FakeNamespaces) List ¶
func (c *FakeNamespaces) List(ctx context.Context, opts v1.ListOptions) (result *business.NamespaceList, err error)
List takes label and field selectors, and returns the list of Namespaces that match those selectors.
func (*FakeNamespaces) Patch ¶
func (c *FakeNamespaces) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *business.Namespace, err error)
Patch applies the patch and returns the patched namespace.
func (*FakeNamespaces) Update ¶
func (c *FakeNamespaces) Update(ctx context.Context, namespace *business.Namespace, opts v1.UpdateOptions) (result *business.Namespace, err error)
Update takes the representation of a namespace and updates it. Returns the server's representation of the namespace, and an error, if there is any.
func (*FakeNamespaces) UpdateStatus ¶
func (c *FakeNamespaces) UpdateStatus(ctx context.Context, namespace *business.Namespace, opts v1.UpdateOptions) (*business.Namespace, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNamespaces) Watch ¶
func (c *FakeNamespaces) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested namespaces.
type FakeNsEmigrations ¶ added in v1.3.1
type FakeNsEmigrations struct { Fake *FakeBusiness // contains filtered or unexported fields }
FakeNsEmigrations implements NsEmigrationInterface
func (*FakeNsEmigrations) Create ¶ added in v1.3.1
func (c *FakeNsEmigrations) Create(ctx context.Context, nsEmigration *business.NsEmigration, opts v1.CreateOptions) (result *business.NsEmigration, err error)
Create takes the representation of a nsEmigration and creates it. Returns the server's representation of the nsEmigration, and an error, if there is any.
func (*FakeNsEmigrations) Delete ¶ added in v1.3.1
func (c *FakeNsEmigrations) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the nsEmigration and deletes it. Returns an error if one occurs.
func (*FakeNsEmigrations) DeleteCollection ¶ added in v1.3.1
func (c *FakeNsEmigrations) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeNsEmigrations) Get ¶ added in v1.3.1
func (c *FakeNsEmigrations) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.NsEmigration, err error)
Get takes name of the nsEmigration, and returns the corresponding nsEmigration object, and an error if there is any.
func (*FakeNsEmigrations) List ¶ added in v1.3.1
func (c *FakeNsEmigrations) List(ctx context.Context, opts v1.ListOptions) (result *business.NsEmigrationList, err error)
List takes label and field selectors, and returns the list of NsEmigrations that match those selectors.
func (*FakeNsEmigrations) Patch ¶ added in v1.3.1
func (c *FakeNsEmigrations) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *business.NsEmigration, err error)
Patch applies the patch and returns the patched nsEmigration.
func (*FakeNsEmigrations) Update ¶ added in v1.3.1
func (c *FakeNsEmigrations) Update(ctx context.Context, nsEmigration *business.NsEmigration, opts v1.UpdateOptions) (result *business.NsEmigration, err error)
Update takes the representation of a nsEmigration and updates it. Returns the server's representation of the nsEmigration, and an error, if there is any.
func (*FakeNsEmigrations) UpdateStatus ¶ added in v1.3.1
func (c *FakeNsEmigrations) UpdateStatus(ctx context.Context, nsEmigration *business.NsEmigration, opts v1.UpdateOptions) (*business.NsEmigration, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeNsEmigrations) Watch ¶ added in v1.3.1
func (c *FakeNsEmigrations) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested nsEmigrations.
type FakePlatforms ¶
type FakePlatforms struct {
Fake *FakeBusiness
}
FakePlatforms implements PlatformInterface
func (*FakePlatforms) Create ¶
func (c *FakePlatforms) Create(ctx context.Context, platform *business.Platform, opts v1.CreateOptions) (result *business.Platform, err error)
Create takes the representation of a platform and creates it. Returns the server's representation of the platform, and an error, if there is any.
func (*FakePlatforms) Delete ¶
func (c *FakePlatforms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the platform and deletes it. Returns an error if one occurs.
func (*FakePlatforms) Get ¶
func (c *FakePlatforms) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.Platform, err error)
Get takes name of the platform, and returns the corresponding platform object, and an error if there is any.
func (*FakePlatforms) List ¶
func (c *FakePlatforms) List(ctx context.Context, opts v1.ListOptions) (result *business.PlatformList, err error)
List takes label and field selectors, and returns the list of Platforms that match those selectors.
func (*FakePlatforms) Patch ¶
func (c *FakePlatforms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *business.Platform, err error)
Patch applies the patch and returns the patched platform.
func (*FakePlatforms) Update ¶
func (c *FakePlatforms) Update(ctx context.Context, platform *business.Platform, opts v1.UpdateOptions) (result *business.Platform, err error)
Update takes the representation of a platform and updates it. Returns the server's representation of the platform, and an error, if there is any.
func (*FakePlatforms) Watch ¶
func (c *FakePlatforms) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested platforms.
type FakePortals ¶
type FakePortals struct {
Fake *FakeBusiness
}
FakePortals implements PortalInterface
type FakeProjects ¶
type FakeProjects struct {
Fake *FakeBusiness
}
FakeProjects implements ProjectInterface
func (*FakeProjects) Create ¶
func (c *FakeProjects) Create(ctx context.Context, project *business.Project, opts v1.CreateOptions) (result *business.Project, err error)
Create takes the representation of a project and creates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) Delete ¶
func (c *FakeProjects) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error
Delete takes name of the project and deletes it. Returns an error if one occurs.
func (*FakeProjects) Get ¶
func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *business.Project, err error)
Get takes name of the project, and returns the corresponding project object, and an error if there is any.
func (*FakeProjects) List ¶
func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *business.ProjectList, err error)
List takes label and field selectors, and returns the list of Projects that match those selectors.
func (*FakeProjects) Patch ¶
func (c *FakeProjects) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *business.Project, err error)
Patch applies the patch and returns the patched project.
func (*FakeProjects) Update ¶
func (c *FakeProjects) Update(ctx context.Context, project *business.Project, opts v1.UpdateOptions) (result *business.Project, err error)
Update takes the representation of a project and updates it. Returns the server's representation of the project, and an error, if there is any.
func (*FakeProjects) UpdateStatus ¶
func (c *FakeProjects) UpdateStatus(ctx context.Context, project *business.Project, opts v1.UpdateOptions) (*business.Project, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeProjects) Watch ¶
func (c *FakeProjects) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested projects.