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(*v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error) Update(*v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error) UpdateStatus(*v1.ClusterResourceQuota) (*v1.ClusterResourceQuota, error) Delete(name string, options *api_v1.DeleteOptions) error DeleteCollection(options *api_v1.DeleteOptions, listOptions api_v1.ListOptions) error Get(name string) (*v1.ClusterResourceQuota, error) List(opts api_v1.ListOptions) (*v1.ClusterResourceQuotaList, error) Watch(opts api_v1.ListOptions) (watch.Interface, error) Patch(name string, pt api.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 k8s.io/kubernetes/pkg/apimachinery/registered.Group group.
func New ¶
func New(c restclient.Interface) *QuotaV1Client
New creates a new QuotaV1Client for the given RESTClient.
func NewForConfig ¶
func NewForConfig(c *restclient.Config) (*QuotaV1Client, error)
NewForConfig creates a new QuotaV1Client for the given config.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *restclient.Config) *QuotaV1Client
NewForConfigOrDie creates a new QuotaV1Client for the given config and panics if there is an error in the config.
func (*QuotaV1Client) ClusterResourceQuotas ¶
func (c *QuotaV1Client) ClusterResourceQuotas() ClusterResourceQuotaInterface
func (*QuotaV1Client) RESTClient ¶
func (c *QuotaV1Client) RESTClient() restclient.Interface
RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.
type QuotaV1Interface ¶
type QuotaV1Interface interface { RESTClient() restclient.Interface ClusterResourceQuotasGetter }