Documentation ¶
Index ¶
- Constants
- Variables
- func LivenessCheckHandler(w http.ResponseWriter, r *http.Request)
- func Migrate(convertedObject *unstructured.Unstructured, toVersion string) error
- func ServeConversionWebhook(ctx context.Context) error
- func ServeDriveConversion(w http.ResponseWriter, r *http.Request)
- func ServeVolumeConversion(w http.ResponseWriter, r *http.Request)
- type CRDKind
Constants ¶
View Source
const ( DriveHandlerPath = "/convertdrive" VolumeHandlerPath = "/convertvolume" )
Variables ¶
View Source
var (
ErrCRDKindNotSupported = errors.New("Unsupported CRD Kind")
)
Functions ¶
func LivenessCheckHandler ¶
func LivenessCheckHandler(w http.ResponseWriter, r *http.Request)
LivenessCheckHandler - Checks if the process is up. Always returns success.
func Migrate ¶
func Migrate(convertedObject *unstructured.Unstructured, toVersion string) error
func ServeConversionWebhook ¶
func ServeDriveConversion ¶
func ServeDriveConversion(w http.ResponseWriter, r *http.Request)
func ServeVolumeConversion ¶
func ServeVolumeConversion(w http.ResponseWriter, r *http.Request)
Types ¶
Click to show internal directories.
Click to hide internal directories.