Help us shape the future of Go! Take the 2026 Go Developer Survey

endeca

package
v0.0.0-...-58a3679 Latest Latest
Warning

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

Go to latest
Published: Dec 31, 2018 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cartridge

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

Cartridge is a combination of all relevant data for a cartridge

func MapCartridges

func MapCartridges(basePath string, DisableColor bool, Debug bool) []Cartridge

MapCartridges allows one to map all cartridges and usages for a given base path

func (Cartridge) GetDescription

func (f Cartridge) GetDescription() string

GetDescription returns the description of the cartridge

func (Cartridge) GetID

func (f Cartridge) GetID() string

GetID returns the ID of the cartridge

func (Cartridge) GetPages

func (f Cartridge) GetPages() []string

GetPages returns the pages for a given cartridge

func (Cartridge) GetPath

func (f Cartridge) GetPath() string

GetPath returns the path for a given cartridge

func (Cartridge) GetRules

func (f Cartridge) GetRules() []string

GetRules returns a list of rules for a given cartridge

func (Cartridge) GetSites

func (f Cartridge) GetSites() []string

GetSites returns the sites for a given cartridge

type ContentTemplate

type ContentTemplate struct {
	ID          string `xml:"id,attr"`
	Description string `xml:"Description"`
}

ContentTemplate is a cartridge definition defined in a template

type Rules

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

Rules is a cartridgeID and rules definition

type SharedContent

type SharedContent struct {
	XMLName       xml.Name
	ContentItem   []byte          `xml:",innerxml"`
	SharedContent []SharedContent `xml:",any"`
}

SharedContent is a generic struct used for XML walking

Jump to

Keyboard shortcuts

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