meta

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: Apache-2.0 Imports: 3 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Author

type Author interface {
	GetName() string
	GetURL() string
}

type Dependency

type Dependency interface {
	Constraint() string
	Name() string
	String() string
	Version() string
}

type Description

type Description interface {
	GetTitle() string
	GetDescription() string
}

type ID

type ID interface {
	GetID() PluginID
	GetVersion() string
	String() string
}

type Interface

type Interface string

func NewInterface

func NewInterface(name, version string) Interface

func (Interface) Constraint

func (i Interface) Constraint() string

func (Interface) Equal

func (i Interface) Equal(other Interface) bool

func (Interface) IsUndefined

func (i Interface) IsUndefined() bool

func (Interface) Name

func (i Interface) Name() string

func (Interface) String

func (i Interface) String() string

func (Interface) Version

func (i Interface) Version() string

type License

type License interface {
	GetTitle() string
	GetType() enum.LicenseType
	GetURL() string
}
type Link interface {
	GetTitle() string
	GetURL() string
}

type Meta

type Meta interface {
	GetID() ID
	GetAuthor() Author
	GetDependencies() []Dependency
	GetDescription() Description
	GetInterface() Interface
	GetLicense() []License
	GetLinks() []Link
	GetRepository() Repository
	GetTags() []string
}

type PluginID

type PluginID string

type Repository

type Repository interface {
	GetType() enum.RepositoryType
	GetURL() string
}

Jump to

Keyboard shortcuts

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