Documentation ¶
Index ¶
Constants ¶
View Source
const ORCH_PATH = "/v1/orchestrator"
View Source
const RegistryVersion = "/v1/"
View Source
const SystemName = "registry"
Variables ¶
View Source
var ( RoleType_name = map[int32]string{ 0: "OWNER", 1: "ADMIN", 2: "EMPLOYEE", 3: "VENDOR", 4: "USERS", } RoleType_value = map[string]int32{ "OWNER": 0, "ADMIN": 1, "EMPLOYEE": 2, "VENDOR": 3, "USERS": 4, } )
Enum value maps for RoleType.
Functions ¶
func NewRegistryProvider ¶
Types ¶
type DeployOrgRequest ¶
type DeployOrgResponse ¶
type DeployOrgResponse struct { }
type DestroyOrgRequest ¶
type DestroyOrgResponse ¶
type DestroyOrgResponse struct { }
type OrchestratorProvider ¶
type OrchestratorProvider interface { DeployOrg(req DeployOrgRequest) (*DeployOrgResponse, error) DestroyOrg(req DestroyOrgRequest) (*DestroyOrgResponse, error) }
OrchestratorClientProvider creates a local client to interact with a remote instance of Users service.
func NewOrchestratorProvider ¶
func NewOrchestratorProvider(orchestratorHost string, debug bool) OrchestratorProvider
type RegistryProvider ¶
type UserClientProvider ¶
type UserClientProvider interface {
GetClient() (pb.UserServiceClient, error)
}
UserClientProvider creates a local client to interact with a remote instance of Users service.
func NewUserClientProvider ¶
func NewUserClientProvider(userHost string) UserClientProvider
Click to show internal directories.
Click to hide internal directories.