fake

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2024 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 FakeClusterCollectedStatuses

type FakeClusterCollectedStatuses struct {
	Fake *FakeCoreV1alpha1
}

FakeClusterCollectedStatuses implements ClusterCollectedStatusInterface

func (*FakeClusterCollectedStatuses) Create

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

func (*FakeClusterCollectedStatuses) Delete

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

func (*FakeClusterCollectedStatuses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterCollectedStatuses) Get

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

func (*FakeClusterCollectedStatuses) List

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

func (*FakeClusterCollectedStatuses) Patch

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

Patch applies the patch and returns the patched clusterCollectedStatus.

func (*FakeClusterCollectedStatuses) Update

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

func (*FakeClusterCollectedStatuses) Watch

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

type FakeClusterFederatedObjects

type FakeClusterFederatedObjects struct {
	Fake *FakeCoreV1alpha1
}

FakeClusterFederatedObjects implements ClusterFederatedObjectInterface

func (*FakeClusterFederatedObjects) Create

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

func (*FakeClusterFederatedObjects) Delete

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

func (*FakeClusterFederatedObjects) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterFederatedObjects) Get

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

func (*FakeClusterFederatedObjects) List

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

func (*FakeClusterFederatedObjects) Patch

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

Patch applies the patch and returns the patched clusterFederatedObject.

func (*FakeClusterFederatedObjects) Update

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

func (*FakeClusterFederatedObjects) UpdateStatus

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

func (*FakeClusterFederatedObjects) Watch

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

type FakeClusterOverridePolicies

type FakeClusterOverridePolicies struct {
	Fake *FakeCoreV1alpha1
}

FakeClusterOverridePolicies implements ClusterOverridePolicyInterface

func (*FakeClusterOverridePolicies) Create

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

func (*FakeClusterOverridePolicies) Delete

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

func (*FakeClusterOverridePolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterOverridePolicies) Get

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

func (*FakeClusterOverridePolicies) List

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

func (*FakeClusterOverridePolicies) Patch

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

Patch applies the patch and returns the patched clusterOverridePolicy.

func (*FakeClusterOverridePolicies) Update

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

func (*FakeClusterOverridePolicies) UpdateStatus

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

func (*FakeClusterOverridePolicies) Watch

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

type FakeClusterPropagatedVersions

type FakeClusterPropagatedVersions struct {
	Fake *FakeCoreV1alpha1
}

FakeClusterPropagatedVersions implements ClusterPropagatedVersionInterface

func (*FakeClusterPropagatedVersions) Create

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

func (*FakeClusterPropagatedVersions) Delete

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

func (*FakeClusterPropagatedVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterPropagatedVersions) Get

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

func (*FakeClusterPropagatedVersions) List

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

func (*FakeClusterPropagatedVersions) Patch

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

Patch applies the patch and returns the patched clusterPropagatedVersion.

func (*FakeClusterPropagatedVersions) Update

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

func (*FakeClusterPropagatedVersions) UpdateStatus

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

func (*FakeClusterPropagatedVersions) Watch

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

type FakeClusterPropagationPolicies

type FakeClusterPropagationPolicies struct {
	Fake *FakeCoreV1alpha1
}

FakeClusterPropagationPolicies implements ClusterPropagationPolicyInterface

func (*FakeClusterPropagationPolicies) Create

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

func (*FakeClusterPropagationPolicies) Delete

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

func (*FakeClusterPropagationPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterPropagationPolicies) Get

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

func (*FakeClusterPropagationPolicies) List

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

func (*FakeClusterPropagationPolicies) Patch

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

Patch applies the patch and returns the patched clusterPropagationPolicy.

func (*FakeClusterPropagationPolicies) Update

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

func (*FakeClusterPropagationPolicies) UpdateStatus

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

func (*FakeClusterPropagationPolicies) Watch

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

type FakeCollectedStatuses

type FakeCollectedStatuses struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeCollectedStatuses implements CollectedStatusInterface

func (*FakeCollectedStatuses) Create

func (c *FakeCollectedStatuses) Create(ctx context.Context, collectedStatus *v1alpha1.CollectedStatus, opts v1.CreateOptions) (result *v1alpha1.CollectedStatus, err error)

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

func (*FakeCollectedStatuses) Delete

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

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

func (*FakeCollectedStatuses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeCollectedStatuses) Get

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

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

func (*FakeCollectedStatuses) List

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

func (*FakeCollectedStatuses) Patch

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

Patch applies the patch and returns the patched collectedStatus.

func (*FakeCollectedStatuses) Update

func (c *FakeCollectedStatuses) Update(ctx context.Context, collectedStatus *v1alpha1.CollectedStatus, opts v1.UpdateOptions) (result *v1alpha1.CollectedStatus, err error)

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

func (*FakeCollectedStatuses) Watch

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

type FakeCoreV1alpha1

type FakeCoreV1alpha1 struct {
	*testing.Fake
}

func (*FakeCoreV1alpha1) ClusterCollectedStatuses

func (c *FakeCoreV1alpha1) ClusterCollectedStatuses() v1alpha1.ClusterCollectedStatusInterface

func (*FakeCoreV1alpha1) ClusterFederatedObjects

func (c *FakeCoreV1alpha1) ClusterFederatedObjects() v1alpha1.ClusterFederatedObjectInterface

func (*FakeCoreV1alpha1) ClusterOverridePolicies

func (c *FakeCoreV1alpha1) ClusterOverridePolicies() v1alpha1.ClusterOverridePolicyInterface

func (*FakeCoreV1alpha1) ClusterPropagatedVersions

func (c *FakeCoreV1alpha1) ClusterPropagatedVersions() v1alpha1.ClusterPropagatedVersionInterface

func (*FakeCoreV1alpha1) ClusterPropagationPolicies

func (c *FakeCoreV1alpha1) ClusterPropagationPolicies() v1alpha1.ClusterPropagationPolicyInterface

func (*FakeCoreV1alpha1) CollectedStatuses

func (c *FakeCoreV1alpha1) CollectedStatuses(namespace string) v1alpha1.CollectedStatusInterface

func (*FakeCoreV1alpha1) FederatedClusters

func (c *FakeCoreV1alpha1) FederatedClusters() v1alpha1.FederatedClusterInterface

func (*FakeCoreV1alpha1) FederatedObjects

func (c *FakeCoreV1alpha1) FederatedObjects(namespace string) v1alpha1.FederatedObjectInterface

func (*FakeCoreV1alpha1) FederatedTypeConfigs

func (c *FakeCoreV1alpha1) FederatedTypeConfigs() v1alpha1.FederatedTypeConfigInterface

func (*FakeCoreV1alpha1) OverridePolicies

func (c *FakeCoreV1alpha1) OverridePolicies(namespace string) v1alpha1.OverridePolicyInterface

func (*FakeCoreV1alpha1) PropagatedVersions

func (c *FakeCoreV1alpha1) PropagatedVersions(namespace string) v1alpha1.PropagatedVersionInterface

func (*FakeCoreV1alpha1) PropagationPolicies

func (c *FakeCoreV1alpha1) PropagationPolicies(namespace string) v1alpha1.PropagationPolicyInterface

func (*FakeCoreV1alpha1) RESTClient

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

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

func (*FakeCoreV1alpha1) SchedulerPluginWebhookConfigurations

func (c *FakeCoreV1alpha1) SchedulerPluginWebhookConfigurations() v1alpha1.SchedulerPluginWebhookConfigurationInterface

func (*FakeCoreV1alpha1) SchedulingProfiles

func (c *FakeCoreV1alpha1) SchedulingProfiles() v1alpha1.SchedulingProfileInterface

type FakeFederatedClusters

type FakeFederatedClusters struct {
	Fake *FakeCoreV1alpha1
}

FakeFederatedClusters implements FederatedClusterInterface

func (*FakeFederatedClusters) Create

func (c *FakeFederatedClusters) Create(ctx context.Context, federatedCluster *v1alpha1.FederatedCluster, opts v1.CreateOptions) (result *v1alpha1.FederatedCluster, err error)

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

func (*FakeFederatedClusters) Delete

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

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

func (*FakeFederatedClusters) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFederatedClusters) Get

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

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

func (*FakeFederatedClusters) List

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

func (*FakeFederatedClusters) Patch

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

Patch applies the patch and returns the patched federatedCluster.

func (*FakeFederatedClusters) Update

func (c *FakeFederatedClusters) Update(ctx context.Context, federatedCluster *v1alpha1.FederatedCluster, opts v1.UpdateOptions) (result *v1alpha1.FederatedCluster, err error)

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

func (*FakeFederatedClusters) UpdateStatus

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

func (*FakeFederatedClusters) Watch

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

type FakeFederatedObjects

type FakeFederatedObjects struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeFederatedObjects implements FederatedObjectInterface

func (*FakeFederatedObjects) Create

func (c *FakeFederatedObjects) Create(ctx context.Context, federatedObject *v1alpha1.FederatedObject, opts v1.CreateOptions) (result *v1alpha1.FederatedObject, err error)

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

func (*FakeFederatedObjects) Delete

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

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

func (*FakeFederatedObjects) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFederatedObjects) Get

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

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

func (*FakeFederatedObjects) List

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

func (*FakeFederatedObjects) Patch

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

Patch applies the patch and returns the patched federatedObject.

func (*FakeFederatedObjects) Update

func (c *FakeFederatedObjects) Update(ctx context.Context, federatedObject *v1alpha1.FederatedObject, opts v1.UpdateOptions) (result *v1alpha1.FederatedObject, err error)

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

func (*FakeFederatedObjects) UpdateStatus

func (c *FakeFederatedObjects) UpdateStatus(ctx context.Context, federatedObject *v1alpha1.FederatedObject, opts v1.UpdateOptions) (*v1alpha1.FederatedObject, error)

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

func (*FakeFederatedObjects) Watch

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

type FakeFederatedTypeConfigs

type FakeFederatedTypeConfigs struct {
	Fake *FakeCoreV1alpha1
}

FakeFederatedTypeConfigs implements FederatedTypeConfigInterface

func (*FakeFederatedTypeConfigs) Create

func (c *FakeFederatedTypeConfigs) Create(ctx context.Context, federatedTypeConfig *v1alpha1.FederatedTypeConfig, opts v1.CreateOptions) (result *v1alpha1.FederatedTypeConfig, err error)

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

func (*FakeFederatedTypeConfigs) Delete

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

func (*FakeFederatedTypeConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFederatedTypeConfigs) Get

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

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

func (*FakeFederatedTypeConfigs) List

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

func (*FakeFederatedTypeConfigs) Patch

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

Patch applies the patch and returns the patched federatedTypeConfig.

func (*FakeFederatedTypeConfigs) Update

func (c *FakeFederatedTypeConfigs) Update(ctx context.Context, federatedTypeConfig *v1alpha1.FederatedTypeConfig, opts v1.UpdateOptions) (result *v1alpha1.FederatedTypeConfig, err error)

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

func (*FakeFederatedTypeConfigs) Watch

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

type FakeOverridePolicies

type FakeOverridePolicies struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakeOverridePolicies implements OverridePolicyInterface

func (*FakeOverridePolicies) Create

func (c *FakeOverridePolicies) Create(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, opts v1.CreateOptions) (result *v1alpha1.OverridePolicy, err error)

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

func (*FakeOverridePolicies) Delete

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

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

func (*FakeOverridePolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOverridePolicies) Get

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

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

func (*FakeOverridePolicies) List

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

func (*FakeOverridePolicies) Patch

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

Patch applies the patch and returns the patched overridePolicy.

func (*FakeOverridePolicies) Update

func (c *FakeOverridePolicies) Update(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, opts v1.UpdateOptions) (result *v1alpha1.OverridePolicy, err error)

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

func (*FakeOverridePolicies) UpdateStatus

func (c *FakeOverridePolicies) UpdateStatus(ctx context.Context, overridePolicy *v1alpha1.OverridePolicy, opts v1.UpdateOptions) (*v1alpha1.OverridePolicy, error)

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

func (*FakeOverridePolicies) Watch

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

type FakePropagatedVersions

type FakePropagatedVersions struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakePropagatedVersions implements PropagatedVersionInterface

func (*FakePropagatedVersions) Create

func (c *FakePropagatedVersions) Create(ctx context.Context, propagatedVersion *v1alpha1.PropagatedVersion, opts v1.CreateOptions) (result *v1alpha1.PropagatedVersion, err error)

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

func (*FakePropagatedVersions) Delete

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

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

func (*FakePropagatedVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePropagatedVersions) Get

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

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

func (*FakePropagatedVersions) List

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

func (*FakePropagatedVersions) Patch

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

Patch applies the patch and returns the patched propagatedVersion.

func (*FakePropagatedVersions) Update

func (c *FakePropagatedVersions) Update(ctx context.Context, propagatedVersion *v1alpha1.PropagatedVersion, opts v1.UpdateOptions) (result *v1alpha1.PropagatedVersion, err error)

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

func (*FakePropagatedVersions) UpdateStatus

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

func (*FakePropagatedVersions) Watch

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

type FakePropagationPolicies

type FakePropagationPolicies struct {
	Fake *FakeCoreV1alpha1
	// contains filtered or unexported fields
}

FakePropagationPolicies implements PropagationPolicyInterface

func (*FakePropagationPolicies) Create

func (c *FakePropagationPolicies) Create(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, opts v1.CreateOptions) (result *v1alpha1.PropagationPolicy, err error)

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

func (*FakePropagationPolicies) Delete

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

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

func (*FakePropagationPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakePropagationPolicies) Get

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

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

func (*FakePropagationPolicies) List

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

func (*FakePropagationPolicies) Patch

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

Patch applies the patch and returns the patched propagationPolicy.

func (*FakePropagationPolicies) Update

func (c *FakePropagationPolicies) Update(ctx context.Context, propagationPolicy *v1alpha1.PropagationPolicy, opts v1.UpdateOptions) (result *v1alpha1.PropagationPolicy, err error)

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

func (*FakePropagationPolicies) UpdateStatus

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

func (*FakePropagationPolicies) Watch

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

type FakeSchedulerPluginWebhookConfigurations

type FakeSchedulerPluginWebhookConfigurations struct {
	Fake *FakeCoreV1alpha1
}

FakeSchedulerPluginWebhookConfigurations implements SchedulerPluginWebhookConfigurationInterface

func (*FakeSchedulerPluginWebhookConfigurations) Create

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

func (*FakeSchedulerPluginWebhookConfigurations) Delete

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

func (*FakeSchedulerPluginWebhookConfigurations) DeleteCollection

DeleteCollection deletes a collection of objects.

func (*FakeSchedulerPluginWebhookConfigurations) Get

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

func (*FakeSchedulerPluginWebhookConfigurations) List

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

func (*FakeSchedulerPluginWebhookConfigurations) Patch

Patch applies the patch and returns the patched schedulerPluginWebhookConfiguration.

func (*FakeSchedulerPluginWebhookConfigurations) Update

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

func (*FakeSchedulerPluginWebhookConfigurations) Watch

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

type FakeSchedulingProfiles

type FakeSchedulingProfiles struct {
	Fake *FakeCoreV1alpha1
}

FakeSchedulingProfiles implements SchedulingProfileInterface

func (*FakeSchedulingProfiles) Create

func (c *FakeSchedulingProfiles) Create(ctx context.Context, schedulingProfile *v1alpha1.SchedulingProfile, opts v1.CreateOptions) (result *v1alpha1.SchedulingProfile, err error)

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

func (*FakeSchedulingProfiles) Delete

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

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

func (*FakeSchedulingProfiles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSchedulingProfiles) Get

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

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

func (*FakeSchedulingProfiles) List

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

func (*FakeSchedulingProfiles) Patch

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

Patch applies the patch and returns the patched schedulingProfile.

func (*FakeSchedulingProfiles) Update

func (c *FakeSchedulingProfiles) Update(ctx context.Context, schedulingProfile *v1alpha1.SchedulingProfile, opts v1.UpdateOptions) (result *v1alpha1.SchedulingProfile, err error)

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

func (*FakeSchedulingProfiles) Watch

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

Jump to

Keyboard shortcuts

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