Documentation ¶
Index ¶
- func DecodeAdmissionPluginReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodePatchKubermaticSettingsReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeSeedReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeSetAdminReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeUpdateAdmissionPluginReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeUpdateSeedReq(c context.Context, r *http.Request) (interface{}, error)
- func DeleteAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func DeleteSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, ...) endpoint.Endpoint
- func GetAdminEndpoint(userInfoGetter provider.UserInfoGetter, adminProvider provider.AdminProvider) endpoint.Endpoint
- func GetAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func GetSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter) endpoint.Endpoint
- func KubermaticCustomLinksEndpoint(settingsProvider provider.SettingsProvider) endpoint.Endpoint
- func KubermaticSettingsEndpoint(settingsProvider provider.SettingsProvider) endpoint.Endpoint
- func ListAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func ListSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter) endpoint.Endpoint
- func SetAdminEndpoint(userInfoGetter provider.UserInfoGetter, adminProvider provider.AdminProvider) endpoint.Endpoint
- func UpdateAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func UpdateKubermaticSettingsEndpoint(userInfoGetter provider.UserInfoGetter, ...) endpoint.Endpoint
- func UpdateSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, ...) endpoint.Endpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeSetAdminReq ¶
DecodeSetAdminReq decodes an HTTP request into setAdminReq
func DecodeUpdateSeedReq ¶
func DeleteAdmissionPluginEndpoint ¶
func DeleteAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, admissionPluginProvider provider.AdmissionPluginsProvider) endpoint.Endpoint
DeleteAdmissionPluginEndpoint deletes the admission plugin
func DeleteSeedEndpoint ¶
func DeleteSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, masterClient client.Client) endpoint.Endpoint
DeleteSeedEndpoint deletes seed CRD element with the given name from the Kubermatic
func GetAdminEndpoint ¶
func GetAdminEndpoint(userInfoGetter provider.UserInfoGetter, adminProvider provider.AdminProvider) endpoint.Endpoint
GetAdminEndpoint returns list of admin users
func GetAdmissionPluginEndpoint ¶
func GetAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, admissionPluginProvider provider.AdmissionPluginsProvider) endpoint.Endpoint
GetAdmissionPluginEndpoint returns the admission plugin
func GetSeedEndpoint ¶
func GetSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter) endpoint.Endpoint
GetSeedEndpoint returns seed element
func KubermaticCustomLinksEndpoint ¶
func KubermaticCustomLinksEndpoint(settingsProvider provider.SettingsProvider) endpoint.Endpoint
KubermaticCustomLinksEndpoint returns custom links
func KubermaticSettingsEndpoint ¶
func KubermaticSettingsEndpoint(settingsProvider provider.SettingsProvider) endpoint.Endpoint
KubermaticSettingsEndpoint returns global settings
func ListAdmissionPluginEndpoint ¶
func ListAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, admissionPluginProvider provider.AdmissionPluginsProvider) endpoint.Endpoint
ListAdmissionPluginEndpoint returns admission plugin list
func ListSeedEndpoint ¶
func ListSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter) endpoint.Endpoint
ListSeedsEndpoint returns seed list
func SetAdminEndpoint ¶
func SetAdminEndpoint(userInfoGetter provider.UserInfoGetter, adminProvider provider.AdminProvider) endpoint.Endpoint
SetAdminEndpoint allows setting and clearing admin role for users
func UpdateAdmissionPluginEndpoint ¶
func UpdateAdmissionPluginEndpoint(userInfoGetter provider.UserInfoGetter, admissionPluginProvider provider.AdmissionPluginsProvider) endpoint.Endpoint
UpdateAdmissionPluginEndpoint updates the admission plugin
func UpdateKubermaticSettingsEndpoint ¶
func UpdateKubermaticSettingsEndpoint(userInfoGetter provider.UserInfoGetter, settingsProvider provider.SettingsProvider) endpoint.Endpoint
UpdateKubermaticSettingsEndpoint updates global settings
func UpdateSeedEndpoint ¶
func UpdateSeedEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, masterClient client.Client) endpoint.Endpoint
UpdateSeedEndpoint updates seed element
Types ¶
This section is empty.