kubernetes/staging/src/k8s.io/code-generator/cmd/client-gen/generators/generator_for_type.go

type genClientForType

var _

var titler

// Filter ignores all but one type because we're making a single file per type.
func (g *genClientForType) Filter(c *generator.Context, t *types.Type) bool {}

func (g *genClientForType) Namers(c *generator.Context) namer.NameSystems {}

func (g *genClientForType) Imports(c *generator.Context) (imports []string) {}

// Ideally, we'd like genStatus to return true if there is a subresource path
// registered for "status" in the API server, but we do not have that
// information, so genStatus returns true if the type has a status field.
func genStatus(t *types.Type) bool {}

// GenerateType makes the body of a file implementing the individual typed client for type t.
func (g *genClientForType) GenerateType(c *generator.Context, t *types.Type, w io.Writer) error {}

func generateInterface(defaultVerbTemplates map[string]string, tags util.Tags) string {}

func buildSubresourceDefaultVerbTemplates(generateApply bool) map[string]string {}

func buildDefaultVerbTemplates(generateApply bool) map[string]string {}

var getterComment

var getterNamespaced

var getterNonNamespaced

var interfaceTemplate1

var interfaceTemplate4

const namespaced

const noList

const noApply

const nonNamespaced

const withList

const withApply

var structType

var newStruct

var listTemplate

var privateListTemplate

var listSubresourceTemplate

var getTemplate

var getSubresourceTemplate

var deleteTemplate

var createSubresourceTemplate

var createTemplate

var updateSubresourceTemplate

var updateTemplate

var watchTemplate

var watchListTemplate

var patchTemplate

var applyTemplate

var applySubresourceTemplate