Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(crd *v1beta1.CustomResourceDefinition, w io.WriteCloser) (err error)
Generate takes a CRD content and path, and outputs
Types ¶
type Property ¶
type Property struct { Name string Description string Type string Nullable bool Patterns string Format string Indent int Version string Required bool Properties []*Property }
Property builds up a Tree structure of embedded things.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps an address and creates a server around it.
func (*Server) FormHandler ¶
func (s *Server) FormHandler(w http.ResponseWriter, r *http.Request)
FormHandler handles submits through the provided form and renders view.html.
func (*Server) IndexHandler ¶
func (s *Server) IndexHandler(w http.ResponseWriter, r *http.Request)
IndexHandler handles all requests to / by rendering index.html.
func (*Server) URLHandler ¶ added in v0.1.0
func (s *Server) URLHandler(w http.ResponseWriter, r *http.Request)
URLHandler handles sharing urls.
Click to show internal directories.
Click to hide internal directories.