Documentation ¶
Index ¶
- Constants
- func StartClusterAPI(clusterApiBase string, clusterPort uint16) error
- func StartGraphAPI(name string, restBase string) error
- func StartPluginAPI(name string, mgmtBase string, pluginBase string, mgmtPort uint16, ...) error
- func StartVolumeMgmtAPI(name string, mgmtBase string, mgmtPort uint16) error
- func StartVolumePluginAPI(name string, pluginBase string, pluginPort uint16) error
- type Route
Constants ¶
View Source
const (
// GraphDriver is the string returned in the handshake protocol.
GraphDriver = "GraphDriver"
)
View Source
const (
// VolumeDriver is the string returned in the handshake protocol.
VolumeDriver = "VolumeDriver"
)
Variables ¶
This section is empty.
Functions ¶
func StartClusterAPI ¶
StartClusterAPI starts a REST server to receive driver configuration commands from the CLI/UX to control the OSD cluster.
func StartGraphAPI ¶
StartGraphAPI starts a REST server to receive GraphDriver commands from the Linux container engine.
func StartPluginAPI ¶
func StartPluginAPI( name string, mgmtBase string, pluginBase string, mgmtPort uint16, pluginPort uint16, ) error
StartPluginAPI starts a REST server to receive volume API commands from the Linux container engine and volume management commands from the CLI/UX.
func StartVolumeMgmtAPI ¶
StartVolumeMgmtAPI starts a REST server to receive volume management API commands
Types ¶
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is a specification and handler for a REST endpoint.
func GetClusterAPIRoutes ¶
func GetClusterAPIRoutes() []*Route
func GetVolumeAPIRoutes ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Package sdk is the gRPC implementation of the SDK gRPC server Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
Package sdk is the gRPC implementation of the SDK gRPC server Copyright 2018 Portworx Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
Click to show internal directories.
Click to hide internal directories.