cmd

package
v0.94.3 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

type DMDServer

type DMDServer struct {
	// contains filtered or unexported fields
}

DMDServer is the Web Application for dependency-management-data (DMD)

type DatasetteConfig

type DatasetteConfig struct {
	// contains filtered or unexported fields
}

type Report

type Report struct {
	Name        string
	Description string
}

type UserConfig

type UserConfig struct {
	// Banner controls the display of a prominent banner across the top of every page on the application
	Banner struct {
		// HTML the HTML to render in that banner. Remember to add `<p>`s and/or other tags to wrap the text!
		HTML template.HTML `json:"html"`
	} `json:"banner"`
	// Banner controls the display of text in the footer across every page on the application
	Footer struct {
		// HTML the HTML to render in that footer. Remember to add `<p>`s and/or other tags to wrap the text!
		HTML template.HTML `json:"html"`
	} `json:"footer"`
	// DatabaseMeta defines metadata about the underlying database
	DatabaseMeta struct {
		// GenerationTime defines the time that the database was generated
		//
		// Deprecated: Use the `dmd db meta finalise` command to set this metadata, instead of using this field
		GenerationTime string `json:"generation_time"`
	} `json:"database_meta"`

	// AdditionalConfig contains any additional key-value configuration that will be presented as-is
	AdditionalConfig map[string]string `json:"additional_config"`
}

Jump to

Keyboard shortcuts

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