Documentation ¶
Index ¶
- Constants
- func DownloadFile(service string, output string, bianVersion string, apiType string) error
- func GetRepositoryParams(bianVersion string, apiType string) (repoPath string, fileExtension string)
- func InitialiseWorkspace() error
- func ListServices(bianVersion string, apiType string)
- func PublishSpecToPortal(workspaceFlag string, filepath string, bianVersion string) error
- func SUPPORTED_VERSIONS() []string
- func ValidateBianVersionAndAPIType(bianVersion string, apiType string) error
- func ValidateNoArgs(cmd *cobra.Command, args []string) error
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 GetRepositoryParams ¶
func InitialiseWorkspace ¶
func InitialiseWorkspace() error
func ListServices ¶
func PublishSpecToPortal ¶
func SUPPORTED_VERSIONS ¶
func SUPPORTED_VERSIONS() []string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.