cmd

package
v0.0.0-...-644905b Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Copyright © 2021 Sentry

Generate static documentation of Job definitions

Copyright © 2021 Sentry

Index

Constants

View Source
const DocFileName = "docs/TestFormat.md"
View Source
const WritingTestsDocFileName = "docs/Writing-tests.md"

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type FieldDefinition

type FieldDefinition struct {
	FieldName     string
	FieldType     string
	Documentation string
}

type GeneralDeclaration

type GeneralDeclaration struct {
	Name          string
	Documentation string
	Source        string
}

type StructDefinition

type StructDefinition struct {
	TypeName      string
	Documentation string
	Fields        []FieldDefinition
}

Jump to

Keyboard shortcuts

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