Documentation
¶
Index ¶
Constants ¶
View Source
const (
DEFAULT_API_URL = "https://api.cloud.ca/v1/"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CcaClient ¶
type CcaClient struct { Tasks services.TaskService Environments configuration.EnvironmentService Users configuration.UserService ServiceConnections configuration.ServiceConnectionService Organizations configuration.OrganizationService // contains filtered or unexported fields }
func NewCcaClient ¶
Create a CcaClient with the default URL
func NewCcaClientWithURL ¶
Create a CcaClient with a custom URL
func NewInsecureCcaClientWithURL ¶
Create a CcaClient with a custom URL that accepts insecure connections
func (CcaClient) GetApiClient ¶
Get the API Client used by all the services
func (CcaClient) GetResources ¶
func (c CcaClient) GetResources(serviceCode string, environmentName string) (services.ServiceResources, error)
Get the Resources for a specific serviceCode and environmentName For now it assumes that the serviceCode belongs to a cloud.ca service type
Click to show internal directories.
Click to hide internal directories.