internalversion

package
v3.7.2 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

This package has the automatically generated typed clients.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppsClient

type AppsClient struct {
	// contains filtered or unexported fields
}

AppsClient is used to interact with features provided by the apps.openshift.io group.

func New

func New(c rest.Interface) *AppsClient

New creates a new AppsClient for the given RESTClient.

func NewForConfig

func NewForConfig(c *rest.Config) (*AppsClient, error)

NewForConfig creates a new AppsClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *AppsClient

NewForConfigOrDie creates a new AppsClient for the given config and panics if there is an error in the config.

func (*AppsClient) DeploymentConfigs

func (c *AppsClient) DeploymentConfigs(namespace string) DeploymentConfigInterface

func (*AppsClient) RESTClient

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

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

type AppsInterface

type AppsInterface interface {
	RESTClient() rest.Interface
	DeploymentConfigsGetter
}

type DeploymentConfigExpansion

type DeploymentConfigExpansion interface {
	UpdateScale(deploymentConfigName string, scale *v1beta1.Scale) (result *v1beta1.Scale, err error)
}

type DeploymentConfigInterface

type DeploymentConfigInterface interface {
	Create(*apps.DeploymentConfig) (*apps.DeploymentConfig, error)
	Update(*apps.DeploymentConfig) (*apps.DeploymentConfig, error)
	UpdateStatus(*apps.DeploymentConfig) (*apps.DeploymentConfig, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*apps.DeploymentConfig, error)
	List(opts v1.ListOptions) (*apps.DeploymentConfigList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *apps.DeploymentConfig, err error)
	Instantiate(deploymentConfigName string, deploymentRequest *apps.DeploymentRequest) (*apps.DeploymentConfig, error)
	Rollback(deploymentConfigName string, deploymentConfigRollback *apps.DeploymentConfigRollback) (*apps.DeploymentConfig, error)
	GetScale(deploymentConfigName string, options v1.GetOptions) (*v1beta1.Scale, error)

	DeploymentConfigExpansion
}

DeploymentConfigInterface has methods to work with DeploymentConfig resources.

type DeploymentConfigsGetter

type DeploymentConfigsGetter interface {
	DeploymentConfigs(namespace string) DeploymentConfigInterface
}

DeploymentConfigsGetter has a method to return a DeploymentConfigInterface. A group's client should implement this interface.

Directories

Path Synopsis
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

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