Documentation ¶
Index ¶
- type GoogleClient
- func (c *GoogleClient) GetAppEngineApplications() ([]policyprovider.ApplicationInfo, error)
- func (c *GoogleClient) GetBackendApplications() ([]policyprovider.ApplicationInfo, error)
- func (c *GoogleClient) GetBackendPolicy(name, objectId string) ([]iam.Binding, error)
- func (c *GoogleClient) SetBackendPolicy(name, objectId string, binding *iam.Binding) error
- type GoogleProvider
- func (g *GoogleProvider) DiscoverApplications(info policyprovider.IntegrationInfo) (apps []policyprovider.ApplicationInfo, err error)
- func (g *GoogleProvider) GetPolicyInfo(integration policyprovider.IntegrationInfo, app policyprovider.ApplicationInfo) (infos []hexapolicy.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 policyprovider.IntegrationInfo, app policyprovider.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() ([]policyprovider.ApplicationInfo, error)
func (*GoogleClient) GetBackendApplications ¶
func (c *GoogleClient) GetBackendApplications() ([]policyprovider.ApplicationInfo, error)
func (*GoogleClient) GetBackendPolicy ¶
func (c *GoogleClient) GetBackendPolicy(name, objectId string) ([]iam.Binding, error)
func (*GoogleClient) SetBackendPolicy ¶
func (c *GoogleClient) SetBackendPolicy(name, objectId string, binding *iam.Binding) error
type GoogleProvider ¶
type GoogleProvider struct { HttpClientOverride HTTPClient GcpMapper *gcpBind.GooglePolicyMapper }
func (*GoogleProvider) DiscoverApplications ¶
func (g *GoogleProvider) DiscoverApplications(info policyprovider.IntegrationInfo) (apps []policyprovider.ApplicationInfo, err error)
func (*GoogleProvider) GetPolicyInfo ¶
func (g *GoogleProvider) GetPolicyInfo(integration policyprovider.IntegrationInfo, app policyprovider.ApplicationInfo) (infos []hexapolicy.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 policyprovider.IntegrationInfo, app policyprovider.ApplicationInfo, policyInfos []hexapolicy.PolicyInfo) (int, error)
Click to show internal directories.
Click to hide internal directories.