Documentation
¶
Index ¶
- type GlusterfsAdmin
- func (a *GlusterfsAdmin) Create(ctx context.Context, name, cookie string, nworkers int32, ...) (glusterfs *model.Glusterfs, err error)
- func (a *GlusterfsAdmin) Delete(ctx context.Context, id int64) (err error)
- func (a *GlusterfsAdmin) GetState(ctx context.Context, id int64) (status string, err error)
- func (a *GlusterfsAdmin) List(ctx context.Context, offset, limit int64, order, query string) (total int64, glusterfses []*model.Glusterfs, err error)
- func (a *GlusterfsAdmin) State(ctx context.Context, id int64, status string, nworkers int32) (err error)
- func (a *GlusterfsAdmin) Update(ctx context.Context, id, heketiKey, flavorID int64, nworkers int32) (glusterfs *model.Glusterfs, err error)
- type GlusterfsView
- func (v *GlusterfsView) Create(c *macaron.Context, store session.Store)
- func (v *GlusterfsView) Delete(c *macaron.Context, store session.Store) (err error)
- func (v *GlusterfsView) Edit(c *macaron.Context, store session.Store)
- func (v *GlusterfsView) List(c *macaron.Context, store session.Store)
- func (v *GlusterfsView) New(c *macaron.Context, store session.Store)
- func (v *GlusterfsView) Patch(c *macaron.Context, store session.Store)
- func (v *GlusterfsView) State(c *macaron.Context, store session.Store)
- type OpenshiftAdmin
- func (a *OpenshiftAdmin) Create(ctx context.Context, cluster, domain, cookie, haflag, extIP string, ...) (openshift *model.Openshift, err error)
- func (a *OpenshiftAdmin) Delete(ctx context.Context, id int64) (err error)
- func (a *OpenshiftAdmin) GetState(ctx context.Context, id int64) (status string, err error)
- func (a *OpenshiftAdmin) Launch(ctx context.Context, id int64, hostname, ipaddr string) (instance *model.Instance, err error)
- func (a *OpenshiftAdmin) List(ctx context.Context, offset, limit int64, order, query string) (total int64, openshifts []*model.Openshift, err error)
- func (a *OpenshiftAdmin) State(ctx context.Context, id int64, status string) (err error)
- func (a *OpenshiftAdmin) Update(ctx context.Context, id, flavorID int64, nworkers int32) (openshift *model.Openshift, err error)
- type OpenshiftView
- func (v *OpenshiftView) Create(c *macaron.Context, store session.Store)
- func (v *OpenshiftView) Delete(c *macaron.Context, store session.Store) (err error)
- func (v *OpenshiftView) Edit(c *macaron.Context, store session.Store)
- func (v *OpenshiftView) Launch(c *macaron.Context, store session.Store)
- func (v *OpenshiftView) List(c *macaron.Context, store session.Store)
- func (v *OpenshiftView) New(c *macaron.Context, store session.Store)
- func (v *OpenshiftView) Patch(c *macaron.Context, store session.Store)
- func (v *OpenshiftView) State(c *macaron.Context, store session.Store)
- type RegistryAdmin
- func (a *RegistryAdmin) Create(ctx context.Context, ...) (registry *model.Registry, err error)
- func (a *RegistryAdmin) Delete(id int64) (err error)
- func (a *RegistryAdmin) List(offset, limit int64, order, query string) (total int64, registrys []*model.Registry, err error)
- func (a *RegistryAdmin) Update(ctx context.Context, id int64, ...) (registry *model.Registry, err error)
- type RegistryView
- func (v *RegistryView) Create(c *macaron.Context, store session.Store)
- func (v *RegistryView) Delete(c *macaron.Context, store session.Store) (err error)
- func (v *RegistryView) Edit(c *macaron.Context, store session.Store)
- func (v *RegistryView) List(c *macaron.Context, store session.Store)
- func (v *RegistryView) New(c *macaron.Context, store session.Store)
- func (v *RegistryView) Patch(c *macaron.Context, store session.Store)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GlusterfsAdmin ¶
type GlusterfsAdmin struct{}
func (*GlusterfsAdmin) Delete ¶
func (a *GlusterfsAdmin) Delete(ctx context.Context, id int64) (err error)
type GlusterfsView ¶
type GlusterfsView struct{}
func (*GlusterfsView) Create ¶
func (v *GlusterfsView) Create(c *macaron.Context, store session.Store)
type OpenshiftAdmin ¶
type OpenshiftAdmin struct{}
func (*OpenshiftAdmin) Delete ¶
func (a *OpenshiftAdmin) Delete(ctx context.Context, id int64) (err error)
type OpenshiftView ¶
type OpenshiftView struct{}
func (*OpenshiftView) Create ¶
func (v *OpenshiftView) Create(c *macaron.Context, store session.Store)
func (*OpenshiftView) Launch ¶
func (v *OpenshiftView) Launch(c *macaron.Context, store session.Store)
type RegistryAdmin ¶
type RegistryAdmin struct{}
func (*RegistryAdmin) Delete ¶
func (a *RegistryAdmin) Delete(id int64) (err error)
Click to show internal directories.
Click to hide internal directories.