app

package
v0.0.0-...-82ba225 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2022 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupsByCreation

type BackupsByCreation []*v1alpha1.KuberlogicServiceBackup

func (BackupsByCreation) Len

func (b BackupsByCreation) Len() int

func (BackupsByCreation) Less

func (b BackupsByCreation) Less(i, j int) bool

func (BackupsByCreation) Swap

func (b BackupsByCreation) Swap(i, j int)

type ExtendedBackupGetter

type ExtendedBackupGetter interface {
	Backups() ExtendedBackupInterface
}

type ExtendedBackupInterface

type ExtendedBackupInterface interface {
	api.BackupInterface
	CreateByServiceName(ctx context.Context, name string) (*v1alpha1.KuberlogicServiceBackup, error)
	FirstSuccessful(ctx context.Context, opt v1.ListOptions, sortBy func([]*v1alpha1.KuberlogicServiceBackup) sort.Interface) (*v1alpha1.KuberlogicServiceBackup, error)
	Wait(ctx context.Context, resource *v1alpha1.KuberlogicServiceBackup, condition func(event watch.Event) (bool, error), timeout time.Duration) (*v1alpha1.KuberlogicServiceBackup, error)
}

type ExtendedRestoreGetter

type ExtendedRestoreGetter interface {
	Restores() ExtendedRestoreInterface
}

type ExtendedRestoreInterface

type ExtendedRestoreInterface interface {
	api.RestoreInterface
	CreateByBackupName(ctx context.Context, name string) (*v1alpha1.KuberlogicServiceRestore, error)
	Wait(ctx context.Context, resource *v1alpha1.KuberlogicServiceRestore, condition func(event watch.Event) (bool, error), timeout time.Duration) (*v1alpha1.KuberlogicServiceRestore, error)
}

type ExtendedServiceGetter

type ExtendedServiceGetter interface {
	Services() ExtendedServiceInterface
}

type ExtendedServiceInterface

type ExtendedServiceInterface interface {
	api.ServiceInterface
	Exists(ctx context.Context, opts v1.ListOptions) (bool, error)
}

type Handlers

type Handlers interface {
	OnShutdown()
	ListOptionsByKeyValue(key string, value *string) v1.ListOptions

	BackupAddHandler(params apiBackup.BackupAddParams, _ *models.Principal) middleware.Responder
	BackupDeleteHandler(params apiBackup.BackupDeleteParams, _ *models.Principal) middleware.Responder
	BackupListHandler(params apiBackup.BackupListParams, _ *models.Principal) middleware.Responder
	RestoreAddHandler(params apiRestore.RestoreAddParams, _ *models.Principal) middleware.Responder
	RestoreDeleteHandler(params apiRestore.RestoreDeleteParams, _ *models.Principal) middleware.Responder
	RestoreListHandler(params apiRestore.RestoreListParams, _ *models.Principal) middleware.Responder
	ServiceAddHandler(params apiService.ServiceAddParams, _ *models.Principal) middleware.Responder
	ServiceArchiveHandler(params apiService.ServiceArchiveParams, _ *models.Principal) middleware.Responder
	ServiceCredentialsUpdateHandler(params apiService.ServiceCredentialsUpdateParams, _ *models.Principal) middleware.Responder
	ServiceDeleteHandler(params apiService.ServiceDeleteParams, _ *models.Principal) middleware.Responder
	ServiceEditHandler(params apiService.ServiceEditParams, _ *models.Principal) middleware.Responder
	ServiceExplainHandler(params apiService.ServiceExplainParams, _ *models.Principal) middleware.Responder
	ServiceGetHandler(params apiService.ServiceGetParams, _ *models.Principal) middleware.Responder
	ServiceListHandler(params apiService.ServiceListParams, _ *models.Principal) middleware.Responder
	ServiceLogsHandler(params apiService.ServiceLogsParams, _ *models.Principal) middleware.Responder
	ServiceSecretsListHandler(params apiService.ServiceSecretsListParams, _ *models.Principal) middleware.Responder
	ServiceUnarchiveHandler(params apiService.ServiceUnarchiveParams, _ *models.Principal) middleware.Responder
}

func New

func New(cfg *config.Config, clientset kubernetes.Interface, client rest.Interface, log logging.Logger) Handlers

Jump to

Keyboard shortcuts

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