Documentation ¶
Index ¶
- func Show(w http.ResponseWriter, r *http.Request)
- type ServiceStruct
- func (s *ServiceStruct) BuildService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) DeployService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) HorizontalService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) ReMultiAPI(r *http.Request) (api []string, err error)
- func (s *ServiceStruct) RestartService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) StartService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) StatusContainerID(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) StatusService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) StatusServiceList(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) StopService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) UpgradeService(w http.ResponseWriter, r *http.Request)
- func (s *ServiceStruct) VerticalService(w http.ResponseWriter, r *http.Request)
- type V1Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ServiceStruct ¶
type ServiceStruct struct { V1API string MQClient pb.TaskQueueClient KubeClient *kubernetes.Clientset }
ServiceStruct service struct
func (*ServiceStruct) BuildService ¶
func (s *ServiceStruct) BuildService(w http.ResponseWriter, r *http.Request)
BuildService build service
func (*ServiceStruct) DeployService ¶
func (s *ServiceStruct) DeployService(w http.ResponseWriter, r *http.Request)
DeployService deploy service
func (*ServiceStruct) HorizontalService ¶
func (s *ServiceStruct) HorizontalService(w http.ResponseWriter, r *http.Request)
HorizontalService horizontal service
func (*ServiceStruct) ReMultiAPI ¶
func (s *ServiceStruct) ReMultiAPI(r *http.Request) (api []string, err error)
ReMultiAPI return multi apis format []
func (*ServiceStruct) RestartService ¶
func (s *ServiceStruct) RestartService(w http.ResponseWriter, r *http.Request)
RestartService restart service
func (*ServiceStruct) StartService ¶
func (s *ServiceStruct) StartService(w http.ResponseWriter, r *http.Request)
StartService start service
func (*ServiceStruct) StatusContainerID ¶
func (s *ServiceStruct) StatusContainerID(w http.ResponseWriter, r *http.Request)
StatusContainerID StatusContainerID
func (*ServiceStruct) StatusService ¶
func (s *ServiceStruct) StatusService(w http.ResponseWriter, r *http.Request)
StatusService status service
func (*ServiceStruct) StatusServiceList ¶
func (s *ServiceStruct) StatusServiceList(w http.ResponseWriter, r *http.Request)
StatusServiceList service list status
func (*ServiceStruct) StopService ¶
func (s *ServiceStruct) StopService(w http.ResponseWriter, r *http.Request)
StopService stop service
func (*ServiceStruct) UpgradeService ¶
func (s *ServiceStruct) UpgradeService(w http.ResponseWriter, r *http.Request)
UpgradeService upgrade service
func (*ServiceStruct) VerticalService ¶
func (s *ServiceStruct) VerticalService(w http.ResponseWriter, r *http.Request)
VerticalService vertical service
type V1Routes ¶
type V1Routes struct { ServiceStruct *ServiceStruct APIFuncV1 apiFunc.TenantInterfaceWithV1 }
V1Routes v1Routes
func (*V1Routes) UnFoundRequest ¶
func (v1 *V1Routes) UnFoundRequest(w http.ResponseWriter, r *http.Request)
UnFoundRequest UnFoundRequest
Click to show internal directories.
Click to hide internal directories.