Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetResponse ¶
type GetResponse struct { AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` IntegrationName string `protobuf:"bytes,2,opt,name=integration_name,json=integrationName,proto3" json:"integration_name,omitempty"` IntegrationConfig []*IntegrationConfig `protobuf:"bytes,4,rep,name=integration_config,json=integrationConfig,proto3" json:"integration_config,omitempty"` }
type HTTPClient ¶
type HTTPClient interface { PostResource(ctx context.Context, obj interface{}) error FetchConfig(ctx context.Context) (*IntegrationConfig, error) IsResourceAllowed(ctx context.Context, requiredGrants ...string) (bool, error) }
func NewHTTPClient ¶
func NewHTTPClient() (HTTPClient, error)
type IntegrationConfig ¶
type IntegrationConfig struct {
Grants []*Grant `protobuf:"bytes,3,rep,name=grants,proto3" json:"grants,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.