Documentation ¶
Index ¶
- Constants
- func RegisterRouter(ws *restful.WebService)
- type APIService
- func (s *APIService) CreatePlan(request *restful.Request, response *restful.Response)
- func (s *APIService) CreatePolicy(request *restful.Request, response *restful.Response)
- func (s *APIService) DeletePlan(request *restful.Request, response *restful.Response)
- func (s *APIService) DeletePolicy(request *restful.Request, response *restful.Response)
- func (s *APIService) GetJob(request *restful.Request, response *restful.Response)
- func (s *APIService) GetPlan(request *restful.Request, response *restful.Response)
- func (s *APIService) GetPolicy(request *restful.Request, response *restful.Response)
- func (s *APIService) ListJob(request *restful.Request, response *restful.Response)
- func (s *APIService) ListPlan(request *restful.Request, response *restful.Response)
- func (s *APIService) ListPolicy(request *restful.Request, response *restful.Response)
- func (s *APIService) RunPlan(request *restful.Request, response *restful.Response)
- func (s *APIService) UpdatePlan(request *restful.Request, response *restful.Response)
- func (s *APIService) UpdatePolicy(request *restful.Request, response *restful.Response)
Constants ¶
View Source
const ( MICRO_ENVIRONMENT = "MICRO_ENVIRONMENT" K8S = "k8s" )
Variables ¶
This section is empty.
Functions ¶
func RegisterRouter ¶
func RegisterRouter(ws *restful.WebService)
Types ¶
type APIService ¶
type APIService struct {
// contains filtered or unexported fields
}
func NewAPIService ¶
func NewAPIService(c client.Client) *APIService
func (*APIService) CreatePlan ¶
func (s *APIService) CreatePlan(request *restful.Request, response *restful.Response)
func (*APIService) CreatePolicy ¶
func (s *APIService) CreatePolicy(request *restful.Request, response *restful.Response)
func (*APIService) DeletePlan ¶
func (s *APIService) DeletePlan(request *restful.Request, response *restful.Response)
func (*APIService) DeletePolicy ¶
func (s *APIService) DeletePolicy(request *restful.Request, response *restful.Response)
func (*APIService) GetJob ¶
func (s *APIService) GetJob(request *restful.Request, response *restful.Response)
func (*APIService) GetPlan ¶
func (s *APIService) GetPlan(request *restful.Request, response *restful.Response)
func (*APIService) GetPolicy ¶
func (s *APIService) GetPolicy(request *restful.Request, response *restful.Response)
func (*APIService) ListJob ¶
func (s *APIService) ListJob(request *restful.Request, response *restful.Response)
func (*APIService) ListPlan ¶
func (s *APIService) ListPlan(request *restful.Request, response *restful.Response)
func (*APIService) ListPolicy ¶
func (s *APIService) ListPolicy(request *restful.Request, response *restful.Response)
func (*APIService) RunPlan ¶
func (s *APIService) RunPlan(request *restful.Request, response *restful.Response)
func (*APIService) UpdatePlan ¶
func (s *APIService) UpdatePlan(request *restful.Request, response *restful.Response)
func (*APIService) UpdatePolicy ¶
func (s *APIService) UpdatePolicy(request *restful.Request, response *restful.Response)
Click to show internal directories.
Click to hide internal directories.