Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Commit current build commit set by build script Commit = "0" // BuildTime set by build script in ISO 8601 (UTC) format: YYYY-MM-DDThh:mm:ssTZD (see https://www.w3.org/TR/NOTE-datetime for details) BuildTime = "0" // StartTime in ISO 8601 (UTC) format StartTime = time.Now().UTC().Format("2006-01-02T15:04:05Z") )
Functions ¶
func GetNamespaceType ¶
func GetNamespaceType(name string) tenant.NamespaceType
GetNamespaceType attempts to extract the namespace type based on namespace name
Types ¶
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 status resource.
func NewTenantController ¶
func NewTenantController(service *goa.Service, tenantService tenant.Service, keycloakConfig keycloak.Config, openshiftConfig openshift.Config, templateVars map[string]string) *TenantController
NewTenantController creates a status controller.
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 setup action.
func (*TenantController) Update ¶
func (c *TenantController) Update(ctx *app.UpdateTenantContext) error
Update runs the setup action.
type TenantToken ¶
type TenantToken struct {
// contains filtered or unexported fields
}
func (TenantToken) Email ¶
func (t TenantToken) Email() string
func (TenantToken) Subject ¶
func (t TenantToken) Subject() uuid.UUID
Click to show internal directories.
Click to hide internal directories.