Documentation ¶
Index ¶
- Variables
- func GetClusterMapping(ctx context.Context, clusterService cluster.Service, ...) (cluster.ForType, error)
- func GetNamespaceByType(namespaces []*tenant.Namespace) map[environment.Type]*tenant.Namespace
- type ClusterResolver
- type NamespaceFilter
- type StatusController
- type TenantController
- type TenantUpdater
- type TenantsController
- type UpdateController
Constants ¶
This section is empty.
Variables ¶
var SERVICE_ACCOUNTS = []string{"fabric8-jenkins-idler", "rh-che"}
Functions ¶
func GetClusterMapping ¶
func GetNamespaceByType ¶
Types ¶
type ClusterResolver ¶
type NamespaceFilter ¶
type StatusController ¶
type StatusController struct { *goa.Controller // contains filtered or unexported fields }
StatusController implements the status resource.
func NewStatusController ¶
func NewStatusController(service *goa.Service, db *gorm.DB) *StatusController
NewStatusController creates a status controller.
func (*StatusController) Show ¶
func (c *StatusController) Show(ctx *app.ShowStatusContext) error
Show runs the show action.
type TenantController ¶
type TenantController struct { *goa.Controller // contains filtered or unexported fields }
TenantController implements the tenant resource.
func NewTenantController ¶
func NewTenantController( service *goa.Service, tenantService tenant.Service, clusterService cluster.Service, authClientService auth.Service, config *configuration.Data) *TenantController
NewTenantController creates a tenant controller.
func (*TenantController) Clean ¶
func (c *TenantController) Clean(ctx *app.CleanTenantContext) error
Clean runs the clean action.
func (*TenantController) Setup ¶
func (c *TenantController) Setup(ctx *app.SetupTenantContext) error
Setup runs the setup action.
func (*TenantController) Show ¶
func (c *TenantController) Show(ctx *app.ShowTenantContext) error
Show runs the show action.
func (*TenantController) Update ¶
func (c *TenantController) Update(ctx *app.UpdateTenantContext) error
Update runs the update action.
type TenantUpdater ¶
type TenantsController ¶
type TenantsController struct { *goa.Controller // contains filtered or unexported fields }
TenantsController implements the tenants resource.
func NewTenantsController ¶
func NewTenantsController( service *goa.Service, tenantService tenant.Service, clusterService cluster.Service, authClientService auth.Service, config *configuration.Data) *TenantsController
NewTenantsController creates a tenants controller.
func (*TenantsController) Delete ¶
func (c *TenantsController) Delete(ctx *app.DeleteTenantsContext) error
Delete runs the `delete` action to deprovision a user
func (*TenantsController) Search ¶
func (c *TenantsController) Search(ctx *app.SearchTenantsContext) error
Search runs the search action.
func (*TenantsController) Show ¶
func (c *TenantsController) Show(ctx *app.ShowTenantsContext) error
Show runs the show action.
type UpdateController ¶
type UpdateController struct { *goa.Controller // contains filtered or unexported fields }
UpdateController implements the update resource.
func NewUpdateController ¶
func NewUpdateController(service *goa.Service, db *gorm.DB, config *configuration.Data, clusterService cluster.Service, updateExecutor update.Executor) *UpdateController
NewUpdateController creates a update controller.
func (*UpdateController) Show ¶
func (c *UpdateController) Show(ctx *app.ShowUpdateContext) error
Show runs the show action.
func (*UpdateController) Start ¶
func (c *UpdateController) Start(ctx *app.StartUpdateContext) error
Start runs the start action.
func (*UpdateController) Stop ¶
func (c *UpdateController) Stop(ctx *app.StopUpdateContext) error
Stop runs the stop action.