go/src/cmd/vendor/golang.org/x/telemetry/internal/config/config.go

type Config

type pgkey

func ReadConfig(file string) (*Config, error) {}

func NewConfig(cfg *telemetry.UploadConfig) *Config {}

func (r *Config) HasProgram(s string) bool {}

func (r *Config) HasGOOS(s string) bool {}

func (r *Config) HasGOARCH(s string) bool {}

func (r *Config) HasGoVersion(s string) bool {}

func (r *Config) HasVersion(program, version string) bool {}

func (r *Config) HasCounter(program, counter string) bool {}

func (r *Config) HasCounterPrefix(program, prefix string) bool {}

func (r *Config) HasStack(program, stack string) bool {}

func (r *Config) Rate(program, name string) float64 {}

func set(slice []string) map[string]bool {}

// Expand takes a counter defined with buckets and expands it into distinct
// strings for each bucket
func Expand(counter string) []string {}