Documentation ¶
Index ¶
Constants ¶
View Source
const ( // service mesh resource SERVICE_MESH = iota // native Kubernetes resource K8s // native Meshery resource MESHERY )
Type of resource
View Source
const ( ErrGetCrdNamesCode = "1001" ErrGetSchemasCode = "1002" ErrGetAPIVersionCode = "1003" ErrGetAPIGroupCode = "1004" ErrPopulatingYamlCode = "1005" )
Variables ¶
This section is empty.
Functions ¶
func ErrGetAPIGroup ¶
func ErrGetAPIVersion ¶
func ErrGetCrdNames ¶
func ErrGetSchemas ¶
func ErrPopulatingYaml ¶
Types ¶
type Component ¶
func GenerateComponents ¶ added in v0.2.26
GenerateComponents generates components given manifest(yaml/json) ,resource type, and additional configuration
type CrdFilter ¶
type CrdFilter struct { RootFilter JsonPath //This would be the first filter to get a modified yaml NameFilter JsonPath // This will be the json path passed in order to get the names of crds GroupFilter JsonPath //This will specify the path to get to group name VersionFilter JsonPath //This will specify the path to get to version name. [Version should have a name field] SpecFilter JsonPath //This will specify the path to get spec IsJson bool //Set to true if input format is json }
Click to show internal directories.
Click to hide internal directories.