fake

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Package fake has the automatically generated clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeAssetFilters

type FakeAssetFilters struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeAssetFilters implements AssetFilterInterface

func (*FakeAssetFilters) Create

func (c *FakeAssetFilters) Create(ctx context.Context, assetFilter *v1alpha1.AssetFilter, opts v1.CreateOptions) (result *v1alpha1.AssetFilter, err error)

Create takes the representation of a assetFilter and creates it. Returns the server's representation of the assetFilter, and an error, if there is any.

func (*FakeAssetFilters) Delete

func (c *FakeAssetFilters) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the assetFilter and deletes it. Returns an error if one occurs.

func (*FakeAssetFilters) DeleteCollection

func (c *FakeAssetFilters) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAssetFilters) Get

func (c *FakeAssetFilters) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.AssetFilter, err error)

Get takes name of the assetFilter, and returns the corresponding assetFilter object, and an error if there is any.

func (*FakeAssetFilters) List

func (c *FakeAssetFilters) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AssetFilterList, err error)

List takes label and field selectors, and returns the list of AssetFilters that match those selectors.

func (*FakeAssetFilters) Patch

func (c *FakeAssetFilters) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.AssetFilter, err error)

Patch applies the patch and returns the patched assetFilter.

func (*FakeAssetFilters) Update

func (c *FakeAssetFilters) Update(ctx context.Context, assetFilter *v1alpha1.AssetFilter, opts v1.UpdateOptions) (result *v1alpha1.AssetFilter, err error)

Update takes the representation of a assetFilter and updates it. Returns the server's representation of the assetFilter, and an error, if there is any.

func (*FakeAssetFilters) UpdateStatus

func (c *FakeAssetFilters) UpdateStatus(ctx context.Context, assetFilter *v1alpha1.AssetFilter, opts v1.UpdateOptions) (*v1alpha1.AssetFilter, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAssetFilters) Watch

Watch returns a watch.Interface that watches the requested assetFilters.

type FakeAssets

type FakeAssets struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeAssets implements AssetInterface

func (*FakeAssets) Create

func (c *FakeAssets) Create(ctx context.Context, asset *v1alpha1.Asset, opts v1.CreateOptions) (result *v1alpha1.Asset, err error)

Create takes the representation of a asset and creates it. Returns the server's representation of the asset, and an error, if there is any.

func (*FakeAssets) Delete

func (c *FakeAssets) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the asset and deletes it. Returns an error if one occurs.

func (*FakeAssets) DeleteCollection

func (c *FakeAssets) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeAssets) Get

func (c *FakeAssets) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Asset, err error)

Get takes name of the asset, and returns the corresponding asset object, and an error if there is any.

func (*FakeAssets) List

func (c *FakeAssets) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.AssetList, err error)

List takes label and field selectors, and returns the list of Assets that match those selectors.

func (*FakeAssets) Patch

func (c *FakeAssets) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Asset, err error)

Patch applies the patch and returns the patched asset.

func (*FakeAssets) Update

func (c *FakeAssets) Update(ctx context.Context, asset *v1alpha1.Asset, opts v1.UpdateOptions) (result *v1alpha1.Asset, err error)

Update takes the representation of a asset and updates it. Returns the server's representation of the asset, and an error, if there is any.

func (*FakeAssets) UpdateStatus

func (c *FakeAssets) UpdateStatus(ctx context.Context, asset *v1alpha1.Asset, opts v1.UpdateOptions) (*v1alpha1.Asset, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeAssets) Watch

func (c *FakeAssets) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested assets.

type FakeContentKeyPolicies

type FakeContentKeyPolicies struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeContentKeyPolicies implements ContentKeyPolicyInterface

func (*FakeContentKeyPolicies) Create

func (c *FakeContentKeyPolicies) Create(ctx context.Context, contentKeyPolicy *v1alpha1.ContentKeyPolicy, opts v1.CreateOptions) (result *v1alpha1.ContentKeyPolicy, err error)

Create takes the representation of a contentKeyPolicy and creates it. Returns the server's representation of the contentKeyPolicy, and an error, if there is any.

func (*FakeContentKeyPolicies) Delete

func (c *FakeContentKeyPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the contentKeyPolicy and deletes it. Returns an error if one occurs.

func (*FakeContentKeyPolicies) DeleteCollection

func (c *FakeContentKeyPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeContentKeyPolicies) Get

func (c *FakeContentKeyPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ContentKeyPolicy, err error)

Get takes name of the contentKeyPolicy, and returns the corresponding contentKeyPolicy object, and an error if there is any.

func (*FakeContentKeyPolicies) List

List takes label and field selectors, and returns the list of ContentKeyPolicies that match those selectors.

func (*FakeContentKeyPolicies) Patch

func (c *FakeContentKeyPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ContentKeyPolicy, err error)

Patch applies the patch and returns the patched contentKeyPolicy.

func (*FakeContentKeyPolicies) Update

func (c *FakeContentKeyPolicies) Update(ctx context.Context, contentKeyPolicy *v1alpha1.ContentKeyPolicy, opts v1.UpdateOptions) (result *v1alpha1.ContentKeyPolicy, err error)

Update takes the representation of a contentKeyPolicy and updates it. Returns the server's representation of the contentKeyPolicy, and an error, if there is any.

func (*FakeContentKeyPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeContentKeyPolicies) Watch

Watch returns a watch.Interface that watches the requested contentKeyPolicies.

type FakeJobs

type FakeJobs struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeJobs implements JobInterface

func (*FakeJobs) Create

func (c *FakeJobs) Create(ctx context.Context, job *v1alpha1.Job, opts v1.CreateOptions) (result *v1alpha1.Job, err error)

Create takes the representation of a job and creates it. Returns the server's representation of the job, and an error, if there is any.

func (*FakeJobs) Delete

func (c *FakeJobs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the job and deletes it. Returns an error if one occurs.

func (*FakeJobs) DeleteCollection

func (c *FakeJobs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeJobs) Get

func (c *FakeJobs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Job, err error)

Get takes name of the job, and returns the corresponding job object, and an error if there is any.

func (*FakeJobs) List

func (c *FakeJobs) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.JobList, err error)

List takes label and field selectors, and returns the list of Jobs that match those selectors.

func (*FakeJobs) Patch

func (c *FakeJobs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Job, err error)

Patch applies the patch and returns the patched job.

func (*FakeJobs) Update

func (c *FakeJobs) Update(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (result *v1alpha1.Job, err error)

Update takes the representation of a job and updates it. Returns the server's representation of the job, and an error, if there is any.

func (*FakeJobs) UpdateStatus

func (c *FakeJobs) UpdateStatus(ctx context.Context, job *v1alpha1.Job, opts v1.UpdateOptions) (*v1alpha1.Job, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeJobs) Watch

func (c *FakeJobs) Watch(ctx context.Context, opts v1.ListOptions) (watch.Interface, error)

Watch returns a watch.Interface that watches the requested jobs.

type FakeLiveEventOutputs

type FakeLiveEventOutputs struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeLiveEventOutputs implements LiveEventOutputInterface

func (*FakeLiveEventOutputs) Create

func (c *FakeLiveEventOutputs) Create(ctx context.Context, liveEventOutput *v1alpha1.LiveEventOutput, opts v1.CreateOptions) (result *v1alpha1.LiveEventOutput, err error)

Create takes the representation of a liveEventOutput and creates it. Returns the server's representation of the liveEventOutput, and an error, if there is any.

func (*FakeLiveEventOutputs) Delete

func (c *FakeLiveEventOutputs) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the liveEventOutput and deletes it. Returns an error if one occurs.

func (*FakeLiveEventOutputs) DeleteCollection

func (c *FakeLiveEventOutputs) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLiveEventOutputs) Get

func (c *FakeLiveEventOutputs) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LiveEventOutput, err error)

Get takes name of the liveEventOutput, and returns the corresponding liveEventOutput object, and an error if there is any.

func (*FakeLiveEventOutputs) List

List takes label and field selectors, and returns the list of LiveEventOutputs that match those selectors.

func (*FakeLiveEventOutputs) Patch

func (c *FakeLiveEventOutputs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LiveEventOutput, err error)

Patch applies the patch and returns the patched liveEventOutput.

func (*FakeLiveEventOutputs) Update

func (c *FakeLiveEventOutputs) Update(ctx context.Context, liveEventOutput *v1alpha1.LiveEventOutput, opts v1.UpdateOptions) (result *v1alpha1.LiveEventOutput, err error)

Update takes the representation of a liveEventOutput and updates it. Returns the server's representation of the liveEventOutput, and an error, if there is any.

func (*FakeLiveEventOutputs) UpdateStatus

func (c *FakeLiveEventOutputs) UpdateStatus(ctx context.Context, liveEventOutput *v1alpha1.LiveEventOutput, opts v1.UpdateOptions) (*v1alpha1.LiveEventOutput, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLiveEventOutputs) Watch

Watch returns a watch.Interface that watches the requested liveEventOutputs.

type FakeLiveEvents

type FakeLiveEvents struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeLiveEvents implements LiveEventInterface

func (*FakeLiveEvents) Create

func (c *FakeLiveEvents) Create(ctx context.Context, liveEvent *v1alpha1.LiveEvent, opts v1.CreateOptions) (result *v1alpha1.LiveEvent, err error)

Create takes the representation of a liveEvent and creates it. Returns the server's representation of the liveEvent, and an error, if there is any.

func (*FakeLiveEvents) Delete

func (c *FakeLiveEvents) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the liveEvent and deletes it. Returns an error if one occurs.

func (*FakeLiveEvents) DeleteCollection

func (c *FakeLiveEvents) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeLiveEvents) Get

func (c *FakeLiveEvents) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.LiveEvent, err error)

Get takes name of the liveEvent, and returns the corresponding liveEvent object, and an error if there is any.

func (*FakeLiveEvents) List

func (c *FakeLiveEvents) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.LiveEventList, err error)

List takes label and field selectors, and returns the list of LiveEvents that match those selectors.

func (*FakeLiveEvents) Patch

func (c *FakeLiveEvents) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.LiveEvent, err error)

Patch applies the patch and returns the patched liveEvent.

func (*FakeLiveEvents) Update

func (c *FakeLiveEvents) Update(ctx context.Context, liveEvent *v1alpha1.LiveEvent, opts v1.UpdateOptions) (result *v1alpha1.LiveEvent, err error)

Update takes the representation of a liveEvent and updates it. Returns the server's representation of the liveEvent, and an error, if there is any.

func (*FakeLiveEvents) UpdateStatus

func (c *FakeLiveEvents) UpdateStatus(ctx context.Context, liveEvent *v1alpha1.LiveEvent, opts v1.UpdateOptions) (*v1alpha1.LiveEvent, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeLiveEvents) Watch

Watch returns a watch.Interface that watches the requested liveEvents.

type FakeMediaV1alpha1

type FakeMediaV1alpha1 struct {
	*testing.Fake
}

func (*FakeMediaV1alpha1) AssetFilters

func (c *FakeMediaV1alpha1) AssetFilters(namespace string) v1alpha1.AssetFilterInterface

func (*FakeMediaV1alpha1) Assets

func (c *FakeMediaV1alpha1) Assets(namespace string) v1alpha1.AssetInterface

func (*FakeMediaV1alpha1) ContentKeyPolicies

func (c *FakeMediaV1alpha1) ContentKeyPolicies(namespace string) v1alpha1.ContentKeyPolicyInterface

func (*FakeMediaV1alpha1) Jobs

func (c *FakeMediaV1alpha1) Jobs(namespace string) v1alpha1.JobInterface

func (*FakeMediaV1alpha1) LiveEventOutputs

func (c *FakeMediaV1alpha1) LiveEventOutputs(namespace string) v1alpha1.LiveEventOutputInterface

func (*FakeMediaV1alpha1) LiveEvents

func (c *FakeMediaV1alpha1) LiveEvents(namespace string) v1alpha1.LiveEventInterface

func (*FakeMediaV1alpha1) RESTClient

func (c *FakeMediaV1alpha1) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

func (*FakeMediaV1alpha1) ServicesAccounts

func (c *FakeMediaV1alpha1) ServicesAccounts(namespace string) v1alpha1.ServicesAccountInterface

func (*FakeMediaV1alpha1) StreamingEndpoints

func (c *FakeMediaV1alpha1) StreamingEndpoints(namespace string) v1alpha1.StreamingEndpointInterface

func (*FakeMediaV1alpha1) StreamingLocators

func (c *FakeMediaV1alpha1) StreamingLocators(namespace string) v1alpha1.StreamingLocatorInterface

func (*FakeMediaV1alpha1) StreamingPolicies

func (c *FakeMediaV1alpha1) StreamingPolicies(namespace string) v1alpha1.StreamingPolicyInterface

func (*FakeMediaV1alpha1) Transforms

func (c *FakeMediaV1alpha1) Transforms(namespace string) v1alpha1.TransformInterface

type FakeServicesAccounts

type FakeServicesAccounts struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeServicesAccounts implements ServicesAccountInterface

func (*FakeServicesAccounts) Create

func (c *FakeServicesAccounts) Create(ctx context.Context, servicesAccount *v1alpha1.ServicesAccount, opts v1.CreateOptions) (result *v1alpha1.ServicesAccount, err error)

Create takes the representation of a servicesAccount and creates it. Returns the server's representation of the servicesAccount, and an error, if there is any.

func (*FakeServicesAccounts) Delete

func (c *FakeServicesAccounts) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the servicesAccount and deletes it. Returns an error if one occurs.

func (*FakeServicesAccounts) DeleteCollection

func (c *FakeServicesAccounts) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeServicesAccounts) Get

func (c *FakeServicesAccounts) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.ServicesAccount, err error)

Get takes name of the servicesAccount, and returns the corresponding servicesAccount object, and an error if there is any.

func (*FakeServicesAccounts) List

List takes label and field selectors, and returns the list of ServicesAccounts that match those selectors.

func (*FakeServicesAccounts) Patch

func (c *FakeServicesAccounts) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.ServicesAccount, err error)

Patch applies the patch and returns the patched servicesAccount.

func (*FakeServicesAccounts) Update

func (c *FakeServicesAccounts) Update(ctx context.Context, servicesAccount *v1alpha1.ServicesAccount, opts v1.UpdateOptions) (result *v1alpha1.ServicesAccount, err error)

Update takes the representation of a servicesAccount and updates it. Returns the server's representation of the servicesAccount, and an error, if there is any.

func (*FakeServicesAccounts) UpdateStatus

func (c *FakeServicesAccounts) UpdateStatus(ctx context.Context, servicesAccount *v1alpha1.ServicesAccount, opts v1.UpdateOptions) (*v1alpha1.ServicesAccount, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeServicesAccounts) Watch

Watch returns a watch.Interface that watches the requested servicesAccounts.

type FakeStreamingEndpoints

type FakeStreamingEndpoints struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeStreamingEndpoints implements StreamingEndpointInterface

func (*FakeStreamingEndpoints) Create

func (c *FakeStreamingEndpoints) Create(ctx context.Context, streamingEndpoint *v1alpha1.StreamingEndpoint, opts v1.CreateOptions) (result *v1alpha1.StreamingEndpoint, err error)

Create takes the representation of a streamingEndpoint and creates it. Returns the server's representation of the streamingEndpoint, and an error, if there is any.

func (*FakeStreamingEndpoints) Delete

func (c *FakeStreamingEndpoints) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the streamingEndpoint and deletes it. Returns an error if one occurs.

func (*FakeStreamingEndpoints) DeleteCollection

func (c *FakeStreamingEndpoints) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStreamingEndpoints) Get

func (c *FakeStreamingEndpoints) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.StreamingEndpoint, err error)

Get takes name of the streamingEndpoint, and returns the corresponding streamingEndpoint object, and an error if there is any.

func (*FakeStreamingEndpoints) List

List takes label and field selectors, and returns the list of StreamingEndpoints that match those selectors.

func (*FakeStreamingEndpoints) Patch

func (c *FakeStreamingEndpoints) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.StreamingEndpoint, err error)

Patch applies the patch and returns the patched streamingEndpoint.

func (*FakeStreamingEndpoints) Update

func (c *FakeStreamingEndpoints) Update(ctx context.Context, streamingEndpoint *v1alpha1.StreamingEndpoint, opts v1.UpdateOptions) (result *v1alpha1.StreamingEndpoint, err error)

Update takes the representation of a streamingEndpoint and updates it. Returns the server's representation of the streamingEndpoint, and an error, if there is any.

func (*FakeStreamingEndpoints) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeStreamingEndpoints) Watch

Watch returns a watch.Interface that watches the requested streamingEndpoints.

type FakeStreamingLocators

type FakeStreamingLocators struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeStreamingLocators implements StreamingLocatorInterface

func (*FakeStreamingLocators) Create

func (c *FakeStreamingLocators) Create(ctx context.Context, streamingLocator *v1alpha1.StreamingLocator, opts v1.CreateOptions) (result *v1alpha1.StreamingLocator, err error)

Create takes the representation of a streamingLocator and creates it. Returns the server's representation of the streamingLocator, and an error, if there is any.

func (*FakeStreamingLocators) Delete

func (c *FakeStreamingLocators) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the streamingLocator and deletes it. Returns an error if one occurs.

func (*FakeStreamingLocators) DeleteCollection

func (c *FakeStreamingLocators) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStreamingLocators) Get

func (c *FakeStreamingLocators) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.StreamingLocator, err error)

Get takes name of the streamingLocator, and returns the corresponding streamingLocator object, and an error if there is any.

func (*FakeStreamingLocators) List

List takes label and field selectors, and returns the list of StreamingLocators that match those selectors.

func (*FakeStreamingLocators) Patch

func (c *FakeStreamingLocators) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.StreamingLocator, err error)

Patch applies the patch and returns the patched streamingLocator.

func (*FakeStreamingLocators) Update

func (c *FakeStreamingLocators) Update(ctx context.Context, streamingLocator *v1alpha1.StreamingLocator, opts v1.UpdateOptions) (result *v1alpha1.StreamingLocator, err error)

Update takes the representation of a streamingLocator and updates it. Returns the server's representation of the streamingLocator, and an error, if there is any.

func (*FakeStreamingLocators) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeStreamingLocators) Watch

Watch returns a watch.Interface that watches the requested streamingLocators.

type FakeStreamingPolicies

type FakeStreamingPolicies struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeStreamingPolicies implements StreamingPolicyInterface

func (*FakeStreamingPolicies) Create

func (c *FakeStreamingPolicies) Create(ctx context.Context, streamingPolicy *v1alpha1.StreamingPolicy, opts v1.CreateOptions) (result *v1alpha1.StreamingPolicy, err error)

Create takes the representation of a streamingPolicy and creates it. Returns the server's representation of the streamingPolicy, and an error, if there is any.

func (*FakeStreamingPolicies) Delete

func (c *FakeStreamingPolicies) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the streamingPolicy and deletes it. Returns an error if one occurs.

func (*FakeStreamingPolicies) DeleteCollection

func (c *FakeStreamingPolicies) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeStreamingPolicies) Get

func (c *FakeStreamingPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.StreamingPolicy, err error)

Get takes name of the streamingPolicy, and returns the corresponding streamingPolicy object, and an error if there is any.

func (*FakeStreamingPolicies) List

List takes label and field selectors, and returns the list of StreamingPolicies that match those selectors.

func (*FakeStreamingPolicies) Patch

func (c *FakeStreamingPolicies) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.StreamingPolicy, err error)

Patch applies the patch and returns the patched streamingPolicy.

func (*FakeStreamingPolicies) Update

func (c *FakeStreamingPolicies) Update(ctx context.Context, streamingPolicy *v1alpha1.StreamingPolicy, opts v1.UpdateOptions) (result *v1alpha1.StreamingPolicy, err error)

Update takes the representation of a streamingPolicy and updates it. Returns the server's representation of the streamingPolicy, and an error, if there is any.

func (*FakeStreamingPolicies) UpdateStatus

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeStreamingPolicies) Watch

Watch returns a watch.Interface that watches the requested streamingPolicies.

type FakeTransforms

type FakeTransforms struct {
	Fake *FakeMediaV1alpha1
	// contains filtered or unexported fields
}

FakeTransforms implements TransformInterface

func (*FakeTransforms) Create

func (c *FakeTransforms) Create(ctx context.Context, transform *v1alpha1.Transform, opts v1.CreateOptions) (result *v1alpha1.Transform, err error)

Create takes the representation of a transform and creates it. Returns the server's representation of the transform, and an error, if there is any.

func (*FakeTransforms) Delete

func (c *FakeTransforms) Delete(ctx context.Context, name string, opts v1.DeleteOptions) error

Delete takes name of the transform and deletes it. Returns an error if one occurs.

func (*FakeTransforms) DeleteCollection

func (c *FakeTransforms) DeleteCollection(ctx context.Context, opts v1.DeleteOptions, listOpts v1.ListOptions) error

DeleteCollection deletes a collection of objects.

func (*FakeTransforms) Get

func (c *FakeTransforms) Get(ctx context.Context, name string, options v1.GetOptions) (result *v1alpha1.Transform, err error)

Get takes name of the transform, and returns the corresponding transform object, and an error if there is any.

func (*FakeTransforms) List

func (c *FakeTransforms) List(ctx context.Context, opts v1.ListOptions) (result *v1alpha1.TransformList, err error)

List takes label and field selectors, and returns the list of Transforms that match those selectors.

func (*FakeTransforms) Patch

func (c *FakeTransforms) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts v1.PatchOptions, subresources ...string) (result *v1alpha1.Transform, err error)

Patch applies the patch and returns the patched transform.

func (*FakeTransforms) Update

func (c *FakeTransforms) Update(ctx context.Context, transform *v1alpha1.Transform, opts v1.UpdateOptions) (result *v1alpha1.Transform, err error)

Update takes the representation of a transform and updates it. Returns the server's representation of the transform, and an error, if there is any.

func (*FakeTransforms) UpdateStatus

func (c *FakeTransforms) UpdateStatus(ctx context.Context, transform *v1alpha1.Transform, opts v1.UpdateOptions) (*v1alpha1.Transform, error)

UpdateStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating UpdateStatus().

func (*FakeTransforms) Watch

Watch returns a watch.Interface that watches the requested transforms.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL