kubernetes/staging/src/k8s.io/code-generator/cmd/go-to-protobuf/protobuf/namer.go

type localNamer

func (n localNamer) Name(t *types.Type) string {}

type protobufNamer

func NewProtobufNamer() *protobufNamer {}

func (n *protobufNamer) Name(t *types.Type) string {}

func (n *protobufNamer) Add(p *protobufPackage) {}

func (n *protobufNamer) GoNameToProtoName(name types.Name) types.Name {}

func protoSafePackage(name string) string {}

type typeNameSet

// assignGoTypeToProtoPackage looks for Go and Protobuf types that are referenced by a type in
// a package. It will not recurse into protobuf types.
func assignGoTypeToProtoPackage(p *protobufPackage, t *types.Type, local, global typeNameSet, optional map[types.Name]struct{}

// isTypeApplicableToProtobuf checks to see if a type is relevant for protobuf processing.
// Currently, it filters out functions and private types.
func isTypeApplicableToProtobuf(t *types.Type) bool {}

func (n *protobufNamer) AssignTypesToPackages(c *generator.Context) error {}