multicluster-scheduler: admiralty.io/multicluster-scheduler/pkg/generated/clientset/versioned/typed/multicluster/v1alpha1/fake Index | Files

package fake

import "admiralty.io/multicluster-scheduler/pkg/generated/clientset/versioned/typed/multicluster/v1alpha1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_clustersource.go fake_clustersummary.go fake_clustertarget.go fake_multicluster_client.go fake_podchaperon.go fake_source.go fake_target.go

type FakeClusterSources Uses

type FakeClusterSources struct {
    Fake *FakeMulticlusterV1alpha1
}

FakeClusterSources implements ClusterSourceInterface

func (*FakeClusterSources) Create Uses

func (c *FakeClusterSources) Create(ctx context.Context, clusterSource *v1alpha1.ClusterSource, opts v1.CreateOptions) (result *v1alpha1.ClusterSource, err error)

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

func (*FakeClusterSources) Delete Uses

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

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

func (*FakeClusterSources) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterSources) Get Uses

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

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

func (*FakeClusterSources) List Uses

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

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

func (*FakeClusterSources) Patch Uses

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

Patch applies the patch and returns the patched clusterSource.

func (*FakeClusterSources) Update Uses

func (c *FakeClusterSources) Update(ctx context.Context, clusterSource *v1alpha1.ClusterSource, opts v1.UpdateOptions) (result *v1alpha1.ClusterSource, err error)

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

func (*FakeClusterSources) UpdateStatus Uses

func (c *FakeClusterSources) UpdateStatus(ctx context.Context, clusterSource *v1alpha1.ClusterSource, opts v1.UpdateOptions) (*v1alpha1.ClusterSource, error)

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

func (*FakeClusterSources) Watch Uses

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

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

type FakeClusterSummaries Uses

type FakeClusterSummaries struct {
    Fake *FakeMulticlusterV1alpha1
}

FakeClusterSummaries implements ClusterSummaryInterface

func (*FakeClusterSummaries) Create Uses

func (c *FakeClusterSummaries) Create(ctx context.Context, clusterSummary *v1alpha1.ClusterSummary, opts v1.CreateOptions) (result *v1alpha1.ClusterSummary, err error)

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

func (*FakeClusterSummaries) Delete Uses

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

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

func (*FakeClusterSummaries) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterSummaries) Get Uses

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

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

func (*FakeClusterSummaries) List Uses

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

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

func (*FakeClusterSummaries) Patch Uses

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

Patch applies the patch and returns the patched clusterSummary.

func (*FakeClusterSummaries) Update Uses

func (c *FakeClusterSummaries) Update(ctx context.Context, clusterSummary *v1alpha1.ClusterSummary, opts v1.UpdateOptions) (result *v1alpha1.ClusterSummary, err error)

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

func (*FakeClusterSummaries) Watch Uses

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

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

type FakeClusterTargets Uses

type FakeClusterTargets struct {
    Fake *FakeMulticlusterV1alpha1
}

FakeClusterTargets implements ClusterTargetInterface

func (*FakeClusterTargets) Create Uses

func (c *FakeClusterTargets) Create(ctx context.Context, clusterTarget *v1alpha1.ClusterTarget, opts v1.CreateOptions) (result *v1alpha1.ClusterTarget, err error)

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

func (*FakeClusterTargets) Delete Uses

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

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

func (*FakeClusterTargets) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterTargets) Get Uses

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

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

func (*FakeClusterTargets) List Uses

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

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

func (*FakeClusterTargets) Patch Uses

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

Patch applies the patch and returns the patched clusterTarget.

func (*FakeClusterTargets) Update Uses

func (c *FakeClusterTargets) Update(ctx context.Context, clusterTarget *v1alpha1.ClusterTarget, opts v1.UpdateOptions) (result *v1alpha1.ClusterTarget, err error)

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

func (*FakeClusterTargets) UpdateStatus Uses

func (c *FakeClusterTargets) UpdateStatus(ctx context.Context, clusterTarget *v1alpha1.ClusterTarget, opts v1.UpdateOptions) (*v1alpha1.ClusterTarget, error)

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

func (*FakeClusterTargets) Watch Uses

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

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

type FakeMulticlusterV1alpha1 Uses

type FakeMulticlusterV1alpha1 struct {
    *testing.Fake
}

func (*FakeMulticlusterV1alpha1) ClusterSources Uses

func (c *FakeMulticlusterV1alpha1) ClusterSources() v1alpha1.ClusterSourceInterface

func (*FakeMulticlusterV1alpha1) ClusterSummaries Uses

func (c *FakeMulticlusterV1alpha1) ClusterSummaries() v1alpha1.ClusterSummaryInterface

func (*FakeMulticlusterV1alpha1) ClusterTargets Uses

func (c *FakeMulticlusterV1alpha1) ClusterTargets() v1alpha1.ClusterTargetInterface

func (*FakeMulticlusterV1alpha1) PodChaperons Uses

func (c *FakeMulticlusterV1alpha1) PodChaperons(namespace string) v1alpha1.PodChaperonInterface

func (*FakeMulticlusterV1alpha1) RESTClient Uses

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

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

func (*FakeMulticlusterV1alpha1) Sources Uses

func (c *FakeMulticlusterV1alpha1) Sources(namespace string) v1alpha1.SourceInterface

func (*FakeMulticlusterV1alpha1) Targets Uses

func (c *FakeMulticlusterV1alpha1) Targets(namespace string) v1alpha1.TargetInterface

type FakePodChaperons Uses

type FakePodChaperons struct {
    Fake *FakeMulticlusterV1alpha1
    // contains filtered or unexported fields
}

FakePodChaperons implements PodChaperonInterface

func (*FakePodChaperons) Create Uses

func (c *FakePodChaperons) Create(ctx context.Context, podChaperon *v1alpha1.PodChaperon, opts v1.CreateOptions) (result *v1alpha1.PodChaperon, err error)

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

func (*FakePodChaperons) Delete Uses

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

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

func (*FakePodChaperons) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakePodChaperons) Get Uses

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

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

func (*FakePodChaperons) List Uses

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

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

func (*FakePodChaperons) Patch Uses

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

Patch applies the patch and returns the patched podChaperon.

func (*FakePodChaperons) Update Uses

func (c *FakePodChaperons) Update(ctx context.Context, podChaperon *v1alpha1.PodChaperon, opts v1.UpdateOptions) (result *v1alpha1.PodChaperon, err error)

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

func (*FakePodChaperons) UpdateStatus Uses

func (c *FakePodChaperons) UpdateStatus(ctx context.Context, podChaperon *v1alpha1.PodChaperon, opts v1.UpdateOptions) (*v1alpha1.PodChaperon, error)

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

func (*FakePodChaperons) Watch Uses

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

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

type FakeSources Uses

type FakeSources struct {
    Fake *FakeMulticlusterV1alpha1
    // contains filtered or unexported fields
}

FakeSources implements SourceInterface

func (*FakeSources) Create Uses

func (c *FakeSources) Create(ctx context.Context, source *v1alpha1.Source, opts v1.CreateOptions) (result *v1alpha1.Source, err error)

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

func (*FakeSources) Delete Uses

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

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

func (*FakeSources) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeSources) Get Uses

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

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

func (*FakeSources) List Uses

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

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

func (*FakeSources) Patch Uses

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

Patch applies the patch and returns the patched source.

func (*FakeSources) Update Uses

func (c *FakeSources) Update(ctx context.Context, source *v1alpha1.Source, opts v1.UpdateOptions) (result *v1alpha1.Source, err error)

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

func (*FakeSources) UpdateStatus Uses

func (c *FakeSources) UpdateStatus(ctx context.Context, source *v1alpha1.Source, opts v1.UpdateOptions) (*v1alpha1.Source, error)

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

func (*FakeSources) Watch Uses

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

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

type FakeTargets Uses

type FakeTargets struct {
    Fake *FakeMulticlusterV1alpha1
    // contains filtered or unexported fields
}

FakeTargets implements TargetInterface

func (*FakeTargets) Create Uses

func (c *FakeTargets) Create(ctx context.Context, target *v1alpha1.Target, opts v1.CreateOptions) (result *v1alpha1.Target, err error)

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

func (*FakeTargets) Delete Uses

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

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

func (*FakeTargets) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeTargets) Get Uses

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

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

func (*FakeTargets) List Uses

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

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

func (*FakeTargets) Patch Uses

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

Patch applies the patch and returns the patched target.

func (*FakeTargets) Update Uses

func (c *FakeTargets) Update(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (result *v1alpha1.Target, err error)

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

func (*FakeTargets) UpdateStatus Uses

func (c *FakeTargets) UpdateStatus(ctx context.Context, target *v1alpha1.Target, opts v1.UpdateOptions) (*v1alpha1.Target, error)

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

func (*FakeTargets) Watch Uses

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

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

Package fake imports 10 packages (graph) and is imported by 1 packages. Updated 2020-07-20. Refresh now. Tools for package owners.