openshift: kmodules.xyz/openshift/client/clientset/versioned/typed/apps/v1/fake Index | Files

package fake

import "kmodules.xyz/openshift/client/clientset/versioned/typed/apps/v1/fake"

Package fake has the automatically generated clients.

Index

Package Files

doc.go fake_apps_client.go fake_deploymentconfig.go

type FakeAppsV1 Uses

type FakeAppsV1 struct {
    *testing.Fake
}

func (*FakeAppsV1) DeploymentConfigs Uses

func (c *FakeAppsV1) DeploymentConfigs(namespace string) v1.DeploymentConfigInterface

func (*FakeAppsV1) RESTClient Uses

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

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

type FakeDeploymentConfigs Uses

type FakeDeploymentConfigs struct {
    Fake *FakeAppsV1
    // contains filtered or unexported fields
}

FakeDeploymentConfigs implements DeploymentConfigInterface

func (*FakeDeploymentConfigs) Create Uses

func (c *FakeDeploymentConfigs) Create(ctx context.Context, deploymentConfig *appsv1.DeploymentConfig, opts v1.CreateOptions) (result *appsv1.DeploymentConfig, err error)

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

func (*FakeDeploymentConfigs) Delete Uses

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

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

func (*FakeDeploymentConfigs) DeleteCollection Uses

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

DeleteCollection deletes a collection of objects.

func (*FakeDeploymentConfigs) Get Uses

func (c *FakeDeploymentConfigs) Get(ctx context.Context, name string, options v1.GetOptions) (result *appsv1.DeploymentConfig, err error)

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

func (*FakeDeploymentConfigs) GetScale Uses

func (c *FakeDeploymentConfigs) GetScale(ctx context.Context, deploymentConfigName string, options v1.GetOptions) (result *v1beta1.Scale, err error)

GetScale takes name of the deploymentConfig, and returns the corresponding scale object, and an error if there is any.

func (*FakeDeploymentConfigs) Instantiate Uses

func (c *FakeDeploymentConfigs) Instantiate(ctx context.Context, deploymentConfigName string, deploymentRequest *appsv1.DeploymentRequest, opts v1.CreateOptions) (result *appsv1.DeploymentConfig, err error)

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

func (*FakeDeploymentConfigs) List Uses

func (c *FakeDeploymentConfigs) List(ctx context.Context, opts v1.ListOptions) (result *appsv1.DeploymentConfigList, err error)

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

func (*FakeDeploymentConfigs) Patch Uses

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

Patch applies the patch and returns the patched deploymentConfig.

func (*FakeDeploymentConfigs) Rollback Uses

func (c *FakeDeploymentConfigs) Rollback(ctx context.Context, deploymentConfigName string, deploymentConfigRollback *appsv1.DeploymentConfigRollback, opts v1.CreateOptions) (result *appsv1.DeploymentConfig, err error)

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

func (*FakeDeploymentConfigs) Update Uses

func (c *FakeDeploymentConfigs) Update(ctx context.Context, deploymentConfig *appsv1.DeploymentConfig, opts v1.UpdateOptions) (result *appsv1.DeploymentConfig, err error)

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

func (*FakeDeploymentConfigs) UpdateScale Uses

func (c *FakeDeploymentConfigs) UpdateScale(ctx context.Context, deploymentConfigName string, scale *v1beta1.Scale, opts v1.UpdateOptions) (result *v1beta1.Scale, err error)

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

func (*FakeDeploymentConfigs) UpdateStatus Uses

func (c *FakeDeploymentConfigs) UpdateStatus(ctx context.Context, deploymentConfig *appsv1.DeploymentConfig, opts v1.UpdateOptions) (*appsv1.DeploymentConfig, error)

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

func (*FakeDeploymentConfigs) Watch Uses

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

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

Package fake imports 11 packages (graph) and is imported by 1 packages. Updated 2020-09-25. Refresh now. Tools for package owners.