Documentation ¶
Index ¶
- Constants
- func WithRecorder(recorder supbapis.Recorder) option
- type Recorder
- type SupbApplications
- func (r *SupbApplications) DeriveKey(parentKey types.SupbApplicationKey) types.SupbApplicationKey
- func (r *SupbApplications) GetApplication(appTypes string, applicationKey types.SupbApplicationKey) (*model.SupbApplicationBaseInfo, error)
- func (r *SupbApplications) Initialize(opts ...option)
- func (r *SupbApplications) LinkControllerAssume(appTypes string, appKey types.SupbApplicationKey, ...) (*linkAssume, error)
- func (r *SupbApplications) ListApplications(appTypes string) ([]*model.SupbApplicationBaseInfo, error)
- func (r *SupbApplications) OptionConfig(opts ...option)
- func (r *SupbApplications) PutApplicationsAssume(appTypes string, baseInfo *model.SupbApplicationBaseInfo) (*putAssume, error)
- func (r *SupbApplications) RemoveApplicationAssume(AppTypes string, applicationKey types.SupbApplicationKey) (*removeAssume, error)
- func (r *SupbApplications) UnLinkControllerAssume(appTypes string, appKey types.SupbApplicationKey, strategyTypes string, ...) (*unLinkAssume, error)
Constants ¶
View Source
const ( StaticApplicationRecorderKeyFormat = "/repository/superbahnManager/application/static/%v" DynamicApplicationRecorderKeyFormat = "/repository/superbahnManager/application/dynamic/%v" )
Variables ¶
This section is empty.
Functions ¶
func WithRecorder ¶
Types ¶
type SupbApplications ¶
type SupbApplications struct {
// contains filtered or unexported fields
}
func NewSupbAppManager ¶
func NewSupbAppManager() *SupbApplications
func (*SupbApplications) DeriveKey ¶
func (r *SupbApplications) DeriveKey(parentKey types.SupbApplicationKey) types.SupbApplicationKey
func (*SupbApplications) GetApplication ¶
func (r *SupbApplications) GetApplication(appTypes string, applicationKey types.SupbApplicationKey) (*model.SupbApplicationBaseInfo, error)
func (*SupbApplications) Initialize ¶
func (r *SupbApplications) Initialize(opts ...option)
func (*SupbApplications) LinkControllerAssume ¶
func (r *SupbApplications) LinkControllerAssume(appTypes string, appKey types.SupbApplicationKey, strategyKey types.SupbStrategyKey, controller *model.ApplicationController) (*linkAssume, error)
func (*SupbApplications) ListApplications ¶
func (r *SupbApplications) ListApplications(appTypes string) ([]*model.SupbApplicationBaseInfo, error)
func (*SupbApplications) OptionConfig ¶
func (r *SupbApplications) OptionConfig(opts ...option)
func (*SupbApplications) PutApplicationsAssume ¶
func (r *SupbApplications) PutApplicationsAssume(appTypes string, baseInfo *model.SupbApplicationBaseInfo) (*putAssume, error)
func (*SupbApplications) RemoveApplicationAssume ¶
func (r *SupbApplications) RemoveApplicationAssume(AppTypes string, applicationKey types.SupbApplicationKey) (*removeAssume, error)
func (*SupbApplications) UnLinkControllerAssume ¶
func (r *SupbApplications) UnLinkControllerAssume(appTypes string, appKey types.SupbApplicationKey, strategyTypes string, strategyKey types.SupbStrategyKey) (*unLinkAssume, error)
Click to show internal directories.
Click to hide internal directories.