kubernetesk8s.io/kubernetes/third_party/golang/reflect Index | Files

package reflect

import "k8s.io/kubernetes/third_party/golang/reflect"

This package is copied from Go library reflect/type.go. The struct tag library provides no way to extract the list of struct tags, only a specific tag

Index

Types

type StructTag

type StructTag struct {
	Name  string
	Value string
}

func (StructTag) String

func (t StructTag) String() string

type StructTags

type StructTags []StructTag

func ParseStructTags

func ParseStructTags(tag string) (StructTags, error)

ParseStructTags returns the full set of fields in a struct tag in the order they appear in the struct tag.

func (StructTags) Has

func (tags StructTags) Has(name string) bool

func (StructTags) String

func (tags StructTags) String() string

Source Files

type.go

Version
v1.3.0-alpha.4
Published
May 17, 2016
Platform
windows/amd64
Imports
3 packages
Last checked
3 minutes ago

Tools for package owners.