api_register

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckApiGateWay

func CheckApiGateWay(diceYml []byte, env string) bool

func New

func New() *apiRegister

Types

type ApiCheck

type ApiCheck struct {
	OrgId       string      `json:"orgId,omitempty"`
	ProjectId   string      `json:"projectId,omitempty"`
	Workspace   string      `json:"workspace,omitempty"`
	ClusterName string      `json:"clusterName,omitempty"`
	AppId       string      `json:"appId,omitempty"`
	RuntimeName string      `json:"runtimeName,omitempty"`
	ServiceName string      `json:"serviceName,omitempty"`
	Swagger     interface{} `json:"swagger,omitempty"`
}

type ErrMsg

type ErrMsg struct {
	Code string `json:"code,omitempty"`
	Msg  string `json:"msg,omitempty"`
}

type HttpResponse

type HttpResponse struct {
	Success bool   `json:"success,omitempty"`
	Err     ErrMsg `json:"err,omitempty"`
}

Jump to

Keyboard shortcuts

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