Documentation ¶
Overview ¶
Package oam contains the definitions for OAM objects as well as the parsers and register functions associated with it
Index ¶
- Variables
- func ParseApplicationComponent(jsn string) (acomp v1alpha1.Component, err error)
- func ParseApplicationConfiguration(jsn string) (acomp v1alpha1.Configuration, err error)
- func RegisterMeshModelComponents(uuid, runtime, host, port string) error
- func RegisterWorkloads(runtime, host string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( WorkloadPath = filepath.Join(basePath, "templates", "oam", "workloads") MeshmodelComponents = filepath.Join(basePath, "templates", "meshmodel", "components") )
View Source
var AvailableVersions = map[string]bool{}
AvailableVersions denote the component versions available statically
Functions ¶
func ParseApplicationComponent ¶
ParseApplicationComponent converts json application component to go struct
func ParseApplicationConfiguration ¶
func ParseApplicationConfiguration(jsn string) (acomp v1alpha1.Configuration, err error)
ParseApplicationConfiguration converts json application configuration to go struct
func RegisterMeshModelComponents ¶ added in v0.6.2
func RegisterWorkloads ¶
RegisterWorkloads will register all of the workload definitions present in the path oam/workloads
Registration process will send POST request to $runtime/api/oam/workload
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.