v1

package
v3.7.2+incompatible 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: 7 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_v1.AppliedClusterResourceQuota, error)
	List(opts v1.ListOptions) (*quota_v1.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(*v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error)
	Update(*v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error)
	UpdateStatus(*v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error)
	Delete(name string, options *meta_v1.DeleteOptions) error
	DeleteCollection(options *meta_v1.DeleteOptions, listOptions meta_v1.ListOptions) error
	Get(name string, options meta_v1.GetOptions) (*v1.ClusterResourceQuota, error)
	List(opts meta_v1.ListOptions) (*v1.ClusterResourceQuotaList, error)
	Watch(opts meta_v1.ListOptions) (watch.Interface, error)
	Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *v1.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 QuotaV1Client

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

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

func New

New creates a new QuotaV1Client for the given RESTClient.

func NewForConfig

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

NewForConfig creates a new QuotaV1Client for the given config.

func NewForConfigOrDie

func NewForConfigOrDie(c *rest.Config) *QuotaV1Client

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

func (*QuotaV1Client) AppliedClusterResourceQuotas

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

func (*QuotaV1Client) ClusterResourceQuotas

func (c *QuotaV1Client) ClusterResourceQuotas() ClusterResourceQuotaInterface

func (*QuotaV1Client) RESTClient

func (c *QuotaV1Client) 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