v4

package
v1.4.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2021 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const APIVersion = "4.0.0"

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthResource

type AuthResource struct {
}

func (*AuthResource) ChangePassword

func (r *AuthResource) ChangePassword(w http.ResponseWriter, req *http.Request)

func (*AuthResource) CreateAccount

func (r *AuthResource) CreateAccount(w http.ResponseWriter, req *http.Request)

func (*AuthResource) DeleteAccount

func (r *AuthResource) DeleteAccount(w http.ResponseWriter, req *http.Request)

func (*AuthResource) GetAccount

func (r *AuthResource) GetAccount(w http.ResponseWriter, req *http.Request)

func (*AuthResource) ListAccount

func (r *AuthResource) ListAccount(w http.ResponseWriter, req *http.Request)

func (*AuthResource) Login

func (r *AuthResource) Login(w http.ResponseWriter, req *http.Request)

func (*AuthResource) URLPatterns

func (r *AuthResource) URLPatterns() []rest.Route

URLPatterns define htp pattern

type DependencyService

type DependencyService struct {
}

func (*DependencyService) AddDependenciesForMicroServices

func (s *DependencyService) AddDependenciesForMicroServices(w http.ResponseWriter, r *http.Request)

func (*DependencyService) CreateDependenciesForMicroServices

func (s *DependencyService) CreateDependenciesForMicroServices(w http.ResponseWriter, r *http.Request)

func (*DependencyService) GetConProDependencies

func (s *DependencyService) GetConProDependencies(w http.ResponseWriter, r *http.Request)

func (*DependencyService) GetProConDependencies

func (s *DependencyService) GetProConDependencies(w http.ResponseWriter, r *http.Request)

func (*DependencyService) URLPatterns

func (s *DependencyService) URLPatterns() []rest.Route

type MainService

type MainService struct {
}

func (*MainService) ClusterHealth

func (s *MainService) ClusterHealth(w http.ResponseWriter, r *http.Request)

func (*MainService) GetVersion

func (s *MainService) GetVersion(w http.ResponseWriter, r *http.Request)

func (*MainService) URLPatterns

func (s *MainService) URLPatterns() []rest.Route

type MicroServiceInstanceService

type MicroServiceInstanceService struct {
}

func (*MicroServiceInstanceService) FindInstances

func (*MicroServiceInstanceService) GetInstances

func (*MicroServiceInstanceService) GetOneInstance

func (s *MicroServiceInstanceService) GetOneInstance(w http.ResponseWriter, r *http.Request)

func (*MicroServiceInstanceService) Heartbeat

TODO 什么样的服务允许更新服务心跳,只能是本服务才可以更新自己,如何屏蔽其他服务伪造的心跳更新?

func (*MicroServiceInstanceService) HeartbeatSet

func (*MicroServiceInstanceService) InstancesAction

func (s *MicroServiceInstanceService) InstancesAction(w http.ResponseWriter, r *http.Request)

func (*MicroServiceInstanceService) RegisterInstance

func (s *MicroServiceInstanceService) RegisterInstance(w http.ResponseWriter, r *http.Request)

func (*MicroServiceInstanceService) URLPatterns

func (s *MicroServiceInstanceService) URLPatterns() []rest.Route

func (*MicroServiceInstanceService) UnregisterInstance

func (s *MicroServiceInstanceService) UnregisterInstance(w http.ResponseWriter, r *http.Request)

func (*MicroServiceInstanceService) UpdateMetadata

func (s *MicroServiceInstanceService) UpdateMetadata(w http.ResponseWriter, r *http.Request)

func (*MicroServiceInstanceService) UpdateStatus

type MicroServiceService

type MicroServiceService struct {
}

func (*MicroServiceService) GetExistence

func (s *MicroServiceService) GetExistence(w http.ResponseWriter, r *http.Request)

func (*MicroServiceService) GetServiceOne

func (s *MicroServiceService) GetServiceOne(w http.ResponseWriter, r *http.Request)

func (*MicroServiceService) GetServices

func (s *MicroServiceService) GetServices(w http.ResponseWriter, r *http.Request)

func (*MicroServiceService) Register

func (s *MicroServiceService) Register(w http.ResponseWriter, r *http.Request)

func (*MicroServiceService) URLPatterns

func (s *MicroServiceService) URLPatterns() []rest.Route

func (*MicroServiceService) Unregister

func (s *MicroServiceService) Unregister(w http.ResponseWriter, r *http.Request)

func (*MicroServiceService) UnregisterServices

func (s *MicroServiceService) UnregisterServices(w http.ResponseWriter, r *http.Request)

func (*MicroServiceService) Update

type Result

type Result struct {
	*version.Set
	APIVersion string              `json:"apiVersion"`
	Config     *proto.ServerConfig `json:"config,omitempty"`
}

type RuleService

type RuleService struct {
}

func (*RuleService) AddRule

func (s *RuleService) AddRule(w http.ResponseWriter, r *http.Request)

func (*RuleService) DeleteRule

func (s *RuleService) DeleteRule(w http.ResponseWriter, r *http.Request)

func (*RuleService) GetRules

func (s *RuleService) GetRules(w http.ResponseWriter, r *http.Request)

func (*RuleService) URLPatterns

func (s *RuleService) URLPatterns() []rest.Route

func (*RuleService) UpdateRule

func (s *RuleService) UpdateRule(w http.ResponseWriter, r *http.Request)

type SchemaService

type SchemaService struct {
}

func (*SchemaService) DeleteSchemas

func (s *SchemaService) DeleteSchemas(w http.ResponseWriter, r *http.Request)

func (*SchemaService) DisableSchema

func (s *SchemaService) DisableSchema(w http.ResponseWriter, r *http.Request)

func (*SchemaService) GetAllSchemas

func (s *SchemaService) GetAllSchemas(w http.ResponseWriter, r *http.Request)

func (*SchemaService) GetSchemas

func (s *SchemaService) GetSchemas(w http.ResponseWriter, r *http.Request)

func (*SchemaService) ModifySchema

func (s *SchemaService) ModifySchema(w http.ResponseWriter, r *http.Request)

func (*SchemaService) ModifySchemas

func (s *SchemaService) ModifySchemas(w http.ResponseWriter, r *http.Request)

func (*SchemaService) URLPatterns

func (s *SchemaService) URLPatterns() []rest.Route

type TagService

type TagService struct {
}

func (*TagService) AddTags

func (s *TagService) AddTags(w http.ResponseWriter, r *http.Request)

func (*TagService) DeleteTags

func (s *TagService) DeleteTags(w http.ResponseWriter, r *http.Request)

func (*TagService) GetTags

func (s *TagService) GetTags(w http.ResponseWriter, r *http.Request)

func (*TagService) URLPatterns

func (s *TagService) URLPatterns() []rest.Route

func (*TagService) UpdateTag

func (s *TagService) UpdateTag(w http.ResponseWriter, r *http.Request)

type WatchService

type WatchService struct {
}

func (*WatchService) ListAndWatch

func (s *WatchService) ListAndWatch(w http.ResponseWriter, r *http.Request)

func (*WatchService) URLPatterns

func (s *WatchService) URLPatterns() []rest.Route

func (*WatchService) Watch

func (s *WatchService) Watch(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL