Documentation ¶
Overview ¶
Package fake has the automatically generated clients.
Index ¶
- type FakeAppsV1
- type FakeDeploymentConfigs
- func (c *FakeDeploymentConfigs) Apply(ctx context.Context, ...) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) ApplyStatus(ctx context.Context, ...) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) Create(ctx context.Context, deploymentConfig *v1.DeploymentConfig, ...) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
- func (c *FakeDeploymentConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
- func (c *FakeDeploymentConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) GetScale(ctx context.Context, deploymentConfigName string, options metav1.GetOptions) (result *v1beta1.Scale, err error)
- func (c *FakeDeploymentConfigs) Instantiate(ctx context.Context, deploymentConfigName string, ...) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.DeploymentConfigList, err error)
- func (c *FakeDeploymentConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, ...) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) Rollback(ctx context.Context, deploymentConfigName string, ...) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) Update(ctx context.Context, deploymentConfig *v1.DeploymentConfig, ...) (result *v1.DeploymentConfig, err error)
- func (c *FakeDeploymentConfigs) UpdateScale(ctx context.Context, deploymentConfigName string, scale *v1beta1.Scale, ...) (result *v1beta1.Scale, err error)
- func (c *FakeDeploymentConfigs) UpdateStatus(ctx context.Context, deploymentConfig *v1.DeploymentConfig, ...) (*v1.DeploymentConfig, error)
- func (c *FakeDeploymentConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppsV1 ¶
func (*FakeAppsV1) DeploymentConfigs ¶
func (c *FakeAppsV1) DeploymentConfigs(namespace string) v1.DeploymentConfigInterface
func (*FakeAppsV1) RESTClient ¶
func (c *FakeAppsV1) RESTClient() rest.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type FakeDeploymentConfigs ¶
type FakeDeploymentConfigs struct { Fake *FakeAppsV1 // contains filtered or unexported fields }
FakeDeploymentConfigs implements DeploymentConfigInterface
func (*FakeDeploymentConfigs) Apply ¶ added in v0.29.0
func (c *FakeDeploymentConfigs) Apply(ctx context.Context, deploymentConfig *appsv1.DeploymentConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.DeploymentConfig, err error)
Apply takes the given apply declarative configuration, applies it and returns the applied deploymentConfig.
func (*FakeDeploymentConfigs) ApplyStatus ¶ added in v0.29.0
func (c *FakeDeploymentConfigs) ApplyStatus(ctx context.Context, deploymentConfig *appsv1.DeploymentConfigApplyConfiguration, opts metav1.ApplyOptions) (result *v1.DeploymentConfig, err error)
ApplyStatus was generated because the type contains a Status member. Add a +genclient:noStatus comment above the type to avoid generating ApplyStatus().
func (*FakeDeploymentConfigs) Create ¶
func (c *FakeDeploymentConfigs) Create(ctx context.Context, deploymentConfig *v1.DeploymentConfig, opts metav1.CreateOptions) (result *v1.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 ¶
func (c *FakeDeploymentConfigs) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
Delete takes name of the deploymentConfig and deletes it. Returns an error if one occurs.
func (*FakeDeploymentConfigs) DeleteCollection ¶
func (c *FakeDeploymentConfigs) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
DeleteCollection deletes a collection of objects.
func (*FakeDeploymentConfigs) Get ¶
func (c *FakeDeploymentConfigs) Get(ctx context.Context, name string, options metav1.GetOptions) (result *v1.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 ¶
func (c *FakeDeploymentConfigs) GetScale(ctx context.Context, deploymentConfigName string, options metav1.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 ¶
func (c *FakeDeploymentConfigs) Instantiate(ctx context.Context, deploymentConfigName string, deploymentRequest *v1.DeploymentRequest, opts metav1.CreateOptions) (result *v1.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 ¶
func (c *FakeDeploymentConfigs) List(ctx context.Context, opts metav1.ListOptions) (result *v1.DeploymentConfigList, err error)
List takes label and field selectors, and returns the list of DeploymentConfigs that match those selectors.
func (*FakeDeploymentConfigs) Patch ¶
func (c *FakeDeploymentConfigs) Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1.DeploymentConfig, err error)
Patch applies the patch and returns the patched deploymentConfig.
func (*FakeDeploymentConfigs) Rollback ¶
func (c *FakeDeploymentConfigs) Rollback(ctx context.Context, deploymentConfigName string, deploymentConfigRollback *v1.DeploymentConfigRollback, opts metav1.CreateOptions) (result *v1.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 ¶
func (c *FakeDeploymentConfigs) Update(ctx context.Context, deploymentConfig *v1.DeploymentConfig, opts metav1.UpdateOptions) (result *v1.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 ¶
func (c *FakeDeploymentConfigs) UpdateScale(ctx context.Context, deploymentConfigName string, scale *v1beta1.Scale, opts metav1.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 ¶
func (c *FakeDeploymentConfigs) UpdateStatus(ctx context.Context, deploymentConfig *v1.DeploymentConfig, opts metav1.UpdateOptions) (*v1.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 ¶
func (c *FakeDeploymentConfigs) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
Watch returns a watch.Interface that watches the requested deploymentConfigs.