Versions in this module Expand all Collapse all v0 v0.2.0 May 26, 2018 v0.1.0 May 24, 2018 Changes in this version + const AddURL + const DefaultServiceEnvironment + const DefaultServiceName + const DefaultServiceZone + const DeleteAllURL + const GetURL + const InitURL + var DeleteURL = fmt.Sprintf("/placement/{%s}", placementIDVar) + func ConvertInstancesProto(instancesProto []*placementpb.Instance) ([]placement.Instance, error) + func NewAddHandler(client clusterclient.Client, cfg config.Configuration) http.Handler + func NewDeleteAllHandler(client clusterclient.Client, cfg config.Configuration) http.Handler + func NewDeleteHandler(client clusterclient.Client, cfg config.Configuration) http.Handler + func NewGetHandler(client clusterclient.Client, cfg config.Configuration) http.Handler + func NewInitHandler(client clusterclient.Client, cfg config.Configuration) http.Handler + func RegisterRoutes(r *mux.Router, client clusterclient.Client, cfg config.Configuration) + func Service(clusterClient clusterclient.Client, cfg config.Configuration) (placement.Service, error) + type Handler struct