clusterassetgroup

package
v0.0.0-...-cc7cbc4 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeyOpenApiSpec  = "openapi"
	KeyODataSpec    = "odata"
	KeyAsyncApiSpec = "asyncapi"

	SpecHashFormat = "SpecHash-%s"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiType

type ApiType string
const (
	OpenApiType  ApiType = "openapi"
	ODataApiType ApiType = "odata"
	AsyncApi     ApiType = "asyncapi"
	Empty        ApiType = ""
)

type Asset

type Asset struct {
	ID       string
	Name     string
	Url      string
	Type     ApiType
	Format   SpecFormat
	SpecHash string
	Content  []byte
}

type Entry

type Entry struct {
	Id          string
	DisplayName string
	Description string
	Assets      []Asset
	Labels      map[string]string
	Status      StatusType
}

type SpecCategory

type SpecCategory string
const (
	ApiSpec      SpecCategory = "apispec"
	EventApiSpec SpecCategory = "eventapispec"
)

type SpecFormat

type SpecFormat string
const (
	SpecFormatJSON SpecFormat = "json"
	SpecFormatYAML SpecFormat = "yaml"
	SpecFormatXML  SpecFormat = "xml"
)

type StatusType

type StatusType string
const (
	StatusNone StatusType = ""
)

Jump to

Keyboard shortcuts

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