Documentation ¶
Overview ¶
package serviceclient contains clients that are used to interact with various GCP services.
Index ¶
- func NewHTTPClient(ctx context.Context, oAuth2Token string) (*http.Client, error)
- func NewMockServiceClient(t *testing.T) mockServiceClient
- func NewResourceManagerClient(ctx context.Context, httpClient *http.Client) (*resourcemanager.Service, error)
- func NewServiceClient(httpClient *http.Client) serviceClient
- type ServiceClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHTTPClient ¶
func NewMockServiceClient ¶
func NewServiceClient ¶
Types ¶
type ServiceClient ¶
type ServiceClient interface {
GetProjectFromProjectIDOrNumber(string) (*resourcemanager.Project, error)
}
Click to show internal directories.
Click to hide internal directories.