server

package
v0.0.0-...-5889168 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NeedsSyncResponse

type NeedsSyncResponse struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`
	NeedsSync         bool              `json:"needsSync"`
	Parameters        map[string]string `json:"parameters"`
	Errors            []responseError   `json:"errors,omitempty"`
}

type Server

type Server struct {
	Project         string
	Location        string
	Name            string
	KptFile         string
	SetterName      string
	RetrainInterval time.Duration
}

func (*Server) Healthz

func (s *Server) Healthz(w http.ResponseWriter, r *http.Request)

func (*Server) NeedsSync

func (s *Server) NeedsSync(w http.ResponseWriter, r *http.Request)

func (*Server) NeedsTrain

func (s *Server) NeedsTrain(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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