Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
NIL = GenValue{Type: "string", Val: "NIL"}
)
Functions ¶
This section is empty.
Types ¶
type CRGen ¶
type CRGen struct { // ClusterConfigPath is used to get kube client ClusterConfigPath string // CRDName, CRDNamespace, CRDVersion identify the CRD CRDName string CRDNamespace string CRDVersion string // CRApiVersion and CRKind are used for generating the CRs CRApiVersion string CRKind string Generators map[string]Generator }
type CartesianGen ¶
func NewCartesianGen ¶
func NewCartesianGen(fields map[string]Generator) (*CartesianGen, error)
func (*CartesianGen) Next ¶
func (g *CartesianGen) Next() GenValue
func (*CartesianGen) Reset ¶
func (g *CartesianGen) Reset()
type GenValue ¶
func (GenValue) MarshalYAML ¶
type IPNetGen ¶
type IPNetGen struct {
// contains filtered or unexported fields
}
func NewIPNetGen ¶
type SingletonGen ¶
type SingletonGen struct { Val string Count uint32 Type string // contains filtered or unexported fields }
func NewSingletonGen ¶
func NewSingletonGen(val string, cnt uint32, typ string) (*SingletonGen, error)
func (*SingletonGen) Next ¶
func (g *SingletonGen) Next() GenValue
func (*SingletonGen) Reset ¶
func (g *SingletonGen) Reset()
Click to show internal directories.
Click to hide internal directories.