docsgen

package
v0.0.0-...-e9beeda Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Resource

type Resource struct {
	ProviderKey  string
	ProviderName string

	ResourceKey    string
	ResourceSlug   string
	ResourceSchema *schema.Resource
}

func (*Resource) GenerateResourceMarkdown

func (r *Resource) GenerateResourceMarkdown(wr io.Writer) error

type ResourceDocs

type ResourceDocs struct {
	ProviderKey  string
	ProviderName string
	ResourceKey  string
	ResourceSlug string

	Fields       map[string]*schema.Schema
	NestedFields map[string]map[string]*schema.Schema

	MarkdownHeaderFunc func(s string) string
}

Jump to

Keyboard shortcuts

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