Documentation
¶
Index ¶
- func GenerateFiles() error
- func PrintInfo(config *api.Config)
- type Doc
- type DocWriter
- type HTMLWriter
- func (h *HTMLWriter) DefaultStaticContent(title string) string
- func (h *HTMLWriter) Extension() string
- func (h *HTMLWriter) Finalize() error
- func (h *HTMLWriter) ResourceCategoryHeading(title string) string
- func (h *HTMLWriter) SectionHeading(title string) string
- func (h *HTMLWriter) WriteAPIGroupVersions(gvs api.GroupVersions) error
- func (h *HTMLWriter) WriteDefinition(d *api.Definition) error
- func (h *HTMLWriter) WriteDefinitionsOverview() error
- func (h *HTMLWriter) WriteOldVersionsOverview() error
- func (h *HTMLWriter) WriteOperation(o *api.Operation) error
- func (h *HTMLWriter) WriteOperationBody(w io.Writer, o *api.Operation, opID string)
- func (h *HTMLWriter) WriteOrphanedOperationsOverview() error
- func (h *HTMLWriter) WriteOverview() error
- func (h *HTMLWriter) WriteResource(r *api.Resource) error
- func (h *HTMLWriter) WriteResourceCategory(name, file string) error
- type TOC
- type TOCItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateFiles ¶
func GenerateFiles() error
Types ¶
type DocWriter ¶
type DocWriter interface { Extension() string DefaultStaticContent(title string) string WriteOverview() error WriteAPIGroupVersions(gvs api.GroupVersions) error WriteResourceCategory(name, file string) error WriteResource(r *api.Resource) error WriteDefinitionsOverview() error WriteOrphanedOperationsOverview() error WriteDefinition(d *api.Definition) error WriteOperation(o *api.Operation) error WriteOldVersionsOverview() error Finalize() error }
type HTMLWriter ¶
func (*HTMLWriter) DefaultStaticContent ¶
func (h *HTMLWriter) DefaultStaticContent(title string) string
func (*HTMLWriter) Extension ¶
func (h *HTMLWriter) Extension() string
func (*HTMLWriter) Finalize ¶
func (h *HTMLWriter) Finalize() error
func (*HTMLWriter) ResourceCategoryHeading ¶
func (h *HTMLWriter) ResourceCategoryHeading(title string) string
func (*HTMLWriter) SectionHeading ¶
func (h *HTMLWriter) SectionHeading(title string) string
func (*HTMLWriter) WriteAPIGroupVersions ¶
func (h *HTMLWriter) WriteAPIGroupVersions(gvs api.GroupVersions) error
func (*HTMLWriter) WriteDefinition ¶
func (h *HTMLWriter) WriteDefinition(d *api.Definition) error
func (*HTMLWriter) WriteDefinitionsOverview ¶
func (h *HTMLWriter) WriteDefinitionsOverview() error
func (*HTMLWriter) WriteOldVersionsOverview ¶
func (h *HTMLWriter) WriteOldVersionsOverview() error
func (*HTMLWriter) WriteOperation ¶
func (h *HTMLWriter) WriteOperation(o *api.Operation) error
func (*HTMLWriter) WriteOperationBody ¶
func (*HTMLWriter) WriteOrphanedOperationsOverview ¶
func (h *HTMLWriter) WriteOrphanedOperationsOverview() error
func (*HTMLWriter) WriteOverview ¶
func (h *HTMLWriter) WriteOverview() error
func (*HTMLWriter) WriteResource ¶
func (h *HTMLWriter) WriteResource(r *api.Resource) error
func (*HTMLWriter) WriteResourceCategory ¶
func (h *HTMLWriter) WriteResourceCategory(name, file string) error
Click to show internal directories.
Click to hide internal directories.