Documentation ¶
Index ¶
- func CreateOrUpdateMeteringConfigurations(userInfoGetter provider.UserInfoGetter, masterClient client.Client) endpoint.Endpoint
- func CreateOrUpdateMeteringCredentials(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, ...) endpoint.Endpoint
- func DecodeAdmissionPluginReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeBackupDestinationReq(c context.Context, r *http.Request) (interface{}, error)
- func DecodeGetMeteringReportReq(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeListMeteringReportReq(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeMeteringConfigurationsReq(_ context.Context, r *http.Request) (interface{}, error)
- func DecodeMeteringSecretReq(_ 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 DeleteBackupDestinationEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, ...) 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 GetMeteringReportEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, ...) 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 ListMeteringReportsEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, ...) 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 CreateOrUpdateMeteringConfigurations ¶ added in v2.18.0
func CreateOrUpdateMeteringConfigurations(userInfoGetter provider.UserInfoGetter, masterClient client.Client) endpoint.Endpoint
CreateOrUpdateMeteringConfigurations configures kkp metering tool.
func CreateOrUpdateMeteringCredentials ¶ added in v2.18.0
func CreateOrUpdateMeteringCredentials(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, seedClientGetter provider.SeedClientGetter) endpoint.Endpoint
CreateOrUpdateMeteringCredentials creates or updates metering tool SecretReq.
func DecodeBackupDestinationReq ¶ added in v2.19.0
func DecodeGetMeteringReportReq ¶ added in v2.18.0
func DecodeListMeteringReportReq ¶ added in v2.18.0
func DecodeMeteringConfigurationsReq ¶ added in v2.18.0
func DecodeMeteringSecretReq ¶ added in v2.18.0
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 DeleteBackupDestinationEndpoint ¶ added in v2.19.0
func DeleteBackupDestinationEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, masterClient client.Client) endpoint.Endpoint
DeleteBackupDestinationEndpoint deletes a backup destination from a seed
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 GetMeteringReportEndpoint ¶ added in v2.18.0
func GetMeteringReportEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, seedClientGetter provider.SeedClientGetter) endpoint.Endpoint
GetMeteringReportEndpoint get a presigned url to download specific report.
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 ListMeteringReportsEndpoint ¶ added in v2.18.0
func ListMeteringReportsEndpoint(userInfoGetter provider.UserInfoGetter, seedsGetter provider.SeedsGetter, seedClientGetter provider.SeedClientGetter) endpoint.Endpoint
ListMeteringReportsEndpoint lists available reports
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.