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 ClusterResourceQuotaExpansion ¶
type ClusterResourceQuotaExpansion interface{}
type ClusterResourceQuotaInterface ¶
type ClusterResourceQuotaInterface interface { Create(*api.ClusterResourceQuota) (*api.ClusterResourceQuota, error) Update(*api.ClusterResourceQuota) (*api.ClusterResourceQuota, error) UpdateStatus(*api.ClusterResourceQuota) (*api.ClusterResourceQuota, error) Delete(name string, options *v1.DeleteOptions) error DeleteCollection(options *v1.DeleteOptions, listOptions v1.ListOptions) error Get(name string, options v1.GetOptions) (*api.ClusterResourceQuota, error) List(opts v1.ListOptions) (*api.ClusterResourceQuotaList, error) Watch(opts v1.ListOptions) (watch.Interface, error) Patch(name string, pt types.PatchType, data []byte, subresources ...string) (result *api.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) 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.
type QuotaInterface ¶
type QuotaInterface interface { RESTClient() rest.Interface ClusterResourceQuotasGetter }