failoverassistant

package
v0.14.2 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assistant

type Assistant interface {
	Run(stopCh <-chan struct{}) error
}

Assistant interface

func New

func New(clientset *kubernetes.Clientset) Assistant

New an assistant instance

type Cache

type Cache interface {
	Set(key string, obj interface{}, expiration time.Duration)
	Get(key string) (interface{}, bool)
}

Cache interface

func NewCache

func NewCache() Cache

NewCache creates a cache with expired function

type VolumeFailoverRestRequest

type VolumeFailoverRestRequest struct {
	VolumeName        string `json:"volumeName,omitempty"`
	StorageClassName  string `json:"storageClassName,omitempty"`
	VolmeAttachmentID string `json:"volumeAttachmentId,omitempty"`
	NodeName          string `json:"nodeName,omitempty"`
}

VolumeFailoverRestRequest struct

Jump to

Keyboard shortcuts

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