Documentation ¶
Index ¶
- type AppsV3Response
- type Client
- func (c *Client) GetAllAppGUIDs(token string) (map[string]struct{}, error)
- func (c *Client) GetAppSpaces(token string, appGUIDs []string) (map[string]string, error)
- func (c *Client) GetLiveAppGUIDs(token string, appGUIDs []string) (map[string]struct{}, error)
- func (c *Client) GetSpace(token, spaceGUID string) (*models.Space, error)
- func (c *Client) GetSpaceGUIDs(token string, appGUIDs []string) ([]string, error)
- func (c *Client) GetUserSpace(token, userGUID string, space models.Space) (*models.Space, error)
- func (c *Client) GetUserSpaces(token, userGUID string) (map[string]struct{}, error)
- type SpaceResponse
- type SpacesResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsV3Response ¶ added in v0.12.0
type AppsV3Response struct { Pagination struct { TotalPages int `json:"total_pages"` First struct { Href string `json:"href"` } `json:"first"` Last struct { Href string `json:"href"` } `json:"last"` Next struct { Href string `json:"href"` } `json:"next"` } `json:"pagination"` Resources []struct { GUID string `json:"guid"` Links struct { Space struct { Href string `json:"href"` } `json:"space"` } `json:"links"` } `json:"resources"` }
type Client ¶
type Client struct { Logger lager.Logger JSONClient json_client.JsonClient }
func (*Client) GetAllAppGUIDs ¶
func (*Client) GetAppSpaces ¶ added in v0.13.0
func (*Client) GetLiveAppGUIDs ¶ added in v0.16.0
func (*Client) GetSpaceGUIDs ¶ added in v0.12.0
func (*Client) GetUserSpace ¶ added in v0.12.0
type SpaceResponse ¶ added in v0.12.0
type SpacesResponse ¶ added in v0.12.0
Click to show internal directories.
Click to hide internal directories.