Documentation
¶
Index ¶
Constants ¶
View Source
const ChartTemplate = `image:
name: %s
org: %s
registry: %s
tag: %s
`
Variables ¶
View Source
var WebsocketUpgrader = websocket.Upgrader{ EnableCompression: true, WriteBufferSize: 128, }
Functions ¶
This section is empty.
Types ¶
type APIServer ¶
type APIServer struct { HTTPServer *http.Server Listener net.Listener DockerClient *docker.Client // RegistryAuth is the authorization token used to push images up to the registry. // // This field follows the format of the X-Registry-Auth header. RegistryAuth string // RegistryOrg is the organization (e.g. your DockerHub account) used to push images // up to the registry. RegistryOrg string // RegistryURL is the URL of the registry (e.g. quay.io, docker.io, gcr.io) RegistryURL string }
APIServer is an API Server which listens and responds to HTTP requests.
func (*APIServer) ServeRequest ¶
func (s *APIServer) ServeRequest(w http.ResponseWriter, req *http.Request)
ServeRequest processes a single HTTP request.
Click to show internal directories.
Click to hide internal directories.