rest

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)

RegisterRoutes registers service-related REST handlers to a router

Types

type HashRequest added in v0.21.0

type HashRequest struct {
	Sid           string                        `json:"sid,omitempty"`
	Name          string                        `json:"name,omitempty"`
	Description   string                        `json:"description,omitempty"`
	Configuration service.Service_Configuration `json:"configuration"`
	Tasks         []*service.Service_Task       `json:"tasks,omitempty"`
	Events        []*service.Service_Event      `json:"events,omitempty"`
	Dependencies  []*service.Service_Dependency `json:"dependencies,omitempty"`
	Repository    string                        `json:"repository,omitempty"`
	Source        string                        `json:"source,omitempty"`
}

HashRequest is the request of the hash endpoint.

Jump to

Keyboard shortcuts

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