generators

package
v0.0.0-...-7a38c46 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultNameSystem

func DefaultNameSystem() string

DefaultNameSystem returns the default name system for ordering the types to be processed by the generators in this package.

func NameSystems

func NameSystems() namer.NameSystems

NameSystems returns the name system used by the generators in this package.

func Packages

func Packages(context *generator.Context, arguments *args.GeneratorArgs) generator.Packages

Packages makes the client package definition.

Types

type Informer

type Informer struct {
	VariableName string
	Type         *types.Type
}

type Lister

type Lister struct {
	VariableName string
	Type         *types.Type

	InformerSyncedVariableName string
	InformerSyncedFunction     *types.Type
}

type Queue

type Queue struct {
	VariableName  string
	InterfaceType *types.Type
}

type ResourceType

type ResourceType struct {
	Name        string
	Type        *types.Type
	GroupName   string
	VersionName string
	Informer    Informer
	Lister      Lister
	Queue       Queue
	Worker      Worker
}

type Worker

type Worker struct {
	VariableName string
}

Jump to

Keyboard shortcuts

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