Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultTemplateName = "project-request" ProjectNameParam = "PROJECT_NAME" ProjectDisplayNameParam = "PROJECT_DISPLAYNAME" ProjectDescriptionParam = "PROJECT_DESCRIPTION" ProjectAdminUserParam = "PROJECT_ADMIN_USER" ProjectRequesterParam = "PROJECT_REQUESTING_USER" )
Variables ¶
View Source
var ( ForbiddenNames = []string{"openshift", "kubernetes", "kube"} ForbiddenPrefixes = []string{"openshift-", "kubernetes-", "kube-"} )
Functions ¶
func DefaultTemplate ¶
func DefaultTemplate() *templateapi.Template
Types ¶
type REST ¶
type REST struct {
// contains filtered or unexported fields
}
func NewREST ¶
func NewREST(message, templateNamespace, templateName string, projectClient projectclientinternal.ProjectsGetter, templateClient templateclient.Interface, sarClient authorizationclient.SubjectAccessReviewInterface, restConfig *restclient.Config, roleBindings rbaclisters.RoleBindingLister) *REST
func (*REST) List ¶
func (r *REST) List(ctx apirequest.Context, options *metainternal.ListOptions) (runtime.Object, error)
Click to show internal directories.
Click to hide internal directories.