Documentation ¶
Index ¶
- type GoogleClient
- func (c *GoogleClient) GetAppEngineApplications() ([]orchestrator.ApplicationInfo, error)
- func (c *GoogleClient) GetBackendApplications() ([]orchestrator.ApplicationInfo, error)
- func (c *GoogleClient) GetBackendPolicy(name, objectId string) ([]policysupport.PolicyInfo, error)
- func (c *GoogleClient) SetBackendPolicy(name, objectId string, p policysupport.PolicyInfo) error
- type GoogleProvider
- func (g *GoogleProvider) DiscoverApplications(info orchestrator.IntegrationInfo) (apps []orchestrator.ApplicationInfo, err error)
- func (g *GoogleProvider) GetPolicyInfo(integration orchestrator.IntegrationInfo, app orchestrator.ApplicationInfo) (infos []policysupport.PolicyInfo, err error)
- func (g *GoogleProvider) Name() string
- func (g *GoogleProvider) NewHttpClient(key []byte) (HTTPClient, error)
- func (g *GoogleProvider) Project(key []byte) string
- func (g *GoogleProvider) SetPolicyInfo(integration orchestrator.IntegrationInfo, app orchestrator.ApplicationInfo, ...) (int, error)
- type HTTPClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleClient ¶
type GoogleClient struct { HttpClient HTTPClient ProjectId string }
func (*GoogleClient) GetAppEngineApplications ¶
func (c *GoogleClient) GetAppEngineApplications() ([]orchestrator.ApplicationInfo, error)
func (*GoogleClient) GetBackendApplications ¶
func (c *GoogleClient) GetBackendApplications() ([]orchestrator.ApplicationInfo, error)
func (*GoogleClient) GetBackendPolicy ¶
func (c *GoogleClient) GetBackendPolicy(name, objectId string) ([]policysupport.PolicyInfo, error)
func (*GoogleClient) SetBackendPolicy ¶
func (c *GoogleClient) SetBackendPolicy(name, objectId string, p policysupport.PolicyInfo) error
type GoogleProvider ¶
type GoogleProvider struct {
HttpClientOverride HTTPClient
}
func (*GoogleProvider) DiscoverApplications ¶
func (g *GoogleProvider) DiscoverApplications(info orchestrator.IntegrationInfo) (apps []orchestrator.ApplicationInfo, err error)
func (*GoogleProvider) GetPolicyInfo ¶
func (g *GoogleProvider) GetPolicyInfo(integration orchestrator.IntegrationInfo, app orchestrator.ApplicationInfo) (infos []policysupport.PolicyInfo, err error)
func (*GoogleProvider) Name ¶
func (g *GoogleProvider) Name() string
func (*GoogleProvider) NewHttpClient ¶
func (g *GoogleProvider) NewHttpClient(key []byte) (HTTPClient, error)
func (*GoogleProvider) Project ¶
func (g *GoogleProvider) Project(key []byte) string
func (*GoogleProvider) SetPolicyInfo ¶
func (g *GoogleProvider) SetPolicyInfo(integration orchestrator.IntegrationInfo, app orchestrator.ApplicationInfo, policyInfos []policysupport.PolicyInfo) (int, error)
Click to show internal directories.
Click to hide internal directories.