internalversion

package
v3.9.0-alpha.1+incompa... Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2017 License: Apache-2.0 Imports: 6 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 AppliedClusterResourceQuotaExpansion

type AppliedClusterResourceQuotaExpansion interface{}

type AppliedClusterResourceQuotaInterface

type AppliedClusterResourceQuotaInterface interface {
	Get(name string, options v1.GetOptions) (*quota.AppliedClusterResourceQuota, error)
	List(opts v1.ListOptions) (*quota.AppliedClusterResourceQuotaList, error)
	AppliedClusterResourceQuotaExpansion
}

AppliedClusterResourceQuotaInterface has methods to work with AppliedClusterResourceQuota resources.

type AppliedClusterResourceQuotasGetter

type AppliedClusterResourceQuotasGetter interface {
	AppliedClusterResourceQuotas(namespace string) AppliedClusterResourceQuotaInterface
}

AppliedClusterResourceQuotasGetter has a method to return a AppliedClusterResourceQuotaInterface. A group's client should implement this interface.

type ClusterResourceQuotaExpansion

type ClusterResourceQuotaExpansion interface{}

type ClusterResourceQuotaInterface

type ClusterResourceQuotaInterface interface {
	Create(*quota.ClusterResourceQuota) (*quota.ClusterResourceQuota, error)
	Update(*quota.ClusterResourceQuota) (*quota.ClusterResourceQuota, error)
	UpdateStatus(*quota.ClusterResourceQuota) (*quota.ClusterResourceQuota, error)
	Delete(name string, options *v1.DeleteOptions) error
	DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error
	Get(name string, options v1.GetOptions) (*quota.ClusterResourceQuota, error)
	List(opts v1.ListOptions) (*quota.ClusterResourceQuotaList, error)
	Watch(opts v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *quota.ClusterResourceQuota, err error)
	ClusterResourceQuotaExpansion
}

ClusterResourceQuotaInterface has methods to work with ClusterResourceQuota resources.

type ClusterResourceQuotasGetter

type ClusterResourceQuotasGetter interface {
	ClusterResourceQuotas() ClusterResourceQuotaInterface
}

ClusterResourceQuotasGetter has a method to return a ClusterResourceQuotaInterface. A group's client should implement this interface.

type QuotaClient

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

QuotaClient is used to interact with features provided by the quota.openshift.io group.

func New

func New(c rest.Interface) *QuotaClient

New creates a new QuotaClient for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new QuotaClient for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *QuotaClient

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

func (*QuotaClient) AppliedClusterResourceQuotas

func (c *QuotaClient) AppliedClusterResourceQuotas(namespace string) AppliedClusterResourceQuotaInterface

func (*QuotaClient) ClusterResourceQuotas

func (c *QuotaClient) ClusterResourceQuotas() ClusterResourceQuotaInterface

func (*QuotaClient) RESTClient

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

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

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