Documentation ¶
Index ¶
- type Ostack
- func (o *Ostack) ServeCreateServer(c echo.Context) error
- func (o *Ostack) ServeDeleteServer(c echo.Context) error
- func (o *Ostack) ServeGetHealth(c echo.Context) error
- func (o *Ostack) ServeGetServerDetail(c echo.Context) error
- func (o *Ostack) ServeGetToken(c echo.Context) error
- func (o *Ostack) ServeListFlavors(c echo.Context) error
- func (o *Ostack) ServeListServerDetails(c echo.Context) error
- func (o *Ostack) ServeListVolumes(c echo.Context) error
- func (o *Ostack) ServeServerAction(c echo.Context) error
- func (o *Ostack) ServeUpdateVolume(c echo.Context) error
- func (o *Ostack) Start() error
- type OstackOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ostack ¶
type Ostack struct {
// contains filtered or unexported fields
}
func NewOstack ¶
func NewOstack(options ...OstackOption) (*Ostack, error)
func (*Ostack) ServeCreateServer ¶
func (*Ostack) ServeDeleteServer ¶
func (*Ostack) ServeGetHealth ¶
func (*Ostack) ServeGetServerDetail ¶
func (*Ostack) ServeGetToken ¶
func (*Ostack) ServeListFlavors ¶
func (*Ostack) ServeListServerDetails ¶
func (*Ostack) ServeListVolumes ¶
func (*Ostack) ServeServerAction ¶
func (*Ostack) ServeUpdateVolume ¶
type OstackOption ¶
type OstackOption func(ostack *Ostack)
func TenantCredentials ¶
func TenantCredentials(tenantId, user, password string) OstackOption
func Token ¶
func Token(token string) OstackOption
Click to show internal directories.
Click to hide internal directories.