Documentation ¶
Index ¶
- Constants
- type ManagerApi
- func (r *ManagerApi) GetApplicationManager(user, token string) (*manager_applications.AppliationManager, error)
- func (r *ManagerApi) GetBindingsManager(user, token string) (*manager_bindings.BindingsManager, error)
- func (r *ManagerApi) GetClustersManager(user, token string) (*manager_clusters.ClustersManager, error)
- func (r *ManagerApi) GetResourceManager(user, token string) (*sponge_resources.ResourcesManager, error)
- func (r *ManagerApi) GetStrategiesManager(user, token string) (*manager_strategies.StrategiesManager, error)
- func (r *ManagerApi) RegisterUser(userId, token string) error
- type Recorder
Constants ¶
View Source
const (
UserIdListSavePath = "/spongeregister/superbahnManager/userInfo/idList"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagerApi ¶
type ManagerApi struct {
// contains filtered or unexported fields
}
func NewManagerApi ¶
func NewManagerApi(ctx context.Context, recorder Recorder) (*ManagerApi, error)
func (*ManagerApi) GetApplicationManager ¶
func (r *ManagerApi) GetApplicationManager(user, token string) (*manager_applications.AppliationManager, error)
func (*ManagerApi) GetBindingsManager ¶
func (r *ManagerApi) GetBindingsManager(user, token string) (*manager_bindings.BindingsManager, error)
func (*ManagerApi) GetClustersManager ¶
func (r *ManagerApi) GetClustersManager(user, token string) (*manager_clusters.ClustersManager, error)
func (*ManagerApi) GetResourceManager ¶
func (r *ManagerApi) GetResourceManager(user, token string) (*sponge_resources.ResourcesManager, error)
func (*ManagerApi) GetStrategiesManager ¶
func (r *ManagerApi) GetStrategiesManager(user, token string) (*manager_strategies.StrategiesManager, error)
func (*ManagerApi) RegisterUser ¶
func (r *ManagerApi) RegisterUser(userId, token string) error
Click to show internal directories.
Click to hide internal directories.