Documentation ¶
Index ¶
- type CatalogClient
- func (c *CatalogClient) AddProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string, ...) error
- func (c *CatalogClient) GetProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string) ([]string, error)
- func (c *CatalogClient) RegisterDataProvider(ctx context.Context, service ProviderInternalInfo) error
- func (c *CatalogClient) RemoveProvider(ctx context.Context, providerType ptypes.ProviderType, ProviderId string) error
- func (c *CatalogClient) RemoveProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string, ...) error
- func (c *CatalogClient) SearchExistingProvider(ctx context.Context, service ProviderInternalInfo) (ProviderInternalInfo, error)
- type InternalCatalogAPI
- type ProviderInternalInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CatalogClient ¶
type CatalogClient struct {
// contains filtered or unexported fields
}
func (*CatalogClient) AddProviderVisibility ¶
func (c *CatalogClient) AddProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string, visibility []string) error
func (*CatalogClient) GetProviderVisibility ¶
func (c *CatalogClient) GetProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string) ([]string, error)
func (*CatalogClient) RegisterDataProvider ¶
func (c *CatalogClient) RegisterDataProvider(ctx context.Context, service ProviderInternalInfo) error
func (*CatalogClient) RemoveProvider ¶
func (c *CatalogClient) RemoveProvider(ctx context.Context, providerType ptypes.ProviderType, ProviderId string) error
func (*CatalogClient) RemoveProviderVisibility ¶
func (c *CatalogClient) RemoveProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string, visibility []string) error
func (*CatalogClient) SearchExistingProvider ¶
func (c *CatalogClient) SearchExistingProvider(ctx context.Context, service ProviderInternalInfo) (ProviderInternalInfo, error)
type InternalCatalogAPI ¶
type InternalCatalogAPI interface { RegisterDataProvider(ctx context.Context, service ProviderInternalInfo) error SearchExistingProvider(ctx context.Context, service ProviderInternalInfo) (ProviderInternalInfo, error) RemoveProvider(ctx context.Context, providerType ptypes.ProviderType, ProviderId string) error GetProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string) ([]string, error) AddProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string, visibility []string) error RemoveProviderVisibility(ctx context.Context, providerType ptypes.ProviderType, ProviderId string, visibility []string) error }
func NewClient ¶
func NewClient(url string) InternalCatalogAPI
type ProviderInternalInfo ¶
type ProviderInternalInfo struct { Id string `json:"id"` ProviderId string `json:"providerId"` Visibility []string `json:"visibility" description:"A set of values that are allowed to see this resource"` Type ptypes.ProviderType `json:"providerType"` Version string `json:"version"` Name string `json:"name"` Description string `json:"description"` Metadata map[string]interface{} `json:"metadata"` EndpointLocation string `json:"endpointLocation"` WorkflowStructure string `json:"workflowStructure"` }
Click to show internal directories.
Click to hide internal directories.