Documentation ¶
Index ¶
- Variables
- func GenOpenAPI(inst *cue.Instance) ([]byte, error)
- func GenOpenAPIFromFile(filePath string, fileName string) ([]byte, error)
- func GetCUEParameterValue(cueStr string) (cue.Value, error)
- func HTTPGet(ctx context.Context, url string) ([]byte, error)
- func InitBaseRestConfig() (types.Args, error)
- func RealtimePrintCommandOutput(cmd *exec.Cmd, logFile string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Scheme defines the default KubeVela schema Scheme = k8sruntime.NewScheme() )
Functions ¶
func GenOpenAPI ¶ added in v0.3.0
GenOpenAPI generates OpenAPI json schema from cue.Instance
func GenOpenAPIFromFile ¶ added in v0.3.0
GenOpenAPIFromFile generates OpenAPI json schema from cue file
func GetCUEParameterValue ¶ added in v0.3.0
GetCUEParameterValue converts definitions to cue format
func InitBaseRestConfig ¶
InitBaseRestConfig will return reset config for create controller runtime client
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.