Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTypeMetaString ¶ added in v0.59.0
func GetTypeMetaString(gvk schema.GroupVersionKind) string
func NewExportServer ¶
func NewExportServer(config ExportServerConfig) service.Service
Types ¶
type ExportServerConfig ¶
type ExportServerConfig struct { Deadline time.Time ListenAddr string CertFile, KeyFile string TokenFile string Paths *export.ServerPaths // unit testing helpers ArchiveHandler func(string) http.Handler DirHandler func(string, string) http.Handler FileHandler func(string) http.Handler GzipHandler func(string) http.Handler VmHandler func([]export.VolumeInfo, func() (string, error), func() (*corev1.ConfigMap, error)) http.Handler TokenSecretHandler func(TokenGetterFunc) http.Handler TokenGetter TokenGetterFunc }
type TokenGetterFunc ¶
Click to show internal directories.
Click to hide internal directories.