root

package module
v0.0.0-...-baa1f0e Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

Example graph to parse

                  Root
                   |
                   |
                  Config
                 /     \
                /       \
    softlink  /         \
 Dns------->Gns         AccessControlPolicy
             |                  |
             |                  |
         SvcGroup ----------> ACPConfig
                   softlink

DSL example based on https://confluence.eng.vmware.com/pages/viewpage.action?spaceKey=NSBU&title=Nexus+Platform#NexusPlatform-TL;DR;

TODO: Extend examples with:

  1. Link types
  • Link1 CustomLinkType nexus:"link"
  • NamedLink1 CustomLinkType nexus:"links"
  1. Status type
  • status CustomStatusType nexus:"status"
  1. Custom comments
  • rest-api
  • version
  • validation-endpoints

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GeneralGraphQLQuerySpec = nexus.GraphQLQuerySpec{
	Queries: []nexus.GraphQLQuery{
		{
			Name: "QueryExample",
			ServiceEndpoint: nexus.GraphQLQueryEndpoint{
				Domain: "query-manager",
				Port:   6000,
			},
			Args: queryFilters{},
		},
	},
}
View Source
var GraphQLIdNameSpec = nexus.GraphQLSpec{
	IdName: "name",
}
View Source
var GraphQLIdNullable = nexus.GraphQLSpec{
	IdNullable: false,
}

Functions

This section is empty.

Types

type NonNexusType

type NonNexusType struct {
	Test int
}

type Root

type Root struct {
	nexus.SingletonNode
	Config config.Config `nexus:"child"`
}

Directories

Path Synopsis
gns

Jump to

Keyboard shortcuts

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