quota

package
v0.0.0-...-81a4f0c Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(config *config.Config, logger lager.Logger, cfClient cf.CFClient) *Client

func (*Client) GetQuota

func (qmc *Client) GetQuota(orgGUID, serviceName, planName string) (int, error)

GetQuota Ask the quota manager for instance quota

func (*Client) GetServiceInstancesInOrg

func (qmc *Client) GetServiceInstancesInOrg(orgGUID, servicePlanGuid string) (int, error)

func (*Client) SetClient

func (qmc *Client) SetClient(client *http.Client)

Jump to

Keyboard shortcuts

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