fake

package
v0.0.0-...-d24fd3e Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 13 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 FakeAPIServers

type FakeAPIServers struct {
	Fake *FakeConfigV1
}

FakeAPIServers implements APIServerInterface

func (*FakeAPIServers) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied aPIServer.

func (*FakeAPIServers) ApplyStatus

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

func (*FakeAPIServers) Create

func (c *FakeAPIServers) Create(ctx context.Context, aPIServer *configv1.APIServer, opts v1.CreateOptions) (result *configv1.APIServer, err error)

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

func (*FakeAPIServers) Delete

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

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

func (*FakeAPIServers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAPIServers) Get

func (c *FakeAPIServers) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.APIServer, err error)

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

func (*FakeAPIServers) List

func (c *FakeAPIServers) List(ctx context.Context, opts v1.ListOptions) (result *configv1.APIServerList, err error)

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

func (*FakeAPIServers) Patch

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

Patch applies the patch and returns the patched aPIServer.

func (*FakeAPIServers) Update

func (c *FakeAPIServers) Update(ctx context.Context, aPIServer *configv1.APIServer, opts v1.UpdateOptions) (result *configv1.APIServer, err error)

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

func (*FakeAPIServers) UpdateStatus

func (c *FakeAPIServers) UpdateStatus(ctx context.Context, aPIServer *configv1.APIServer, opts v1.UpdateOptions) (*configv1.APIServer, error)

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

func (*FakeAPIServers) Watch

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

type FakeAuthentications

type FakeAuthentications struct {
	Fake *FakeConfigV1
}

FakeAuthentications implements AuthenticationInterface

func (*FakeAuthentications) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied authentication.

func (*FakeAuthentications) ApplyStatus

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

func (*FakeAuthentications) Create

func (c *FakeAuthentications) Create(ctx context.Context, authentication *configv1.Authentication, opts v1.CreateOptions) (result *configv1.Authentication, err error)

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

func (*FakeAuthentications) Delete

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

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

func (*FakeAuthentications) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeAuthentications) Get

func (c *FakeAuthentications) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Authentication, err error)

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

func (*FakeAuthentications) List

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

func (*FakeAuthentications) Patch

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

Patch applies the patch and returns the patched authentication.

func (*FakeAuthentications) Update

func (c *FakeAuthentications) Update(ctx context.Context, authentication *configv1.Authentication, opts v1.UpdateOptions) (result *configv1.Authentication, err error)

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

func (*FakeAuthentications) UpdateStatus

func (c *FakeAuthentications) UpdateStatus(ctx context.Context, authentication *configv1.Authentication, opts v1.UpdateOptions) (*configv1.Authentication, error)

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

func (*FakeAuthentications) Watch

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

type FakeBuilds

type FakeBuilds struct {
	Fake *FakeConfigV1
}

FakeBuilds implements BuildInterface

func (*FakeBuilds) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied build.

func (*FakeBuilds) Create

func (c *FakeBuilds) Create(ctx context.Context, build *configv1.Build, opts v1.CreateOptions) (result *configv1.Build, err error)

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

func (*FakeBuilds) Delete

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

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

func (*FakeBuilds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeBuilds) Get

func (c *FakeBuilds) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Build, err error)

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

func (*FakeBuilds) List

func (c *FakeBuilds) List(ctx context.Context, opts v1.ListOptions) (result *configv1.BuildList, err error)

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

func (*FakeBuilds) Patch

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

Patch applies the patch and returns the patched build.

func (*FakeBuilds) Update

func (c *FakeBuilds) Update(ctx context.Context, build *configv1.Build, opts v1.UpdateOptions) (result *configv1.Build, err error)

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

func (*FakeBuilds) Watch

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

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

type FakeClusterOperators

type FakeClusterOperators struct {
	Fake *FakeConfigV1
}

FakeClusterOperators implements ClusterOperatorInterface

func (*FakeClusterOperators) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied clusterOperator.

func (*FakeClusterOperators) ApplyStatus

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

func (*FakeClusterOperators) Create

func (c *FakeClusterOperators) Create(ctx context.Context, clusterOperator *configv1.ClusterOperator, opts v1.CreateOptions) (result *configv1.ClusterOperator, err error)

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

func (*FakeClusterOperators) Delete

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

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

func (*FakeClusterOperators) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterOperators) Get

func (c *FakeClusterOperators) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.ClusterOperator, err error)

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

func (*FakeClusterOperators) List

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

func (*FakeClusterOperators) Patch

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

Patch applies the patch and returns the patched clusterOperator.

func (*FakeClusterOperators) Update

func (c *FakeClusterOperators) Update(ctx context.Context, clusterOperator *configv1.ClusterOperator, opts v1.UpdateOptions) (result *configv1.ClusterOperator, err error)

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

func (*FakeClusterOperators) UpdateStatus

func (c *FakeClusterOperators) UpdateStatus(ctx context.Context, clusterOperator *configv1.ClusterOperator, opts v1.UpdateOptions) (*configv1.ClusterOperator, error)

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

func (*FakeClusterOperators) Watch

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

type FakeClusterVersions

type FakeClusterVersions struct {
	Fake *FakeConfigV1
}

FakeClusterVersions implements ClusterVersionInterface

func (*FakeClusterVersions) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied clusterVersion.

func (*FakeClusterVersions) ApplyStatus

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

func (*FakeClusterVersions) Create

func (c *FakeClusterVersions) Create(ctx context.Context, clusterVersion *configv1.ClusterVersion, opts v1.CreateOptions) (result *configv1.ClusterVersion, err error)

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

func (*FakeClusterVersions) Delete

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

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

func (*FakeClusterVersions) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeClusterVersions) Get

func (c *FakeClusterVersions) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.ClusterVersion, err error)

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

func (*FakeClusterVersions) List

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

func (*FakeClusterVersions) Patch

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

Patch applies the patch and returns the patched clusterVersion.

func (*FakeClusterVersions) Update

func (c *FakeClusterVersions) Update(ctx context.Context, clusterVersion *configv1.ClusterVersion, opts v1.UpdateOptions) (result *configv1.ClusterVersion, err error)

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

func (*FakeClusterVersions) UpdateStatus

func (c *FakeClusterVersions) UpdateStatus(ctx context.Context, clusterVersion *configv1.ClusterVersion, opts v1.UpdateOptions) (*configv1.ClusterVersion, error)

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

func (*FakeClusterVersions) Watch

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

type FakeConfigV1

type FakeConfigV1 struct {
	*testing.Fake
}

func (*FakeConfigV1) APIServers

func (c *FakeConfigV1) APIServers() v1.APIServerInterface

func (*FakeConfigV1) Authentications

func (c *FakeConfigV1) Authentications() v1.AuthenticationInterface

func (*FakeConfigV1) Builds

func (c *FakeConfigV1) Builds() v1.BuildInterface

func (*FakeConfigV1) ClusterOperators

func (c *FakeConfigV1) ClusterOperators() v1.ClusterOperatorInterface

func (*FakeConfigV1) ClusterVersions

func (c *FakeConfigV1) ClusterVersions() v1.ClusterVersionInterface

func (*FakeConfigV1) Consoles

func (c *FakeConfigV1) Consoles() v1.ConsoleInterface

func (*FakeConfigV1) DNSes

func (c *FakeConfigV1) DNSes() v1.DNSInterface

func (*FakeConfigV1) FeatureGates

func (c *FakeConfigV1) FeatureGates() v1.FeatureGateInterface

func (*FakeConfigV1) ImageContentPolicies

func (c *FakeConfigV1) ImageContentPolicies() v1.ImageContentPolicyInterface

func (*FakeConfigV1) ImageDigestMirrorSets

func (c *FakeConfigV1) ImageDigestMirrorSets() v1.ImageDigestMirrorSetInterface

func (*FakeConfigV1) ImageTagMirrorSets

func (c *FakeConfigV1) ImageTagMirrorSets() v1.ImageTagMirrorSetInterface

func (*FakeConfigV1) Images

func (c *FakeConfigV1) Images() v1.ImageInterface

func (*FakeConfigV1) Infrastructures

func (c *FakeConfigV1) Infrastructures() v1.InfrastructureInterface

func (*FakeConfigV1) Ingresses

func (c *FakeConfigV1) Ingresses() v1.IngressInterface

func (*FakeConfigV1) Networks

func (c *FakeConfigV1) Networks() v1.NetworkInterface

func (*FakeConfigV1) Nodes

func (c *FakeConfigV1) Nodes() v1.NodeInterface

func (*FakeConfigV1) OAuths

func (c *FakeConfigV1) OAuths() v1.OAuthInterface

func (*FakeConfigV1) OperatorHubs

func (c *FakeConfigV1) OperatorHubs() v1.OperatorHubInterface

func (*FakeConfigV1) Projects

func (c *FakeConfigV1) Projects() v1.ProjectInterface

func (*FakeConfigV1) Proxies

func (c *FakeConfigV1) Proxies() v1.ProxyInterface

func (*FakeConfigV1) RESTClient

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

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

func (*FakeConfigV1) Schedulers

func (c *FakeConfigV1) Schedulers() v1.SchedulerInterface

type FakeConsoles

type FakeConsoles struct {
	Fake *FakeConfigV1
}

FakeConsoles implements ConsoleInterface

func (*FakeConsoles) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied console.

func (*FakeConsoles) ApplyStatus

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

func (*FakeConsoles) Create

func (c *FakeConsoles) Create(ctx context.Context, console *configv1.Console, opts v1.CreateOptions) (result *configv1.Console, err error)

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

func (*FakeConsoles) Delete

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

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

func (*FakeConsoles) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeConsoles) Get

func (c *FakeConsoles) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Console, err error)

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

func (*FakeConsoles) List

func (c *FakeConsoles) List(ctx context.Context, opts v1.ListOptions) (result *configv1.ConsoleList, err error)

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

func (*FakeConsoles) Patch

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

Patch applies the patch and returns the patched console.

func (*FakeConsoles) Update

func (c *FakeConsoles) Update(ctx context.Context, console *configv1.Console, opts v1.UpdateOptions) (result *configv1.Console, err error)

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

func (*FakeConsoles) UpdateStatus

func (c *FakeConsoles) UpdateStatus(ctx context.Context, console *configv1.Console, opts v1.UpdateOptions) (*configv1.Console, error)

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

func (*FakeConsoles) Watch

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

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

type FakeDNSes

type FakeDNSes struct {
	Fake *FakeConfigV1
}

FakeDNSes implements DNSInterface

func (*FakeDNSes) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied dNS.

func (*FakeDNSes) ApplyStatus

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

func (*FakeDNSes) Create

func (c *FakeDNSes) Create(ctx context.Context, dNS *configv1.DNS, opts v1.CreateOptions) (result *configv1.DNS, err error)

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

func (*FakeDNSes) Delete

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

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

func (*FakeDNSes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDNSes) Get

func (c *FakeDNSes) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.DNS, err error)

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

func (*FakeDNSes) List

func (c *FakeDNSes) List(ctx context.Context, opts v1.ListOptions) (result *configv1.DNSList, err error)

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

func (*FakeDNSes) Patch

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

Patch applies the patch and returns the patched dNS.

func (*FakeDNSes) Update

func (c *FakeDNSes) Update(ctx context.Context, dNS *configv1.DNS, opts v1.UpdateOptions) (result *configv1.DNS, err error)

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

func (*FakeDNSes) UpdateStatus

func (c *FakeDNSes) UpdateStatus(ctx context.Context, dNS *configv1.DNS, opts v1.UpdateOptions) (*configv1.DNS, error)

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

func (*FakeDNSes) Watch

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

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

type FakeFeatureGates

type FakeFeatureGates struct {
	Fake *FakeConfigV1
}

FakeFeatureGates implements FeatureGateInterface

func (*FakeFeatureGates) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied featureGate.

func (*FakeFeatureGates) ApplyStatus

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

func (*FakeFeatureGates) Create

func (c *FakeFeatureGates) Create(ctx context.Context, featureGate *configv1.FeatureGate, opts v1.CreateOptions) (result *configv1.FeatureGate, err error)

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

func (*FakeFeatureGates) Delete

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

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

func (*FakeFeatureGates) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeFeatureGates) Get

func (c *FakeFeatureGates) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.FeatureGate, err error)

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

func (*FakeFeatureGates) List

func (c *FakeFeatureGates) List(ctx context.Context, opts v1.ListOptions) (result *configv1.FeatureGateList, err error)

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

func (*FakeFeatureGates) Patch

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

Patch applies the patch and returns the patched featureGate.

func (*FakeFeatureGates) Update

func (c *FakeFeatureGates) Update(ctx context.Context, featureGate *configv1.FeatureGate, opts v1.UpdateOptions) (result *configv1.FeatureGate, err error)

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

func (*FakeFeatureGates) UpdateStatus

func (c *FakeFeatureGates) UpdateStatus(ctx context.Context, featureGate *configv1.FeatureGate, opts v1.UpdateOptions) (*configv1.FeatureGate, error)

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

func (*FakeFeatureGates) Watch

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

type FakeImageContentPolicies

type FakeImageContentPolicies struct {
	Fake *FakeConfigV1
}

FakeImageContentPolicies implements ImageContentPolicyInterface

func (*FakeImageContentPolicies) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied imageContentPolicy.

func (*FakeImageContentPolicies) Create

func (c *FakeImageContentPolicies) Create(ctx context.Context, imageContentPolicy *configv1.ImageContentPolicy, opts v1.CreateOptions) (result *configv1.ImageContentPolicy, err error)

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

func (*FakeImageContentPolicies) Delete

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

func (*FakeImageContentPolicies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeImageContentPolicies) Get

func (c *FakeImageContentPolicies) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.ImageContentPolicy, err error)

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

func (*FakeImageContentPolicies) List

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

func (*FakeImageContentPolicies) Patch

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

Patch applies the patch and returns the patched imageContentPolicy.

func (*FakeImageContentPolicies) Update

func (c *FakeImageContentPolicies) Update(ctx context.Context, imageContentPolicy *configv1.ImageContentPolicy, opts v1.UpdateOptions) (result *configv1.ImageContentPolicy, err error)

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

func (*FakeImageContentPolicies) Watch

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

type FakeImageDigestMirrorSets

type FakeImageDigestMirrorSets struct {
	Fake *FakeConfigV1
}

FakeImageDigestMirrorSets implements ImageDigestMirrorSetInterface

func (*FakeImageDigestMirrorSets) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied imageDigestMirrorSet.

func (*FakeImageDigestMirrorSets) ApplyStatus

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

func (*FakeImageDigestMirrorSets) Create

func (c *FakeImageDigestMirrorSets) Create(ctx context.Context, imageDigestMirrorSet *configv1.ImageDigestMirrorSet, opts v1.CreateOptions) (result *configv1.ImageDigestMirrorSet, err error)

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

func (*FakeImageDigestMirrorSets) Delete

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

func (*FakeImageDigestMirrorSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeImageDigestMirrorSets) Get

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

func (*FakeImageDigestMirrorSets) List

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

func (*FakeImageDigestMirrorSets) Patch

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

Patch applies the patch and returns the patched imageDigestMirrorSet.

func (*FakeImageDigestMirrorSets) Update

func (c *FakeImageDigestMirrorSets) Update(ctx context.Context, imageDigestMirrorSet *configv1.ImageDigestMirrorSet, opts v1.UpdateOptions) (result *configv1.ImageDigestMirrorSet, err error)

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

func (*FakeImageDigestMirrorSets) UpdateStatus

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

func (*FakeImageDigestMirrorSets) Watch

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

type FakeImageTagMirrorSets

type FakeImageTagMirrorSets struct {
	Fake *FakeConfigV1
}

FakeImageTagMirrorSets implements ImageTagMirrorSetInterface

func (*FakeImageTagMirrorSets) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied imageTagMirrorSet.

func (*FakeImageTagMirrorSets) ApplyStatus

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

func (*FakeImageTagMirrorSets) Create

func (c *FakeImageTagMirrorSets) Create(ctx context.Context, imageTagMirrorSet *configv1.ImageTagMirrorSet, opts v1.CreateOptions) (result *configv1.ImageTagMirrorSet, err error)

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

func (*FakeImageTagMirrorSets) Delete

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

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

func (*FakeImageTagMirrorSets) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeImageTagMirrorSets) Get

func (c *FakeImageTagMirrorSets) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.ImageTagMirrorSet, err error)

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

func (*FakeImageTagMirrorSets) List

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

func (*FakeImageTagMirrorSets) Patch

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

Patch applies the patch and returns the patched imageTagMirrorSet.

func (*FakeImageTagMirrorSets) Update

func (c *FakeImageTagMirrorSets) Update(ctx context.Context, imageTagMirrorSet *configv1.ImageTagMirrorSet, opts v1.UpdateOptions) (result *configv1.ImageTagMirrorSet, err error)

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

func (*FakeImageTagMirrorSets) UpdateStatus

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

func (*FakeImageTagMirrorSets) Watch

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

type FakeImages

type FakeImages struct {
	Fake *FakeConfigV1
}

FakeImages implements ImageInterface

func (*FakeImages) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied image.

func (*FakeImages) ApplyStatus

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

func (*FakeImages) Create

func (c *FakeImages) Create(ctx context.Context, image *configv1.Image, opts v1.CreateOptions) (result *configv1.Image, err error)

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

func (*FakeImages) Delete

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

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

func (*FakeImages) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeImages) Get

func (c *FakeImages) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Image, err error)

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

func (*FakeImages) List

func (c *FakeImages) List(ctx context.Context, opts v1.ListOptions) (result *configv1.ImageList, err error)

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

func (*FakeImages) Patch

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

Patch applies the patch and returns the patched image.

func (*FakeImages) Update

func (c *FakeImages) Update(ctx context.Context, image *configv1.Image, opts v1.UpdateOptions) (result *configv1.Image, err error)

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

func (*FakeImages) UpdateStatus

func (c *FakeImages) UpdateStatus(ctx context.Context, image *configv1.Image, opts v1.UpdateOptions) (*configv1.Image, error)

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

func (*FakeImages) Watch

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

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

type FakeInfrastructures

type FakeInfrastructures struct {
	Fake *FakeConfigV1
}

FakeInfrastructures implements InfrastructureInterface

func (*FakeInfrastructures) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied infrastructure.

func (*FakeInfrastructures) ApplyStatus

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

func (*FakeInfrastructures) Create

func (c *FakeInfrastructures) Create(ctx context.Context, infrastructure *configv1.Infrastructure, opts v1.CreateOptions) (result *configv1.Infrastructure, err error)

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

func (*FakeInfrastructures) Delete

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

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

func (*FakeInfrastructures) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeInfrastructures) Get

func (c *FakeInfrastructures) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Infrastructure, err error)

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

func (*FakeInfrastructures) List

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

func (*FakeInfrastructures) Patch

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

Patch applies the patch and returns the patched infrastructure.

func (*FakeInfrastructures) Update

func (c *FakeInfrastructures) Update(ctx context.Context, infrastructure *configv1.Infrastructure, opts v1.UpdateOptions) (result *configv1.Infrastructure, err error)

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

func (*FakeInfrastructures) UpdateStatus

func (c *FakeInfrastructures) UpdateStatus(ctx context.Context, infrastructure *configv1.Infrastructure, opts v1.UpdateOptions) (*configv1.Infrastructure, error)

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

func (*FakeInfrastructures) Watch

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

type FakeIngresses

type FakeIngresses struct {
	Fake *FakeConfigV1
}

FakeIngresses implements IngressInterface

func (*FakeIngresses) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied ingress.

func (*FakeIngresses) ApplyStatus

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

func (*FakeIngresses) Create

func (c *FakeIngresses) Create(ctx context.Context, ingress *configv1.Ingress, opts v1.CreateOptions) (result *configv1.Ingress, err error)

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

func (*FakeIngresses) Delete

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

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

func (*FakeIngresses) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeIngresses) Get

func (c *FakeIngresses) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Ingress, err error)

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

func (*FakeIngresses) List

func (c *FakeIngresses) List(ctx context.Context, opts v1.ListOptions) (result *configv1.IngressList, err error)

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

func (*FakeIngresses) Patch

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

Patch applies the patch and returns the patched ingress.

func (*FakeIngresses) Update

func (c *FakeIngresses) Update(ctx context.Context, ingress *configv1.Ingress, opts v1.UpdateOptions) (result *configv1.Ingress, err error)

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

func (*FakeIngresses) UpdateStatus

func (c *FakeIngresses) UpdateStatus(ctx context.Context, ingress *configv1.Ingress, opts v1.UpdateOptions) (*configv1.Ingress, error)

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

func (*FakeIngresses) Watch

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

type FakeNetworks

type FakeNetworks struct {
	Fake *FakeConfigV1
}

FakeNetworks implements NetworkInterface

func (*FakeNetworks) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied network.

func (*FakeNetworks) ApplyStatus

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

func (*FakeNetworks) Create

func (c *FakeNetworks) Create(ctx context.Context, network *configv1.Network, opts v1.CreateOptions) (result *configv1.Network, err error)

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

func (*FakeNetworks) Delete

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

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

func (*FakeNetworks) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNetworks) Get

func (c *FakeNetworks) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Network, err error)

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

func (*FakeNetworks) List

func (c *FakeNetworks) List(ctx context.Context, opts v1.ListOptions) (result *configv1.NetworkList, err error)

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

func (*FakeNetworks) Patch

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

Patch applies the patch and returns the patched network.

func (*FakeNetworks) Update

func (c *FakeNetworks) Update(ctx context.Context, network *configv1.Network, opts v1.UpdateOptions) (result *configv1.Network, err error)

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

func (*FakeNetworks) UpdateStatus

func (c *FakeNetworks) UpdateStatus(ctx context.Context, network *configv1.Network, opts v1.UpdateOptions) (*configv1.Network, error)

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

func (*FakeNetworks) Watch

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

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

type FakeNodes

type FakeNodes struct {
	Fake *FakeConfigV1
}

FakeNodes implements NodeInterface

func (*FakeNodes) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied node.

func (*FakeNodes) ApplyStatus

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

func (*FakeNodes) Create

func (c *FakeNodes) Create(ctx context.Context, node *configv1.Node, opts v1.CreateOptions) (result *configv1.Node, err error)

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

func (*FakeNodes) Delete

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

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

func (*FakeNodes) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeNodes) Get

func (c *FakeNodes) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Node, err error)

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

func (*FakeNodes) List

func (c *FakeNodes) List(ctx context.Context, opts v1.ListOptions) (result *configv1.NodeList, err error)

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

func (*FakeNodes) Patch

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

Patch applies the patch and returns the patched node.

func (*FakeNodes) Update

func (c *FakeNodes) Update(ctx context.Context, node *configv1.Node, opts v1.UpdateOptions) (result *configv1.Node, err error)

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

func (*FakeNodes) UpdateStatus

func (c *FakeNodes) UpdateStatus(ctx context.Context, node *configv1.Node, opts v1.UpdateOptions) (*configv1.Node, error)

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

func (*FakeNodes) Watch

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

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

type FakeOAuths

type FakeOAuths struct {
	Fake *FakeConfigV1
}

FakeOAuths implements OAuthInterface

func (*FakeOAuths) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied oAuth.

func (*FakeOAuths) ApplyStatus

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

func (*FakeOAuths) Create

func (c *FakeOAuths) Create(ctx context.Context, oAuth *configv1.OAuth, opts v1.CreateOptions) (result *configv1.OAuth, err error)

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

func (*FakeOAuths) Delete

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

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

func (*FakeOAuths) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOAuths) Get

func (c *FakeOAuths) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.OAuth, err error)

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

func (*FakeOAuths) List

func (c *FakeOAuths) List(ctx context.Context, opts v1.ListOptions) (result *configv1.OAuthList, err error)

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

func (*FakeOAuths) Patch

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

Patch applies the patch and returns the patched oAuth.

func (*FakeOAuths) Update

func (c *FakeOAuths) Update(ctx context.Context, oAuth *configv1.OAuth, opts v1.UpdateOptions) (result *configv1.OAuth, err error)

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

func (*FakeOAuths) UpdateStatus

func (c *FakeOAuths) UpdateStatus(ctx context.Context, oAuth *configv1.OAuth, opts v1.UpdateOptions) (*configv1.OAuth, error)

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

func (*FakeOAuths) Watch

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

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

type FakeOperatorHubs

type FakeOperatorHubs struct {
	Fake *FakeConfigV1
}

FakeOperatorHubs implements OperatorHubInterface

func (*FakeOperatorHubs) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied operatorHub.

func (*FakeOperatorHubs) ApplyStatus

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

func (*FakeOperatorHubs) Create

func (c *FakeOperatorHubs) Create(ctx context.Context, operatorHub *configv1.OperatorHub, opts v1.CreateOptions) (result *configv1.OperatorHub, err error)

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

func (*FakeOperatorHubs) Delete

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

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

func (*FakeOperatorHubs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeOperatorHubs) Get

func (c *FakeOperatorHubs) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.OperatorHub, err error)

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

func (*FakeOperatorHubs) List

func (c *FakeOperatorHubs) List(ctx context.Context, opts v1.ListOptions) (result *configv1.OperatorHubList, err error)

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

func (*FakeOperatorHubs) Patch

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

Patch applies the patch and returns the patched operatorHub.

func (*FakeOperatorHubs) Update

func (c *FakeOperatorHubs) Update(ctx context.Context, operatorHub *configv1.OperatorHub, opts v1.UpdateOptions) (result *configv1.OperatorHub, err error)

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

func (*FakeOperatorHubs) UpdateStatus

func (c *FakeOperatorHubs) UpdateStatus(ctx context.Context, operatorHub *configv1.OperatorHub, opts v1.UpdateOptions) (*configv1.OperatorHub, error)

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

func (*FakeOperatorHubs) Watch

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

type FakeProjects

type FakeProjects struct {
	Fake *FakeConfigV1
}

FakeProjects implements ProjectInterface

func (*FakeProjects) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied project.

func (*FakeProjects) ApplyStatus

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

func (*FakeProjects) Create

func (c *FakeProjects) Create(ctx context.Context, project *configv1.Project, opts v1.CreateOptions) (result *configv1.Project, err error)

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

func (*FakeProjects) Delete

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

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

func (*FakeProjects) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProjects) Get

func (c *FakeProjects) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Project, err error)

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

func (*FakeProjects) List

func (c *FakeProjects) List(ctx context.Context, opts v1.ListOptions) (result *configv1.ProjectList, err error)

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

func (*FakeProjects) Patch

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

Patch applies the patch and returns the patched project.

func (*FakeProjects) Update

func (c *FakeProjects) Update(ctx context.Context, project *configv1.Project, opts v1.UpdateOptions) (result *configv1.Project, err error)

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

func (*FakeProjects) UpdateStatus

func (c *FakeProjects) UpdateStatus(ctx context.Context, project *configv1.Project, opts v1.UpdateOptions) (*configv1.Project, error)

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

func (*FakeProjects) Watch

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

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

type FakeProxies

type FakeProxies struct {
	Fake *FakeConfigV1
}

FakeProxies implements ProxyInterface

func (*FakeProxies) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied proxy.

func (*FakeProxies) ApplyStatus

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

func (*FakeProxies) Create

func (c *FakeProxies) Create(ctx context.Context, proxy *configv1.Proxy, opts v1.CreateOptions) (result *configv1.Proxy, err error)

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

func (*FakeProxies) Delete

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

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

func (*FakeProxies) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeProxies) Get

func (c *FakeProxies) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Proxy, err error)

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

func (*FakeProxies) List

func (c *FakeProxies) List(ctx context.Context, opts v1.ListOptions) (result *configv1.ProxyList, err error)

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

func (*FakeProxies) Patch

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

Patch applies the patch and returns the patched proxy.

func (*FakeProxies) Update

func (c *FakeProxies) Update(ctx context.Context, proxy *configv1.Proxy, opts v1.UpdateOptions) (result *configv1.Proxy, err error)

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

func (*FakeProxies) UpdateStatus

func (c *FakeProxies) UpdateStatus(ctx context.Context, proxy *configv1.Proxy, opts v1.UpdateOptions) (*configv1.Proxy, error)

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

func (*FakeProxies) Watch

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

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

type FakeSchedulers

type FakeSchedulers struct {
	Fake *FakeConfigV1
}

FakeSchedulers implements SchedulerInterface

func (*FakeSchedulers) Apply

Apply takes the given apply declarative configuration, applies it and returns the applied scheduler.

func (*FakeSchedulers) ApplyStatus

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

func (*FakeSchedulers) Create

func (c *FakeSchedulers) Create(ctx context.Context, scheduler *configv1.Scheduler, opts v1.CreateOptions) (result *configv1.Scheduler, err error)

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

func (*FakeSchedulers) Delete

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

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

func (*FakeSchedulers) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSchedulers) Get

func (c *FakeSchedulers) Get(ctx context.Context, name string, options v1.GetOptions) (result *configv1.Scheduler, err error)

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

func (*FakeSchedulers) List

func (c *FakeSchedulers) List(ctx context.Context, opts v1.ListOptions) (result *configv1.SchedulerList, err error)

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

func (*FakeSchedulers) Patch

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

Patch applies the patch and returns the patched scheduler.

func (*FakeSchedulers) Update

func (c *FakeSchedulers) Update(ctx context.Context, scheduler *configv1.Scheduler, opts v1.UpdateOptions) (result *configv1.Scheduler, err error)

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

func (*FakeSchedulers) UpdateStatus

func (c *FakeSchedulers) UpdateStatus(ctx context.Context, scheduler *configv1.Scheduler, opts v1.UpdateOptions) (*configv1.Scheduler, error)

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

func (*FakeSchedulers) Watch

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

Jump to

Keyboard shortcuts

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