Documentation ¶
Index ¶
- Variables
- func GetID(resourceType ResourceType, resourceName string) (string, error)
- func GetResource(resourceType ResourceType, resourceGUID string) (*metadata.CommonResource, error)
- func PatchResource(resourceType ResourceType, resourceGUID string, data *metadata.CommonResource) error
- type ResourceType
Constants ¶
This section is empty.
Variables ¶
View Source
var (
CliConnection plugin.CliConnection
)
Functions ¶
func GetResource ¶
func GetResource(resourceType ResourceType, resourceGUID string) (*metadata.CommonResource, error)
func PatchResource ¶
func PatchResource(resourceType ResourceType, resourceGUID string, data *metadata.CommonResource) error
Types ¶
type ResourceType ¶
type ResourceType string
const ( OrgType ResourceType = "organizations" SpaceType ResourceType = "spaces" AppType ResourceType = "apps" )
Click to show internal directories.
Click to hide internal directories.