admin

package
v2.14.1+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeAdmissionPluginReq

func DecodeAdmissionPluginReq(c context.Context, r *http.Request) (interface{}, error)

func DecodePatchKubermaticSettingsReq

func DecodePatchKubermaticSettingsReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeSeedReq

func DecodeSeedReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeSetAdminReq

func DecodeSetAdminReq(c context.Context, r *http.Request) (interface{}, error)

DecodeSetAdminReq decodes an HTTP request into setAdminReq

func DecodeUpdateAdmissionPluginReq

func DecodeUpdateAdmissionPluginReq(c context.Context, r *http.Request) (interface{}, error)

func DecodeUpdateSeedReq

func DecodeUpdateSeedReq(c context.Context, r *http.Request) (interface{}, error)

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, seedClientGetter provider.SeedClientGetter) 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, seedClientGetter provider.SeedClientGetter) endpoint.Endpoint

UpdateSeedEndpoint updates seed element

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL