admin

package
v2.19.14 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

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 DecodeAdmissionPluginReq

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

func DecodeBackupDestinationReq added in v2.19.0

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

func DecodeGetMeteringReportReq added in v2.18.0

func DecodeGetMeteringReportReq(_ context.Context, r *http.Request) (interface{}, error)

func DecodeListMeteringReportReq added in v2.18.0

func DecodeListMeteringReportReq(_ context.Context, r *http.Request) (interface{}, error)

func DecodeMeteringConfigurationsReq added in v2.18.0

func DecodeMeteringConfigurationsReq(_ context.Context, r *http.Request) (interface{}, error)

func DecodeMeteringSecretReq added in v2.18.0

func DecodeMeteringSecretReq(_ 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 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.

Jump to

Keyboard shortcuts

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