Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
      View Source
      
  
    var BarCustomCodesResponses = nexus.HTTPCodesResponse{ http.StatusBadRequest: nexus.HTTPResponse{Description: "Bad Request"}, }
      View Source
      
  
var BarCustomMethodsResponses = nexus.HTTPMethodsResponses{ http.MethodPatch: BarCustomCodesResponses, }
Functions ¶
This section is empty.
Types ¶
type ClusterNamespace ¶
type ClusterNamespace struct {
	Cluster   MatchCondition
	Namespace MatchCondition
}
    type Config ¶
type Config struct {
	nexus.Node
	GNS         gns.Gns                `nexus:"child"`
	DNS         gns.Dns                `nexus:"child"`
	VMPPolicies py.VMpolicy            `nexus:"child"`
	ACPPolicies py.AccessControlPolicy `nexus:"links"`
	Domain      Domain                 `nexus:"child"`
	// Examples for cross-package import.
	MyStr0 *gns.MyStr
	MyStr1 []gns.MyStr
	MyStr2 map[string]gns.MyStr
	XYZPort           gns.Port
	ABCHost           []gns.Host
	ClusterNamespaces []ClusterNamespace
	TestValMarkers TestValMarkers `json:"testValMarkers" yaml:"testValMarkers"`
	FooExample     FooTypeABC     `nexus:"children"`
	Instance       float32
	CuOption       string                        `json:"option_cu"`
	SvcGrpInfo     servicegroup.SvcGroupLinkInfo `nexus:"child"`
}
    nexus-graphql-query:root.GeneralGraphQLQuerySpec
type CrossPackageTester ¶
type EmptyStructTest ¶
type EmptyStructTest struct{}
    type FooTypeABC ¶
type MatchCondition ¶
type SomeStruct ¶
type SomeStruct struct{}
    type StructWithEmbeddedField ¶
type StructWithEmbeddedField struct {
	SomeStruct
	gns.MyStr
}
    type TestValMarkers ¶
type TestValMarkers struct {
	//nexus-validation: MaxLength=8, MinLength=2, Pattern=ab
	MyStr string `json:"myStr" yaml:"myStr"`
	//nexus-validation: Maximum=8, Minimum=2
	//nexus-validation: ExclusiveMaximum=true
	MyInt int `json:"myInt" yaml:"myInt"`
	//nexus-validation: MaxItems=3, MinItems=2
	//nexus-validation: UniqueItems=true
	MySlice []string `json:"mySlice" yaml:"mySlice"`
}
     Click to show internal directories. 
   Click to hide internal directories.