Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
AdminKubeConfigPaths = []string{
"/etc/openshift/master/admin.kubeconfig",
"/openshift.local.config/master/admin.kubeconfig",
"./openshift.local.config/master/admin.kubeconfig",
}
)
Functions ¶
func UserCan ¶
func UserCan(sarClient authorizationtypedclient.SelfSubjectAccessReviewsGetter, action *authorization.ResourceAttributes) (bool, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.