Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeApplications
- func (c *FakeApplications) Create(application *v1alpha1.Application) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeApplications) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeApplications) Get(name string, options v1.GetOptions) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) List(opts v1.ListOptions) (result *v1alpha1.ApplicationList, err error)
- func (c *FakeApplications) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) Update(application *v1alpha1.Application) (result *v1alpha1.Application, err error)
- func (c *FakeApplications) UpdateStatus(application *v1alpha1.Application) (*v1alpha1.Application, error)
- func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeCapacityTargets
- func (c *FakeCapacityTargets) Create(capacityTarget *v1alpha1.CapacityTarget) (result *v1alpha1.CapacityTarget, err error)
- func (c *FakeCapacityTargets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeCapacityTargets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeCapacityTargets) Get(name string, options v1.GetOptions) (result *v1alpha1.CapacityTarget, err error)
- func (c *FakeCapacityTargets) List(opts v1.ListOptions) (result *v1alpha1.CapacityTargetList, err error)
- func (c *FakeCapacityTargets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CapacityTarget, err error)
- func (c *FakeCapacityTargets) Update(capacityTarget *v1alpha1.CapacityTarget) (result *v1alpha1.CapacityTarget, err error)
- func (c *FakeCapacityTargets) UpdateStatus(capacityTarget *v1alpha1.CapacityTarget) (*v1alpha1.CapacityTarget, error)
- func (c *FakeCapacityTargets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeClusters
- func (c *FakeClusters) Create(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
- func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) Update(cluster *v1alpha1.Cluster) (result *v1alpha1.Cluster, err error)
- func (c *FakeClusters) UpdateStatus(cluster *v1alpha1.Cluster) (*v1alpha1.Cluster, error)
- func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeInstallationTargets
- func (c *FakeInstallationTargets) Create(installationTarget *v1alpha1.InstallationTarget) (result *v1alpha1.InstallationTarget, err error)
- func (c *FakeInstallationTargets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeInstallationTargets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeInstallationTargets) Get(name string, options v1.GetOptions) (result *v1alpha1.InstallationTarget, err error)
- func (c *FakeInstallationTargets) List(opts v1.ListOptions) (result *v1alpha1.InstallationTargetList, err error)
- func (c *FakeInstallationTargets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.InstallationTarget, err error)
- func (c *FakeInstallationTargets) Update(installationTarget *v1alpha1.InstallationTarget) (result *v1alpha1.InstallationTarget, err error)
- func (c *FakeInstallationTargets) UpdateStatus(installationTarget *v1alpha1.InstallationTarget) (*v1alpha1.InstallationTarget, error)
- func (c *FakeInstallationTargets) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeReleases
- func (c *FakeReleases) Create(release *v1alpha1.Release) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) List(opts v1.ListOptions) (result *v1alpha1.ReleaseList, err error)
- func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) Update(release *v1alpha1.Release) (result *v1alpha1.Release, err error)
- func (c *FakeReleases) UpdateStatus(release *v1alpha1.Release) (*v1alpha1.Release, error)
- func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeRolloutBlocks
- func (c *FakeRolloutBlocks) Create(rolloutBlock *v1alpha1.RolloutBlock) (result *v1alpha1.RolloutBlock, err error)
- func (c *FakeRolloutBlocks) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeRolloutBlocks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeRolloutBlocks) Get(name string, options v1.GetOptions) (result *v1alpha1.RolloutBlock, err error)
- func (c *FakeRolloutBlocks) List(opts v1.ListOptions) (result *v1alpha1.RolloutBlockList, err error)
- func (c *FakeRolloutBlocks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RolloutBlock, err error)
- func (c *FakeRolloutBlocks) Update(rolloutBlock *v1alpha1.RolloutBlock) (result *v1alpha1.RolloutBlock, err error)
- func (c *FakeRolloutBlocks) UpdateStatus(rolloutBlock *v1alpha1.RolloutBlock) (*v1alpha1.RolloutBlock, error)
- func (c *FakeRolloutBlocks) Watch(opts v1.ListOptions) (watch.Interface, error)
- type FakeShipperV1alpha1
- func (c *FakeShipperV1alpha1) Applications(namespace string) v1alpha1.ApplicationInterface
- func (c *FakeShipperV1alpha1) CapacityTargets(namespace string) v1alpha1.CapacityTargetInterface
- func (c *FakeShipperV1alpha1) Clusters() v1alpha1.ClusterInterface
- func (c *FakeShipperV1alpha1) InstallationTargets(namespace string) v1alpha1.InstallationTargetInterface
- func (c *FakeShipperV1alpha1) RESTClient() rest.Interface
- func (c *FakeShipperV1alpha1) Releases(namespace string) v1alpha1.ReleaseInterface
- func (c *FakeShipperV1alpha1) RolloutBlocks(namespace string) v1alpha1.RolloutBlockInterface
- func (c *FakeShipperV1alpha1) TrafficTargets(namespace string) v1alpha1.TrafficTargetInterface
- type FakeTrafficTargets
- func (c *FakeTrafficTargets) Create(trafficTarget *v1alpha1.TrafficTarget) (result *v1alpha1.TrafficTarget, err error)
- func (c *FakeTrafficTargets) Delete(name string, options *v1.DeleteOptions) error
- func (c *FakeTrafficTargets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
- func (c *FakeTrafficTargets) Get(name string, options v1.GetOptions) (result *v1alpha1.TrafficTarget, err error)
- func (c *FakeTrafficTargets) List(opts v1.ListOptions) (result *v1alpha1.TrafficTargetList, err error)
- func (c *FakeTrafficTargets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TrafficTarget, err error)
- func (c *FakeTrafficTargets) Update(trafficTarget *v1alpha1.TrafficTarget) (result *v1alpha1.TrafficTarget, err error)
- func (c *FakeTrafficTargets) UpdateStatus(trafficTarget *v1alpha1.TrafficTarget) (*v1alpha1.TrafficTarget, error)
- func (c *FakeTrafficTargets) Watch(opts v1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApplications ¶
type FakeApplications struct { Fake *FakeShipperV1alpha1 // contains filtered or unexported fields }
FakeApplications implements ApplicationInterface
func (*FakeApplications) Create ¶
func (c *FakeApplications) Create(application *v1alpha1.Application) (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(name string, options *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(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeApplications) Get ¶
func (c *FakeApplications) Get(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(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(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Application, err error)
Patch applies the patch and returns the patched application.
func (*FakeApplications) Update ¶
func (c *FakeApplications) Update(application *v1alpha1.Application) (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) UpdateStatus ¶
func (c *FakeApplications) UpdateStatus(application *v1alpha1.Application) (*v1alpha1.Application, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeApplications) Watch ¶
func (c *FakeApplications) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested applications.
type FakeCapacityTargets ¶
type FakeCapacityTargets struct { Fake *FakeShipperV1alpha1 // contains filtered or unexported fields }
FakeCapacityTargets implements CapacityTargetInterface
func (*FakeCapacityTargets) Create ¶
func (c *FakeCapacityTargets) Create(capacityTarget *v1alpha1.CapacityTarget) (result *v1alpha1.CapacityTarget, err error)
Create takes the representation of a capacityTarget and creates it. Returns the server's representation of the capacityTarget, and an error, if there is any.
func (*FakeCapacityTargets) Delete ¶
func (c *FakeCapacityTargets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the capacityTarget and deletes it. Returns an error if one occurs.
func (*FakeCapacityTargets) DeleteCollection ¶
func (c *FakeCapacityTargets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeCapacityTargets) Get ¶
func (c *FakeCapacityTargets) Get(name string, options v1.GetOptions) (result *v1alpha1.CapacityTarget, err error)
Get takes name of the capacityTarget, and returns the corresponding capacityTarget object, and an error if there is any.
func (*FakeCapacityTargets) List ¶
func (c *FakeCapacityTargets) List(opts v1.ListOptions) (result *v1alpha1.CapacityTargetList, err error)
List takes label and field selectors, and returns the list of CapacityTargets that match those selectors.
func (*FakeCapacityTargets) Patch ¶
func (c *FakeCapacityTargets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.CapacityTarget, err error)
Patch applies the patch and returns the patched capacityTarget.
func (*FakeCapacityTargets) Update ¶
func (c *FakeCapacityTargets) Update(capacityTarget *v1alpha1.CapacityTarget) (result *v1alpha1.CapacityTarget, err error)
Update takes the representation of a capacityTarget and updates it. Returns the server's representation of the capacityTarget, and an error, if there is any.
func (*FakeCapacityTargets) UpdateStatus ¶
func (c *FakeCapacityTargets) UpdateStatus(capacityTarget *v1alpha1.CapacityTarget) (*v1alpha1.CapacityTarget, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeCapacityTargets) Watch ¶
func (c *FakeCapacityTargets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested capacityTargets.
type FakeClusters ¶
type FakeClusters struct {
Fake *FakeShipperV1alpha1
}
FakeClusters implements ClusterInterface
func (*FakeClusters) Create ¶
Create takes the representation of a cluster and creates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) Delete ¶
func (c *FakeClusters) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the cluster and deletes it. Returns an error if one occurs.
func (*FakeClusters) DeleteCollection ¶
func (c *FakeClusters) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeClusters) Get ¶
func (c *FakeClusters) Get(name string, options v1.GetOptions) (result *v1alpha1.Cluster, err error)
Get takes name of the cluster, and returns the corresponding cluster object, and an error if there is any.
func (*FakeClusters) List ¶
func (c *FakeClusters) List(opts v1.ListOptions) (result *v1alpha1.ClusterList, err error)
List takes label and field selectors, and returns the list of Clusters that match those selectors.
func (*FakeClusters) Patch ¶
func (c *FakeClusters) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Cluster, err error)
Patch applies the patch and returns the patched cluster.
func (*FakeClusters) Update ¶
Update takes the representation of a cluster and updates it. Returns the server's representation of the cluster, and an error, if there is any.
func (*FakeClusters) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeClusters) Watch ¶
func (c *FakeClusters) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested clusters.
type FakeInstallationTargets ¶
type FakeInstallationTargets struct { Fake *FakeShipperV1alpha1 // contains filtered or unexported fields }
FakeInstallationTargets implements InstallationTargetInterface
func (*FakeInstallationTargets) Create ¶
func (c *FakeInstallationTargets) Create(installationTarget *v1alpha1.InstallationTarget) (result *v1alpha1.InstallationTarget, err error)
Create takes the representation of a installationTarget and creates it. Returns the server's representation of the installationTarget, and an error, if there is any.
func (*FakeInstallationTargets) Delete ¶
func (c *FakeInstallationTargets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the installationTarget and deletes it. Returns an error if one occurs.
func (*FakeInstallationTargets) DeleteCollection ¶
func (c *FakeInstallationTargets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeInstallationTargets) Get ¶
func (c *FakeInstallationTargets) Get(name string, options v1.GetOptions) (result *v1alpha1.InstallationTarget, err error)
Get takes name of the installationTarget, and returns the corresponding installationTarget object, and an error if there is any.
func (*FakeInstallationTargets) List ¶
func (c *FakeInstallationTargets) List(opts v1.ListOptions) (result *v1alpha1.InstallationTargetList, err error)
List takes label and field selectors, and returns the list of InstallationTargets that match those selectors.
func (*FakeInstallationTargets) Patch ¶
func (c *FakeInstallationTargets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.InstallationTarget, err error)
Patch applies the patch and returns the patched installationTarget.
func (*FakeInstallationTargets) Update ¶
func (c *FakeInstallationTargets) Update(installationTarget *v1alpha1.InstallationTarget) (result *v1alpha1.InstallationTarget, err error)
Update takes the representation of a installationTarget and updates it. Returns the server's representation of the installationTarget, and an error, if there is any.
func (*FakeInstallationTargets) UpdateStatus ¶
func (c *FakeInstallationTargets) UpdateStatus(installationTarget *v1alpha1.InstallationTarget) (*v1alpha1.InstallationTarget, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeInstallationTargets) Watch ¶
func (c *FakeInstallationTargets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested installationTargets.
type FakeReleases ¶
type FakeReleases struct { Fake *FakeShipperV1alpha1 // contains filtered or unexported fields }
FakeReleases implements ReleaseInterface
func (*FakeReleases) Create ¶
Create takes the representation of a release and creates it. Returns the server's representation of the release, and an error, if there is any.
func (*FakeReleases) Delete ¶
func (c *FakeReleases) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the release and deletes it. Returns an error if one occurs.
func (*FakeReleases) DeleteCollection ¶
func (c *FakeReleases) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeReleases) Get ¶
func (c *FakeReleases) Get(name string, options v1.GetOptions) (result *v1alpha1.Release, err error)
Get takes name of the release, and returns the corresponding release object, and an error if there is any.
func (*FakeReleases) List ¶
func (c *FakeReleases) List(opts v1.ListOptions) (result *v1alpha1.ReleaseList, err error)
List takes label and field selectors, and returns the list of Releases that match those selectors.
func (*FakeReleases) Patch ¶
func (c *FakeReleases) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.Release, err error)
Patch applies the patch and returns the patched release.
func (*FakeReleases) Update ¶
Update takes the representation of a release and updates it. Returns the server's representation of the release, and an error, if there is any.
func (*FakeReleases) UpdateStatus ¶
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeReleases) Watch ¶
func (c *FakeReleases) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested releases.
type FakeRolloutBlocks ¶ added in v0.6.0
type FakeRolloutBlocks struct { Fake *FakeShipperV1alpha1 // contains filtered or unexported fields }
FakeRolloutBlocks implements RolloutBlockInterface
func (*FakeRolloutBlocks) Create ¶ added in v0.6.0
func (c *FakeRolloutBlocks) Create(rolloutBlock *v1alpha1.RolloutBlock) (result *v1alpha1.RolloutBlock, err error)
Create takes the representation of a rolloutBlock and creates it. Returns the server's representation of the rolloutBlock, and an error, if there is any.
func (*FakeRolloutBlocks) Delete ¶ added in v0.6.0
func (c *FakeRolloutBlocks) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the rolloutBlock and deletes it. Returns an error if one occurs.
func (*FakeRolloutBlocks) DeleteCollection ¶ added in v0.6.0
func (c *FakeRolloutBlocks) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeRolloutBlocks) Get ¶ added in v0.6.0
func (c *FakeRolloutBlocks) Get(name string, options v1.GetOptions) (result *v1alpha1.RolloutBlock, err error)
Get takes name of the rolloutBlock, and returns the corresponding rolloutBlock object, and an error if there is any.
func (*FakeRolloutBlocks) List ¶ added in v0.6.0
func (c *FakeRolloutBlocks) List(opts v1.ListOptions) (result *v1alpha1.RolloutBlockList, err error)
List takes label and field selectors, and returns the list of RolloutBlocks that match those selectors.
func (*FakeRolloutBlocks) Patch ¶ added in v0.6.0
func (c *FakeRolloutBlocks) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.RolloutBlock, err error)
Patch applies the patch and returns the patched rolloutBlock.
func (*FakeRolloutBlocks) Update ¶ added in v0.6.0
func (c *FakeRolloutBlocks) Update(rolloutBlock *v1alpha1.RolloutBlock) (result *v1alpha1.RolloutBlock, err error)
Update takes the representation of a rolloutBlock and updates it. Returns the server's representation of the rolloutBlock, and an error, if there is any.
func (*FakeRolloutBlocks) UpdateStatus ¶ added in v0.6.0
func (c *FakeRolloutBlocks) UpdateStatus(rolloutBlock *v1alpha1.RolloutBlock) (*v1alpha1.RolloutBlock, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeRolloutBlocks) Watch ¶ added in v0.6.0
func (c *FakeRolloutBlocks) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested rolloutBlocks.
type FakeShipperV1alpha1 ¶
func (*FakeShipperV1alpha1) Applications ¶
func (c *FakeShipperV1alpha1) Applications(namespace string) v1alpha1.ApplicationInterface
func (*FakeShipperV1alpha1) CapacityTargets ¶
func (c *FakeShipperV1alpha1) CapacityTargets(namespace string) v1alpha1.CapacityTargetInterface
func (*FakeShipperV1alpha1) Clusters ¶
func (c *FakeShipperV1alpha1) Clusters() v1alpha1.ClusterInterface
func (*FakeShipperV1alpha1) InstallationTargets ¶
func (c *FakeShipperV1alpha1) InstallationTargets(namespace string) v1alpha1.InstallationTargetInterface
func (*FakeShipperV1alpha1) RESTClient ¶
func (c *FakeShipperV1alpha1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
func (*FakeShipperV1alpha1) Releases ¶
func (c *FakeShipperV1alpha1) Releases(namespace string) v1alpha1.ReleaseInterface
func (*FakeShipperV1alpha1) RolloutBlocks ¶ added in v0.6.0
func (c *FakeShipperV1alpha1) RolloutBlocks(namespace string) v1alpha1.RolloutBlockInterface
func (*FakeShipperV1alpha1) TrafficTargets ¶
func (c *FakeShipperV1alpha1) TrafficTargets(namespace string) v1alpha1.TrafficTargetInterface
type FakeTrafficTargets ¶
type FakeTrafficTargets struct { Fake *FakeShipperV1alpha1 // contains filtered or unexported fields }
FakeTrafficTargets implements TrafficTargetInterface
func (*FakeTrafficTargets) Create ¶
func (c *FakeTrafficTargets) Create(trafficTarget *v1alpha1.TrafficTarget) (result *v1alpha1.TrafficTarget, err error)
Create takes the representation of a trafficTarget and creates it. Returns the server's representation of the trafficTarget, and an error, if there is any.
func (*FakeTrafficTargets) Delete ¶
func (c *FakeTrafficTargets) Delete(name string, options *v1.DeleteOptions) error
Delete takes name of the trafficTarget and deletes it. Returns an error if one occurs.
func (*FakeTrafficTargets) DeleteCollection ¶
func (c *FakeTrafficTargets) DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeTrafficTargets) Get ¶
func (c *FakeTrafficTargets) Get(name string, options v1.GetOptions) (result *v1alpha1.TrafficTarget, err error)
Get takes name of the trafficTarget, and returns the corresponding trafficTarget object, and an error if there is any.
func (*FakeTrafficTargets) List ¶
func (c *FakeTrafficTargets) List(opts v1.ListOptions) (result *v1alpha1.TrafficTargetList, err error)
List takes label and field selectors, and returns the list of TrafficTargets that match those selectors.
func (*FakeTrafficTargets) Patch ¶
func (c *FakeTrafficTargets) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1alpha1.TrafficTarget, err error)
Patch applies the patch and returns the patched trafficTarget.
func (*FakeTrafficTargets) Update ¶
func (c *FakeTrafficTargets) Update(trafficTarget *v1alpha1.TrafficTarget) (result *v1alpha1.TrafficTarget, err error)
Update takes the representation of a trafficTarget and updates it. Returns the server's representation of the trafficTarget, and an error, if there is any.
func (*FakeTrafficTargets) UpdateStatus ¶
func (c *FakeTrafficTargets) UpdateStatus(trafficTarget *v1alpha1.TrafficTarget) (*v1alpha1.TrafficTarget, error)
UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().
func (*FakeTrafficTargets) Watch ¶
func (c *FakeTrafficTargets) Watch(opts v1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested trafficTargets.