model

package
v1.10.9 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Contact

type Contact struct {
	Name  string
	Url   string
	Email string
}

type Dependency

type Dependency struct {
	Name string
	Kind string
}

type Generator

type Generator struct {
	Path     string
	Module   Module
	Settings Settings
}

type License

type License struct {
	Name string
	Url  string
}

type Module

type Module struct {
	Name     string
	Go       string
	Requires []string
	Latest   bool
}

type OAS

type OAS struct {
	Title       string
	Description string
	Terms       string
	Contact     *Contact
	License     *License
	Servers     []Server
}

type Server

type Server struct {
	URL         string
	Description string
}

type Settings

type Settings struct {
	Name         string
	Oas          OAS
	Http         string
	Cluster      string
	Dependencies []*Dependency
}

func (Settings) FindDependency

func (s Settings) FindDependency(name string) (dep *Dependency, has bool)

Jump to

Keyboard shortcuts

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