fake

package
v0.0.0-...-08fc731 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 9 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 FakeArtifactBuilds

type FakeArtifactBuilds struct {
	Fake *FakeJvmbuildserviceV1alpha1
	// contains filtered or unexported fields
}

FakeArtifactBuilds implements ArtifactBuildInterface

func (*FakeArtifactBuilds) Create

func (c *FakeArtifactBuilds) Create(ctx context.Context, artifactBuild *v1alpha1.ArtifactBuild, opts v1.CreateOptions) (result *v1alpha1.ArtifactBuild, err error)

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

func (*FakeArtifactBuilds) Delete

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

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

func (*FakeArtifactBuilds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeArtifactBuilds) Get

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

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

func (*FakeArtifactBuilds) List

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

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

func (*FakeArtifactBuilds) Patch

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

Patch applies the patch and returns the patched artifactBuild.

func (*FakeArtifactBuilds) Update

func (c *FakeArtifactBuilds) Update(ctx context.Context, artifactBuild *v1alpha1.ArtifactBuild, opts v1.UpdateOptions) (result *v1alpha1.ArtifactBuild, err error)

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

func (*FakeArtifactBuilds) UpdateStatus

func (c *FakeArtifactBuilds) UpdateStatus(ctx context.Context, artifactBuild *v1alpha1.ArtifactBuild, opts v1.UpdateOptions) (*v1alpha1.ArtifactBuild, error)

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

func (*FakeArtifactBuilds) Watch

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

type FakeDependencyBuilds

type FakeDependencyBuilds struct {
	Fake *FakeJvmbuildserviceV1alpha1
	// contains filtered or unexported fields
}

FakeDependencyBuilds implements DependencyBuildInterface

func (*FakeDependencyBuilds) Create

func (c *FakeDependencyBuilds) Create(ctx context.Context, dependencyBuild *v1alpha1.DependencyBuild, opts v1.CreateOptions) (result *v1alpha1.DependencyBuild, err error)

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

func (*FakeDependencyBuilds) Delete

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

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

func (*FakeDependencyBuilds) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeDependencyBuilds) Get

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

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

func (*FakeDependencyBuilds) List

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

func (*FakeDependencyBuilds) Patch

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

Patch applies the patch and returns the patched dependencyBuild.

func (*FakeDependencyBuilds) Update

func (c *FakeDependencyBuilds) Update(ctx context.Context, dependencyBuild *v1alpha1.DependencyBuild, opts v1.UpdateOptions) (result *v1alpha1.DependencyBuild, err error)

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

func (*FakeDependencyBuilds) UpdateStatus

func (c *FakeDependencyBuilds) UpdateStatus(ctx context.Context, dependencyBuild *v1alpha1.DependencyBuild, opts v1.UpdateOptions) (*v1alpha1.DependencyBuild, error)

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

func (*FakeDependencyBuilds) Watch

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

type FakeJBSConfigs

type FakeJBSConfigs struct {
	Fake *FakeJvmbuildserviceV1alpha1
	// contains filtered or unexported fields
}

FakeJBSConfigs implements JBSConfigInterface

func (*FakeJBSConfigs) Create

func (c *FakeJBSConfigs) Create(ctx context.Context, jBSConfig *v1alpha1.JBSConfig, opts v1.CreateOptions) (result *v1alpha1.JBSConfig, err error)

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

func (*FakeJBSConfigs) Delete

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

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

func (*FakeJBSConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeJBSConfigs) Get

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

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

func (*FakeJBSConfigs) List

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

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

func (*FakeJBSConfigs) Patch

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

Patch applies the patch and returns the patched jBSConfig.

func (*FakeJBSConfigs) Update

func (c *FakeJBSConfigs) Update(ctx context.Context, jBSConfig *v1alpha1.JBSConfig, opts v1.UpdateOptions) (result *v1alpha1.JBSConfig, err error)

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

func (*FakeJBSConfigs) UpdateStatus

func (c *FakeJBSConfigs) UpdateStatus(ctx context.Context, jBSConfig *v1alpha1.JBSConfig, opts v1.UpdateOptions) (*v1alpha1.JBSConfig, error)

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

func (*FakeJBSConfigs) Watch

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

type FakeJvmImageScans

type FakeJvmImageScans struct {
	Fake *FakeJvmbuildserviceV1alpha1
	// contains filtered or unexported fields
}

FakeJvmImageScans implements JvmImageScanInterface

func (*FakeJvmImageScans) Create

func (c *FakeJvmImageScans) Create(ctx context.Context, jvmImageScan *v1alpha1.JvmImageScan, opts v1.CreateOptions) (result *v1alpha1.JvmImageScan, err error)

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

func (*FakeJvmImageScans) Delete

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

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

func (*FakeJvmImageScans) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeJvmImageScans) Get

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

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

func (*FakeJvmImageScans) List

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

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

func (*FakeJvmImageScans) Patch

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

Patch applies the patch and returns the patched jvmImageScan.

func (*FakeJvmImageScans) Update

func (c *FakeJvmImageScans) Update(ctx context.Context, jvmImageScan *v1alpha1.JvmImageScan, opts v1.UpdateOptions) (result *v1alpha1.JvmImageScan, err error)

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

func (*FakeJvmImageScans) UpdateStatus

func (c *FakeJvmImageScans) UpdateStatus(ctx context.Context, jvmImageScan *v1alpha1.JvmImageScan, opts v1.UpdateOptions) (*v1alpha1.JvmImageScan, error)

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

func (*FakeJvmImageScans) Watch

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

type FakeJvmbuildserviceV1alpha1

type FakeJvmbuildserviceV1alpha1 struct {
	*testing.Fake
}

func (*FakeJvmbuildserviceV1alpha1) ArtifactBuilds

func (*FakeJvmbuildserviceV1alpha1) DependencyBuilds

func (*FakeJvmbuildserviceV1alpha1) JBSConfigs

func (*FakeJvmbuildserviceV1alpha1) JvmImageScans

func (*FakeJvmbuildserviceV1alpha1) RESTClient

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

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

func (*FakeJvmbuildserviceV1alpha1) RebuiltArtifacts

func (*FakeJvmbuildserviceV1alpha1) SystemConfigs

type FakeRebuiltArtifacts

type FakeRebuiltArtifacts struct {
	Fake *FakeJvmbuildserviceV1alpha1
	// contains filtered or unexported fields
}

FakeRebuiltArtifacts implements RebuiltArtifactInterface

func (*FakeRebuiltArtifacts) Create

func (c *FakeRebuiltArtifacts) Create(ctx context.Context, rebuiltArtifact *v1alpha1.RebuiltArtifact, opts v1.CreateOptions) (result *v1alpha1.RebuiltArtifact, err error)

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

func (*FakeRebuiltArtifacts) Delete

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

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

func (*FakeRebuiltArtifacts) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeRebuiltArtifacts) Get

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

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

func (*FakeRebuiltArtifacts) List

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

func (*FakeRebuiltArtifacts) Patch

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

Patch applies the patch and returns the patched rebuiltArtifact.

func (*FakeRebuiltArtifacts) Update

func (c *FakeRebuiltArtifacts) Update(ctx context.Context, rebuiltArtifact *v1alpha1.RebuiltArtifact, opts v1.UpdateOptions) (result *v1alpha1.RebuiltArtifact, err error)

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

func (*FakeRebuiltArtifacts) UpdateStatus

func (c *FakeRebuiltArtifacts) UpdateStatus(ctx context.Context, rebuiltArtifact *v1alpha1.RebuiltArtifact, opts v1.UpdateOptions) (*v1alpha1.RebuiltArtifact, error)

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

func (*FakeRebuiltArtifacts) Watch

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

type FakeSystemConfigs

type FakeSystemConfigs struct {
	Fake *FakeJvmbuildserviceV1alpha1
	// contains filtered or unexported fields
}

FakeSystemConfigs implements SystemConfigInterface

func (*FakeSystemConfigs) Create

func (c *FakeSystemConfigs) Create(ctx context.Context, systemConfig *v1alpha1.SystemConfig, opts v1.CreateOptions) (result *v1alpha1.SystemConfig, err error)

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

func (*FakeSystemConfigs) Delete

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

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

func (*FakeSystemConfigs) DeleteCollection

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

DeleteCollection deletes a collection of objects.

func (*FakeSystemConfigs) Get

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

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

func (*FakeSystemConfigs) List

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

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

func (*FakeSystemConfigs) Patch

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

Patch applies the patch and returns the patched systemConfig.

func (*FakeSystemConfigs) Update

func (c *FakeSystemConfigs) Update(ctx context.Context, systemConfig *v1alpha1.SystemConfig, opts v1.UpdateOptions) (result *v1alpha1.SystemConfig, err error)

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

func (*FakeSystemConfigs) UpdateStatus

func (c *FakeSystemConfigs) UpdateStatus(ctx context.Context, systemConfig *v1alpha1.SystemConfig, opts v1.UpdateOptions) (*v1alpha1.SystemConfig, error)

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

func (*FakeSystemConfigs) Watch

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

Jump to

Keyboard shortcuts

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