Documentation
¶
Index ¶
- Constants
- Variables
- func Execute() error
- func ShowUsage(cmd *cobra.Command, _ []string)
- type APIGroups
- type ConfigHandler
- type FileHandler
- type FolderHandler
- type GITUrls
- type GitHandler
- type Handler
- type KindVersionGroup
- type KubeHandler
- type RenderConfig
- type Schema
- type StdInHandler
- type URLHandler
- type URLs
Constants ¶
View Source
const ( FormatHTML = "html" FormatYAML = "yaml" )
Variables ¶
View Source
var Version = "v0.0.0-dev"
Functions ¶
Types ¶
type APIGroups ¶ added in v1.1.2
type APIGroups struct { Name string `json:"name"` Description string `json:"description,omitempty"` Files []string `json:"files,omitempty"` Folders []string `json:"folders,omitempty"` URLs []URLs `json:"urls,omitempty"` GitURLs []GITUrls `json:"gitUrls,omitempty"` }
APIGroups defines groups by which grouping will happen in the resulting HTML output.
type ConfigHandler ¶ added in v1.0.3
type ConfigHandler struct {
// contains filtered or unexported fields
}
func (*ConfigHandler) CRDs ¶ added in v1.0.3
func (h *ConfigHandler) CRDs() ([]*pkg.SchemaType, error)
type FileHandler ¶ added in v0.6.0
type FileHandler struct {
// contains filtered or unexported fields
}
func (*FileHandler) CRDs ¶ added in v0.6.0
func (h *FileHandler) CRDs() ([]*pkg.SchemaType, error)
type FolderHandler ¶ added in v0.6.0
type FolderHandler struct {
// contains filtered or unexported fields
}
func (*FolderHandler) CRDs ¶ added in v0.6.0
func (h *FolderHandler) CRDs() ([]*pkg.SchemaType, error)
type GITUrls ¶ added in v1.1.2
type GITUrls struct { URL string `json:"url"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` Token string `json:"token,omitempty"` Tag string `json:"tag,omitempty"` PrivateKey string `json:"privateKey,omitempty"` UseSSHAgent bool `json:"useSSHAgent,omitempty"` }
type GitHandler ¶ added in v1.1.1
type GitHandler struct { URL string Username string Password string Token string Tag string // contains filtered or unexported fields }
func (*GitHandler) CRDs ¶ added in v1.1.1
func (g *GitHandler) CRDs() ([]*pkg.SchemaType, error)
type Handler ¶ added in v0.6.0
type Handler interface {
CRDs() ([]*pkg.SchemaType, error)
}
type KindVersionGroup ¶ added in v1.0.2
type KubeHandler ¶ added in v1.1.4
type KubeHandler struct {
// contains filtered or unexported fields
}
func (*KubeHandler) CRDs ¶ added in v1.1.4
func (h *KubeHandler) CRDs() ([]*pkg.SchemaType, error)
type RenderConfig ¶ added in v1.1.2
type RenderConfig struct {
APIGroups []APIGroups `json:"apiGroups"`
}
RenderConfig defines a configuration for the resulting rendered HTML content.
type Schema ¶ added in v1.0.2
type Schema struct { *v1beta1.JSONSchemaProps `json:",inline"` KubernetesGroupVersionKindList []KindVersionGroup `json:"x-kubernetes-group-version-kind"` }
type StdInHandler ¶ added in v1.1.4
type StdInHandler struct {
// contains filtered or unexported fields
}
func (*StdInHandler) CRDs ¶ added in v1.1.4
func (s *StdInHandler) CRDs() ([]*pkg.SchemaType, error)
type URLHandler ¶ added in v0.6.0
type URLHandler struct {
// contains filtered or unexported fields
}
func (*URLHandler) CRDs ¶ added in v0.6.0
func (h *URLHandler) CRDs() ([]*pkg.SchemaType, error)
Click to show internal directories.
Click to hide internal directories.