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

type genFakeForType

var _

var titler

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

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

func (g *genFakeForType) 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 {}

// hasObjectMeta returns true if the type has a ObjectMeta field.
func hasObjectMeta(t *types.Type) bool {}

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

// adjustTemplate adjust the origin verb template using the expansion name.
// TODO: Make the verbs in templates parametrized so the strings.Replace() is
// not needed.
func adjustTemplate(name, verbType, template string) string {}

var structNamespaced

var structNonNamespaced

var resource

var kind

var listTemplate

var listUsingOptionsTemplate

var getTemplate

var getSubresourceTemplate

var deleteTemplate

var deleteCollectionTemplate

var createTemplate

var createSubresourceTemplate

var updateTemplate

var updateSubresourceTemplate

var updateStatusTemplate

var watchTemplate

var patchTemplate

var applyTemplate

var applyStatusTemplate

var applySubresourceTemplate