Documentation
¶
Index ¶
Constants ¶
View Source
const Route = "/teams"
Route is the route under which the plugin should be registered in our router for the rest api.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Home bool `json:"home"`
}
Config is the structure of the configuration for the teams plugin.
type Router ¶
type Router struct { *chi.Mux // contains filtered or unexported fields }
Router implements the router for the teams plugin, which can be registered in the router for our rest api. The router contains all api endpoints for the plugin, the cluster client to get the teams from the Kubernetes api server and the user defined configuration.
Click to show internal directories.
Click to hide internal directories.