clustertemplate

package
v2.21.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateEndpoint

func CreateEndpoint(
	projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter,
	clusterTemplateProvider provider.ClusterTemplateProvider,
	seedsGetter provider.SeedsGetter,
	credentialManager provider.PresetProvider,
	caBundle *x509.CertPool,
	exposeStrategy kubermaticv1.ExposeStrategy,
	sshKeyProvider provider.SSHKeyProvider,
	configGetter provider.KubermaticConfigurationGetter,
	features features.FeatureGate,
) endpoint.Endpoint

func CreateInstanceEndpoint

func CreateInstanceEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter, clusterTemplateProvider provider.ClusterTemplateProvider, seedsGetter provider.SeedsGetter, clusterTemplateProviderGetter provider.ClusterTemplateInstanceProviderGetter) endpoint.Endpoint

func DecodeCreateInstanceReq

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

func DecodeCreateReq

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

func DecodeExportReq added in v2.21.0

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

func DecodeGetReq

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

func DecodeImportReq added in v2.21.0

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

func DecodeListReq

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

func DeleteEndpoint

func DeleteEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter, clusterTemplateProvider provider.ClusterTemplateProvider) endpoint.Endpoint

func EncodeClusterTemplate added in v2.21.0

func EncodeClusterTemplate(_ context.Context, w http.ResponseWriter, response interface{}) (err error)

func ExportEndpoint added in v2.21.0

func ExportEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter, clusterTemplateProvider provider.ClusterTemplateProvider) endpoint.Endpoint

func GetEndpoint

func GetEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter, clusterTemplateProvider provider.ClusterTemplateProvider) endpoint.Endpoint

func ImportEndpoint added in v2.21.0

func ImportEndpoint(
	projectProvider provider.ProjectProvider,
	privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter,
	clusterTemplateProvider provider.ClusterTemplateProvider,
	seedsGetter provider.SeedsGetter,
	credentialManager provider.PresetProvider,
	caBundle *x509.CertPool,
	exposeStrategy kubermaticv1.ExposeStrategy,
	sshKeyProvider provider.SSHKeyProvider,
	configGetter provider.KubermaticConfigurationGetter,
	features features.FeatureGate,
) endpoint.Endpoint

func ListEndpoint

func ListEndpoint(projectProvider provider.ProjectProvider, privilegedProjectProvider provider.PrivilegedProjectProvider,
	userInfoGetter provider.UserInfoGetter, clusterTemplateProvider provider.ClusterTemplateProvider) endpoint.Endpoint

Types

This section is empty.

Jump to

Keyboard shortcuts

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