Versions in this module Expand all Collapse all v1 v1.0.1 Nov 17, 2020 v1.0.0 Nov 13, 2020 Changes in this version + const APIVersion + const DefaultPrometheusEndpoint + const DefaultServerAddress + const DefaultSessionExpiration + const SessionSSOStateKey + const SessionSSOStateLength + var DefaultDeleteOptions = metav1.DeleteOptions + var DefaultGracePeriodSeconds = int64(0) + var DefaultPropagationPolicy = metav1.DeletePropagationBackground + var Version = "dev" + func CSRFWithConfig(key []byte, config middleware.CSRFConfig) echo.MiddlewareFunc + func CreateUser(ctx context.Context, cli client.Client, u v1alpha1.UserTemplate, ...) (*v1alpha1.UserRequest, error) + func CreateUserPassword(ctx context.Context, cli client.Client, u *v1alpha1.UserRequest, ...) error + func User(c echo.Context) *v1alpha1.User + func UserOwnerReference(u *v1alpha1.UserRequest) metav1.OwnerReference + type Claims struct + User *v1alpha1.User + type Config struct + Address string + AssetsDir string + CertFile string + Debug bool + DisablePProf bool + InCluster bool + KeyFile string + KubeConfig *rest.Config + MarketplaceContact string + MarketplaceNoAppsLink string + MarketplaceNoAppsMsg string + PrometheusEndpoint string + Scheme *runtime.Scheme + SessionCookieName string + SessionExpiration time.Duration + SessionKey string + func (c *Config) FromEnv() error + type Controller struct + func New(config Config) (*Controller, error) + func (x *Controller) AppsDelete(c echo.Context) error + func (x *Controller) AppsDeploy(c echo.Context) error + func (x *Controller) AppsUpdate(c echo.Context) error + func (x *Controller) CanUser(verb, res string) echo.MiddlewareFunc + func (x *Controller) CanUserNS(verb, res, ns string) echo.MiddlewareFunc + func (x *Controller) CheckUserAccess(u *v1alpha1.User, ns, verb string, gvr schema.GroupResource) (bool, error) + func (x *Controller) CheckUserClusterAccess(u *v1alpha1.User, verb string, gvr schema.GroupResource) (bool, error) + func (x *Controller) ContainerStatus(c echo.Context) error + func (x *Controller) ContainersListAll(c echo.Context) error + func (x *Controller) CreateKeyPair(c echo.Context) error + func (x *Controller) CreateStackAppFromNamespace(c echo.Context) error + func (x *Controller) DexProxy(c echo.Context) error + func (x *Controller) ExportStackApp(c echo.Context) error + func (x *Controller) GenericCreate(c echo.Context) error + func (x *Controller) GenericDelete(c echo.Context) error + func (x *Controller) GenericDeleteAll(c echo.Context) error + func (x *Controller) GenericDeleteSelected(c echo.Context) error + func (x *Controller) GenericGet(c echo.Context) error + func (x *Controller) GenericListAll(c echo.Context) error + func (x *Controller) GenericPatch(c echo.Context) error + func (x *Controller) GenericUpdate(c echo.Context) error + func (x *Controller) GetSSOConfig(k kubernetes.Interface) (sso.Config, error) + func (x *Controller) GetUserKubeConfig(c echo.Context) error + func (x *Controller) GetUserKubeConfigCallback(c echo.Context) error + func (x *Controller) ImpersonationClient(next echo.HandlerFunc) echo.HandlerFunc + func (x *Controller) KubeProxy(c echo.Context) error + func (x *Controller) KubeWebSocketConnect(ctx context.Context, user *usersv1alpha1.User, ...) (*websocket.Conn, error) + func (x *Controller) ListGroupRoles(c echo.Context) error + func (x *Controller) ListMyAccess(c echo.Context) error + func (x *Controller) ListNamespaceResources(c echo.Context) error + func (x *Controller) ListUserAccess(c echo.Context) error + func (x *Controller) ListUserNamespaces(ctx context.Context, k kubernetes.Interface) ([]corev1.Namespace, error) + func (x *Controller) ListUserRoles(c echo.Context) error + func (x *Controller) ListUsers(c echo.Context) error + func (x *Controller) Login(c echo.Context) error + func (x *Controller) Logout(c echo.Context) error + func (x *Controller) MachinesCreate(c echo.Context) error + func (x *Controller) MachinesListAll(c echo.Context) error + func (x *Controller) MachinesSchema(c echo.Context) error + func (x *Controller) MarketplaceAppDetail(c echo.Context) error + func (x *Controller) MarketplaceAppsListAll(c echo.Context) error + func (x *Controller) MustUser(next echo.HandlerFunc) echo.HandlerFunc + func (x *Controller) NamespaceUsers(c echo.Context) error + func (x *Controller) NodeMetrics(c echo.Context) error + func (x *Controller) PodMetrics(c echo.Context) error + func (x *Controller) ProxyRun(proxy string, client, server *websocket.Conn) error + func (x *Controller) RBACCheckAccess(c echo.Context) error + func (x *Controller) ReleaseSecret(c echo.Context) error + func (x *Controller) ResetPassword(c echo.Context) error + func (x *Controller) Run(ctx context.Context) error + func (x *Controller) SSOCallback(c echo.Context) error + func (x *Controller) SSOLoginRedirect(c echo.Context) error + func (x *Controller) SSOSettingDelete(c echo.Context) error + func (x *Controller) SSOSettingGet(c echo.Context) error + func (x *Controller) SSOSettingUpdate(c echo.Context) error + func (x *Controller) SSOStatus(c echo.Context) error + func (x *Controller) SecretsKubeconfig(c echo.Context) error + func (x *Controller) SelfSubjectRulesReview(k kubernetes.Interface, ns string) ([]authorizationv1.ResourceRule, error) + func (x *Controller) ServerGroupsAndResources(ctx context.Context) ([]*metav1.APIGroup, []*metav1.APIResourceList, error) + func (x *Controller) ServerPreferredResources(ctx context.Context) ([]*metav1.APIResourceList, error) + func (x *Controller) ServerResources(ctx context.Context) ([]*metav1.APIResourceList, error) + func (x *Controller) ServerResourcesForGroupVersion(ctx context.Context, groupVersion string) (*metav1.APIResourceList, error) + func (x *Controller) SetDefaultDexConnector(c echo.Context) error + func (x *Controller) UIConfigHandler(c echo.Context) error + func (x *Controller) UpdateDefaultNamespace(c echo.Context) error + func (x *Controller) UpdateDexConnector(c echo.Context) error + func (x *Controller) UpdateSSOConfig(k kubernetes.Interface, conf sso.Config) error + func (x *Controller) UploadAvatar(c echo.Context) error + func (x *Controller) UploadFiles(c echo.Context) error + func (x *Controller) UploadSigningKey(c echo.Context) error + func (x *Controller) UserAdd(c echo.Context) error + func (x *Controller) UserChangePassword(c echo.Context) error + func (x *Controller) UserClient(c echo.Context) kubernetes.Interface + func (x *Controller) UserShell(c echo.Context) error + func (x *Controller) WatchNamespaceResources(c echo.Context) error + type DeleteSelectedOptions struct + All bool + DeleteOptions *metav1.DeleteOptions + Items []string + ListOptions metav1.ListOptions + type InformerCaches struct + type Map = map[string]interface + type Metric struct + Timestamp time.Time + Value string + func (m *Metric) MarshalJSON() ([]byte, error) + type WebsocketAction string + const ContainerAttachAction + const ContainerExecAction + const ContainerLogsAction + const WatchNodesAction + const WatchResourceAction + type WebsocketRequest struct + Action WebsocketAction + Params url.Values + Protocol string + func ParseWebsocketRequest(u *url.URL) (*WebsocketRequest, error) + func (r *WebsocketRequest) Path(ns string) string + func (r *WebsocketRequest) PathParams(ns string) string + func (r *WebsocketRequest) QueryParams() url.Values