internal

package
v0.0.0-...-3819325 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const BIAN_BRANCH string = "main"
View Source
const BIAN_ORG string = "bian-official"
View Source
const BIAN_REPO string = "public"
View Source
const BIAN_VERSION_10 = "10"
View Source
const BIAN_VERSION_11 = "11"
View Source
const BIAN_VERSION_12 = "12"
View Source
const BIAN_VERSION_9_1 = "9.1"
View Source
const FILE_EXTENSION_JSON string = ".json"
View Source
const FILE_EXTENSION_YAML string = ".yaml"
View Source
const ISO_API = "iso"
View Source
const KONG_ORG string = "Kong"
View Source
const KONG_PORTAL_REPO string = "kong-portal-templates"
View Source
const REPO_PATH_10 string = "release10.0.0/semantic-apis/oas3/yamls/"
View Source
const REPO_PATH_11 string = "release11.0.0/semantic-apis/oas3/yamls/"
View Source
const REPO_PATH_12_ISO string = "release12.0.0/apis-iso20022_ext-ddd/oas3/yamls/"
View Source
const REPO_PATH_12_SEMANTIC string = "release12.0.0/semantic-apis/oas3/yamls/"
View Source
const REPO_PATH_9_1 string = "release9.1/semantic-apis/swaggers/"
View Source
const SEMANTIC_API = "semantic"

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(service string, output string, bianVersion string, apiType string) error

func GetRepositoryParams

func GetRepositoryParams(bianVersion string, apiType string) (repoPath string, fileExtension string)

func InitialiseWorkspace

func InitialiseWorkspace() error

func ListServices

func ListServices(bianVersion string, apiType string)

func PublishSpecToPortal

func PublishSpecToPortal(workspaceFlag string, filepath string, bianVersion string) error

func SUPPORTED_VERSIONS

func SUPPORTED_VERSIONS() []string

func ValidateBianVersionAndAPIType

func ValidateBianVersionAndAPIType(bianVersion string, apiType string) error

func ValidateNoArgs

func ValidateNoArgs(cmd *cobra.Command, args []string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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