SYMBOL INDEX (2825 symbols across 264 files) FILE: cmd/openapi-gen/args/args.go type Args (line 25) | type Args struct method AddFlags (line 62) | func (args *Args) AddFlags(fs *pflag.FlagSet) { method Validate (line 86) | func (args *Args) Validate() error { function New (line 52) | func New() *Args { FILE: cmd/openapi-gen/openapi-gen.go function main (line 36) | func main() { FILE: cmd/openapi2smd/openapi2smd.go function main (line 31) | func main() { FILE: pkg/aggregator/aggregator.go constant gvkKey (line 30) | gvkKey = "x-kubernetes-group-version-kind" function usedDefinitionForSpec (line 33) | func usedDefinitionForSpec(root *spec.Swagger) map[string]bool { function FilterSpecByPaths (line 46) | func FilterSpecByPaths(sp *spec.Swagger, keepPathPrefixes []string) { function FilterSpecByPathsWithoutSideEffects (line 54) | func FilterSpecByPathsWithoutSideEffects(sp *spec.Swagger, keepPathPrefi... function renameDefinitions (line 95) | func renameDefinitions(s *spec.Swagger, renames map[string]string) *spec... function renameParameters (line 135) | func renameParameters(s *spec.Swagger, renames map[string]string) *spec.... function MergeSpecsIgnorePathConflictRenamingDefinitionsAndParameters (line 176) | func MergeSpecsIgnorePathConflictRenamingDefinitionsAndParameters(dest, ... function MergeSpecsIgnorePathConflictDeprecated (line 183) | func MergeSpecsIgnorePathConflictDeprecated(dest, source *spec.Swagger) ... function MergeSpecsFailOnDefinitionConflict (line 189) | func MergeSpecsFailOnDefinitionConflict(dest, source *spec.Swagger) error { function MergeSpecs (line 197) | func MergeSpecs(dest, source *spec.Swagger) error { function mergeSpecs (line 203) | func mergeSpecs(dest, source *spec.Swagger, renameModelConflicts, rename... function deepEqualDefinitionsModuloGVKs (line 356) | func deepEqualDefinitionsModuloGVKs(s1, s2 *spec.Schema) bool { function mergedGVKs (line 400) | func mergedGVKs(s1, s2 *spec.Schema) (interface{}, bool, error) { type byKeys (line 455) | type byKeys struct method Len (line 460) | func (b byKeys) Len() int { method Less (line 464) | func (b byKeys) Less(i, j int) bool { method Swap (line 468) | func (b byKeys) Swap(i, j int) { FILE: pkg/aggregator/aggregator_test.go type DebugSpec (line 35) | type DebugSpec struct method String (line 39) | func (d DebugSpec) String() string { function TestFilterSpecs (line 46) | func TestFilterSpecs(t *testing.T) { function TestFilterSpecsWithUnusedDefinitions (line 195) | func TestFilterSpecsWithUnusedDefinitions(t *testing.T) { function TestMergeSpecsSimple (line 302) | func TestMergeSpecsSimple(t *testing.T) { function TestMergeSpecsEmptyDefinitions (line 464) | func TestMergeSpecsEmptyDefinitions(t *testing.T) { function TestMergeSpecsEmptyPaths (line 568) | func TestMergeSpecsEmptyPaths(t *testing.T) { function TestMergeSpecsReuseModel (line 668) | func TestMergeSpecsReuseModel(t *testing.T) { function TestMergeSpecsRenameModel (line 823) | func TestMergeSpecsRenameModel(t *testing.T) { function TestMergeSpecsRenameModelWithExistingV2InDestination (line 988) | func TestMergeSpecsRenameModelWithExistingV2InDestination(t *testing.T) { function TestMergeSpecsMultipleRenamesOfModelsAndLateConflict (line 1108) | func TestMergeSpecsMultipleRenamesOfModelsAndLateConflict(t *testing.T) { function TestMergeSpecsRenameModelWithExistingV2InSource (line 1260) | func TestMergeSpecsRenameModelWithExistingV2InSource(t *testing.T) { function TestTwoMergeSpecsFirstTwoSchemasHaveSameDefinition (line 1383) | func TestTwoMergeSpecsFirstTwoSchemasHaveSameDefinition(t *testing.T) { function TestTwoMergeSpecsLastTwoSchemasHaveSameDefinition (line 1477) | func TestTwoMergeSpecsLastTwoSchemasHaveSameDefinition(t *testing.T) { function TestSafeMergeSpecsSimple (line 1567) | func TestSafeMergeSpecsSimple(t *testing.T) { function TestSafeMergeSpecsReuseModel (line 1679) | func TestSafeMergeSpecsReuseModel(t *testing.T) { function TestSafeMergeSpecsReuseModelFails (line 1812) | func TestSafeMergeSpecsReuseModelFails(t *testing.T) { function TestMergeSpecsIgnorePathConflicts (line 1912) | func TestMergeSpecsIgnorePathConflicts(t *testing.T) { function TestMergeSpecsIgnorePathConflictsAllConflicting (line 2031) | func TestMergeSpecsIgnorePathConflictsAllConflicting(t *testing.T) { function TestMergeSpecsIgnorePathConflictsWithKubeSpec (line 2069) | func TestMergeSpecsIgnorePathConflictsWithKubeSpec(t *testing.T) { function BenchmarkMergeSpecsIgnorePathConflictsWithKubeSpec (line 2098) | func BenchmarkMergeSpecsIgnorePathConflictsWithKubeSpec(b *testing.B) { function TestMergeSpecReplacesAllPossibleRefs (line 2126) | func TestMergeSpecReplacesAllPossibleRefs(t *testing.T) { function loadTestData (line 2325) | func loadTestData() ([]*spec.Swagger, *spec.Swagger) { function TestCloneSpec (line 2349) | func TestCloneSpec(t *testing.T) { function cloneSpec (line 2359) | func cloneSpec(source *spec.Swagger) (*spec.Swagger, error) { function TestMergedGVKs (line 2372) | func TestMergedGVKs(t *testing.T) { function TestDeepEqualDefinitionsModuloGVKs (line 2427) | func TestDeepEqualDefinitionsModuloGVKs(t *testing.T) { FILE: pkg/aggregator/walker.go constant definitionPrefix (line 26) | definitionPrefix = "#/definitions/" constant parameterPrefix (line 27) | parameterPrefix = "#/parameters/" type readonlyReferenceWalker (line 31) | type readonlyReferenceWalker struct method walkSchema (line 74) | func (s *readonlyReferenceWalker) walkSchema(schema *spec.Schema) { method walkParams (line 123) | func (s *readonlyReferenceWalker) walkParams(params []spec.Parameter) { method walkParam (line 132) | func (s *readonlyReferenceWalker) walkParam(param spec.Parameter) { method walkResponse (line 140) | func (s *readonlyReferenceWalker) walkResponse(resp *spec.Response) { method walkOperation (line 148) | func (s *readonlyReferenceWalker) walkOperation(op *spec.Operation) { method Start (line 162) | func (s *readonlyReferenceWalker) Start() { function walkOnAllReferences (line 41) | func walkOnAllReferences(walkRef func(ref *spec.Ref), root *spec.Swagger) { FILE: pkg/builder/openapi.go constant OpenAPIVersion (line 34) | OpenAPIVersion = "2.0" type openAPI (line 37) | type openAPI struct method finalizeSwagger (line 142) | func (o *openAPI) finalizeSwagger() (*spec.Swagger, error) { method buildDefinitionRecursively (line 158) | func (o *openAPI) buildDefinitionRecursively(name string) error { method buildDefinitionForType (line 198) | func (o *openAPI) buildDefinitionForType(name string) (string, error) { method buildPaths (line 207) | func (o *openAPI) buildPaths(routeContainers []common.RouteContainer) ... method buildOperations (line 284) | func (o *openAPI) buildOperations(route common.Route, inPathCommonPara... method buildResponse (line 348) | func (o *openAPI) buildResponse(model interface{}, description string)... method findCommonParameters (line 361) | func (o *openAPI) findCommonParameters(routes []common.Route) (map[int... method toSchema (line 395) | func (o *openAPI) toSchema(name string) (_ *spec.Schema, err error) { method buildParameter (line 416) | func (o *openAPI) buildParameter(restParam common.Parameter, bodySampl... method buildParameters (line 460) | func (o *openAPI) buildParameters(restParam []common.Parameter) (ret [... function BuildOpenAPISpec (line 47) | func BuildOpenAPISpec(routeContainers []*restful.WebService, config *com... function BuildOpenAPISpecFromRoutes (line 52) | func BuildOpenAPISpecFromRoutes(routeContainers []common.RouteContainer,... function BuildOpenAPIDefinitionsForResource (line 62) | func BuildOpenAPIDefinitionsForResource(model interface{}, config *commo... function BuildOpenAPIDefinitionsForResources (line 79) | func BuildOpenAPIDefinitionsForResources(config *common.Config, names ..... function newOpenAPI (line 93) | func newOpenAPI(config *common.Config) openAPI { FILE: pkg/builder/openapi_test.go function setUp (line 35) | func setUp(t *testing.T, fullMethods bool) (*openapi.Config, *restful.Co... function noOp (line 41) | func noOp(request *restful.Request, response *restful.Response) {} type TestInput (line 44) | type TestInput struct method OpenAPIDefinition (line 90) | func (_ TestInput) OpenAPIDefinition() openapi.OpenAPIDefinition { type TestOutput (line 53) | type TestOutput struct method OpenAPIDefinition (line 130) | func (_ TestOutput) OpenAPIDefinition() openapi.OpenAPIDefinition { type TestExtensionV2Schema (line 60) | type TestExtensionV2Schema struct method OpenAPIDefinition (line 62) | func (_ TestExtensionV2Schema) OpenAPIDefinition() openapi.OpenAPIDefi... function getTestRoute (line 158) | func getTestRoute(ws *restful.WebService, method string, additionalParam... function getConfig (line 178) | func getConfig(fullMethods bool) (*openapi.Config, *restful.Container) { function getTestOperation (line 229) | func getTestOperation(method string, opPrefix string) *spec.Operation { function getTestPathItem (line 243) | func getTestPathItem(allMethods bool, opPrefix string) spec.PathItem { function getRefSchema (line 268) | func getRefSchema(ref string) *spec.Schema { function getTestResponses (line 276) | func getTestResponses() *spec.Responses { function getTestCommonParameters (line 291) | func getTestCommonParameters() []spec.Parameter { function getTestParameters (line 306) | func getTestParameters() []spec.Parameter { function getAdditionalTestParameters (line 319) | func getAdditionalTestParameters() []spec.Parameter { function getTestInputDefinition (line 342) | func getTestInputDefinition() spec.Schema { function getTestOutputDefinition (line 383) | func getTestOutputDefinition() spec.Schema { function TestBuildOpenAPISpec (line 411) | func TestBuildOpenAPISpec(t *testing.T) { function TestBuildOpenAPIDefinitionsForResource (line 507) | func TestBuildOpenAPIDefinitionsForResource(t *testing.T) { function TestBuildOpenAPIDefinitionsForResourceWithExtensionV2Schema (line 529) | func TestBuildOpenAPIDefinitionsForResourceWithExtensionV2Schema(t *test... type TestRecursiveType (line 553) | type TestRecursiveType struct function makeRecursiveTypeDefinition (line 558) | func makeRecursiveTypeDefinition(depName string) openapi.OpenAPIDefiniti... function TestEscapeJsonPointerInDefinitionName (line 587) | func TestEscapeJsonPointerInDefinitionName(t *testing.T) { FILE: pkg/builder/parameters.go function deduplicateParameters (line 35) | func deduplicateParameters(sp *spec.Swagger) (*spec.Swagger, error) { function collectSharedParameters (line 54) | func collectSharedParameters(sp *spec.Swagger) (namesByJSON map[string]s... function operations (line 146) | func operations(path *spec.PathItem) []*spec.Operation { function base64Hash (line 150) | func base64Hash(s string) string { function replaceSharedParameters (line 156) | func replaceSharedParameters(sharedParameterNamesByJSON map[string]strin... FILE: pkg/builder/parameters_test.go function TestCollectSharedParameters (line 29) | func TestCollectSharedParameters(t *testing.T) { function TestReplaceSharedParameters (line 145) | func TestReplaceSharedParameters(t *testing.T) { function toJSON (line 229) | func toJSON(t *testing.T, x interface{}) string { function normalizeJSON (line 236) | func normalizeJSON(t *testing.T, j string) string { function TestOperations (line 243) | func TestOperations(t *testing.T) { FILE: pkg/builder/util.go type parameters (line 26) | type parameters method Len (line 28) | func (s parameters) Len() int { return len(s) } method Swap (line 29) | func (s parameters) Swap(i, j int) { s[i], s[j] = s[j], s[i] } type byNameIn (line 32) | type byNameIn struct method Less (line 36) | func (s byNameIn) Less(i, j int) bool { function sortParameters (line 41) | func sortParameters(p []spec.Parameter) { function groupRoutesByPath (line 45) | func groupRoutesByPath(routes []common.Route) map[string][]common.Route { function mapKeyFromParam (line 53) | func mapKeyFromParam(param common.Parameter) interface{} { FILE: pkg/builder3/openapi.go constant OpenAPIVersion (line 36) | OpenAPIVersion = "3.0" type openAPI (line 39) | type openAPI struct method buildResponse (line 53) | func (o *openAPI) buildResponse(model interface{}, description string,... method buildOperations (line 76) | func (o *openAPI) buildOperations(route common.Route, inPathCommonPara... method buildRequestBody (line 150) | func (o *openAPI) buildRequestBody(parameters []common.Parameter, cons... method buildOpenAPISpec (line 243) | func (o *openAPI) buildOpenAPISpec(webServices []common.RouteContainer... method findCommonParameters (line 353) | func (o *openAPI) findCommonParameters(routes []common.Route) (map[int... method buildParameters (line 387) | func (o *openAPI) buildParameters(restParam []common.Parameter) (ret [... method buildParameter (line 398) | func (o *openAPI) buildParameter(restParam common.Parameter) (ret *spe... method buildDefinitionRecursively (line 437) | func (o *openAPI) buildDefinitionRecursively(name string) error { method buildDefinitionForType (line 472) | func (o *openAPI) buildDefinitionForType(name string) (string, error) { method toSchema (line 480) | func (o *openAPI) toSchema(name string) (_ *spec.Schema, err error) { function groupRoutesByPath (line 45) | func groupRoutesByPath(routes []common.Route) map[string][]common.Route { function newOpenAPI (line 177) | func newOpenAPI(config *common.OpenAPIV3Config) openAPI { function BuildOpenAPISpec (line 321) | func BuildOpenAPISpec(webServices []*restful.WebService, config *common.... function BuildOpenAPISpecFromRoutes (line 326) | func BuildOpenAPISpecFromRoutes(webServices []common.RouteContainer, con... function BuildOpenAPIDefinitionsForResources (line 341) | func BuildOpenAPIDefinitionsForResources(config *common.OpenAPIV3Config,... FILE: pkg/builder3/openapi_test.go function setUp (line 36) | func setUp(t *testing.T, fullMethods bool) (*openapi.OpenAPIV3Config, *r... function noOp (line 42) | func noOp(request *restful.Request, response *restful.Response) {} type TestInput (line 45) | type TestInput struct method OpenAPIDefinition (line 61) | func (_ TestInput) OpenAPIDefinition() openapi.OpenAPIDefinition { type TestOutput (line 54) | type TestOutput struct method OpenAPIDefinition (line 124) | func (_ TestOutput) OpenAPIDefinition() openapi.OpenAPIDefinition { function getTestRoute (line 152) | func getTestRoute(ws *restful.WebService, method string, opPrefix string... function getConfig (line 168) | func getConfig(fullMethods bool) (*openapi.OpenAPIV3Config, *restful.Con... function getTestOperation (line 217) | func getTestOperation(method string, opPrefix string) *spec3.Operation { function getTestPathItem (line 228) | func getTestPathItem(opPrefix string) *spec3.Path { function getRefSchema (line 251) | func getRefSchema(ref string) *spec.Schema { function getTestResponses (line 259) | func getTestResponses() *spec3.Responses { function getTestCommonParameters (line 281) | func getTestCommonParameters() []*spec3.Parameter { function getTestRequestBody (line 313) | func getTestRequestBody() *spec3.RequestBody { function getTestInputDefinition (line 329) | func getTestInputDefinition() *spec.Schema { function getTestOutputDefinition (line 402) | func getTestOutputDefinition() *spec.Schema { function TestBuildOpenAPISpec (line 430) | func TestBuildOpenAPISpec(t *testing.T) { type TestRecursiveType (line 482) | type TestRecursiveType struct function makeRecursiveTypeDefinition (line 487) | func makeRecursiveTypeDefinition(depName string) openapi.OpenAPIDefiniti... function TestEscapeJsonPointerInSchemaName (line 516) | func TestEscapeJsonPointerInSchemaName(t *testing.T) { FILE: pkg/builder3/util.go function mapKeyFromParam (line 26) | func mapKeyFromParam(param common.Parameter) interface{} { type parameters (line 39) | type parameters method Len (line 36) | func (s parameters) Len() int { return len(s) } method Swap (line 37) | func (s parameters) Swap(i, j int) { s[i], s[j] = s[j], s[i] } type byNameIn (line 41) | type byNameIn struct method Less (line 45) | func (s byNameIn) Less(i, j int) bool { function sortParameters (line 50) | func sortParameters(p []*spec3.Parameter) { FILE: pkg/builder3/util/util.go function WrapRefs (line 29) | func WrapRefs(schema *spec.Schema) *spec.Schema { FILE: pkg/cached/cache.go type Value (line 60) | type Value interface type Result (line 66) | type Result struct method Get (line 72) | func (r Result[T]) Get() (T, string, error) { function Func (line 77) | func Func[T any](fn func() (T, string, error)) Value[T] { type valueFunc (line 81) | type valueFunc method Get (line 83) | func (c valueFunc[T]) Get() (T, string, error) { function Static (line 88) | func Static[T any](value T, etag string) Value[T] { function Merge (line 107) | func Merge[K comparable, T, V any](mergeFn func(results map[K]Result[T])... function MergeList (line 146) | func MergeList[T, V any](mergeFn func(results []Result[T]) (V, string, e... type listMerger (line 153) | type listMerger struct method prepareResultsLocked (line 161) | func (c *listMerger[T, V]) prepareResultsLocked() []Result[T] { method needsRunningLocked (line 183) | func (c *listMerger[T, V]) needsRunningLocked(results []Result[T]) bool { method Get (line 202) | func (c *listMerger[T, V]) Get() (V, string, error) { function Transform (line 219) | func Transform[T, V any](transformerFn func(T, string, error) (V, string... function Once (line 229) | func Once[T any](d Value[T]) Value[T] { type once (line 235) | type once struct method Get (line 241) | func (c *once[T]) Get() (T, string, error) { type Replaceable (line 250) | type Replaceable interface type Atomic (line 257) | type Atomic struct method Store (line 263) | func (x *Atomic[T]) Store(val Value[T]) { x.value.Store(&val) } method Get (line 264) | func (x *Atomic[T]) Get() (T, string, error) { return (*x.value.Load()).... type LastSuccess (line 268) | type LastSuccess struct method Get (line 275) | func (c *LastSuccess[T]) Get() (T, string, error) { FILE: pkg/cached/cache_test.go function TestDataFunc (line 34) | func TestDataFunc(t *testing.T) { function TestDataFuncError (line 51) | func TestDataFuncError(t *testing.T) { function TestDataFuncAlternate (line 68) | func TestDataFuncAlternate(t *testing.T) { function TestOnce (line 94) | func TestOnce(t *testing.T) { function TestOnceError (line 111) | func TestOnceError(t *testing.T) { function TestResultGet (line 128) | func TestResultGet(t *testing.T) { function TestResultGetError (line 142) | func TestResultGetError(t *testing.T) { function TestTransform (line 156) | func TestTransform(t *testing.T) { function TestTransformChained (line 184) | func TestTransformChained(t *testing.T) { function TestTransformError (line 241) | func TestTransformError(t *testing.T) { function TestTransformSourceError (line 266) | func TestTransformSourceError(t *testing.T) { function TestTransformAlternateSourceError (line 294) | func TestTransformAlternateSourceError(t *testing.T) { function TestMerge (line 346) | func TestMerge(t *testing.T) { function TestMergeError (line 401) | func TestMergeError(t *testing.T) { function TestMergeSourceError (line 437) | func TestMergeSourceError(t *testing.T) { function TestMergeAlternateSourceError (line 484) | func TestMergeAlternateSourceError(t *testing.T) { function TestAtomic (line 555) | func TestAtomic(t *testing.T) { function TestLastSuccess (line 632) | func TestLastSuccess(t *testing.T) { function TestLastSuccessEtag (line 711) | func TestLastSuccessEtag(t *testing.T) { function TestLastSuccessAlternateError (line 726) | func TestLastSuccessAlternateError(t *testing.T) { function TestLastSuccessWithTransformer (line 783) | func TestLastSuccessWithTransformer(t *testing.T) { function Example (line 848) | func Example() { function TestListMerger (line 937) | func TestListMerger(t *testing.T) { function TestMergeListSourceError (line 989) | func TestMergeListSourceError(t *testing.T) { function TestMergeListAlternateSourceError (line 1033) | func TestMergeListAlternateSourceError(t *testing.T) { function TestListDAG (line 1101) | func TestListDAG(t *testing.T) { function randomString (line 1143) | func randomString(length uint) string { function NewRandomSource (line 1150) | func NewRandomSource() cached.Value[int64] { function repeatedGet (line 1158) | func repeatedGet(data cached.Value[int64], end time.Time, wg *sync.WaitG... function TestThreadSafe (line 1165) | func TestThreadSafe(t *testing.T) { FILE: pkg/common/common.go constant ExtensionPrefix (line 31) | ExtensionPrefix = "x-kubernetes-" constant ExtensionV2Schema (line 32) | ExtensionV2Schema = ExtensionPrefix + "v2-schema" type OpenAPIDefinition (line 36) | type OpenAPIDefinition struct type ReferenceCallback (line 41) | type ReferenceCallback type GetOpenAPIDefinitions (line 44) | type GetOpenAPIDefinitions type OpenAPIDefinitionGetter (line 50) | type OpenAPIDefinitionGetter interface type OpenAPIV3DefinitionGetter (line 54) | type OpenAPIV3DefinitionGetter interface type PathHandler (line 58) | type PathHandler interface type PathHandlerByGroupVersion (line 62) | type PathHandlerByGroupVersion interface type Config (line 68) | type Config struct type OpenAPIV3Config (line 126) | type OpenAPIV3Config struct type typeInfo (line 177) | type typeInfo struct function OpenAPITypeFormat (line 250) | func OpenAPITypeFormat(typeName string) (string, string) { function OpenAPIZeroValue (line 260) | func OpenAPIZeroValue(typeName string) (interface{}, bool) { function EscapeJsonPointer (line 268) | func EscapeJsonPointer(p string) string { function EmbedOpenAPIDefinitionIntoV2Extension (line 275) | func EmbedOpenAPIDefinitionIntoV2Extension(main OpenAPIDefinition, embed... function GenerateOpenAPIV3OneOfSchema (line 284) | func GenerateOpenAPIV3OneOfSchema(types []string) (oneOf []spec.Schema) { FILE: pkg/common/interfaces.go type RouteContainer (line 5) | type RouteContainer interface type Route (line 15) | type Route interface type StatusCodeResponse (line 42) | type StatusCodeResponse interface type Parameter (line 52) | type Parameter interface type ParameterKind (line 68) | type ParameterKind constant PathParameterKind (line 72) | PathParameterKind = ParameterKind(iota) constant QueryParameterKind (line 75) | QueryParameterKind constant BodyParameterKind (line 78) | BodyParameterKind constant HeaderParameterKind (line 81) | HeaderParameterKind constant FormParameterKind (line 84) | FormParameterKind constant UnknownParameterKind (line 87) | UnknownParameterKind FILE: pkg/common/restfuladapter/adapter.go function AdaptWebServices (line 9) | func AdaptWebServices(webServices []*restful.WebService) []common.RouteC... FILE: pkg/common/restfuladapter/param_adapter.go type ParamAdapter (line 11) | type ParamAdapter struct method MarshalJSON (line 15) | func (r *ParamAdapter) MarshalJSON() ([]byte, error) { method Name (line 19) | func (r *ParamAdapter) Name() string { method Description (line 23) | func (r *ParamAdapter) Description() string { method Required (line 27) | func (r *ParamAdapter) Required() bool { method Kind (line 31) | func (r *ParamAdapter) Kind() common.ParameterKind { method DataType (line 48) | func (r *ParamAdapter) DataType() string { method AllowMultiple (line 52) | func (r *ParamAdapter) AllowMultiple() bool { FILE: pkg/common/restfuladapter/response_error_adapter.go type ResponseErrorAdapter (line 11) | type ResponseErrorAdapter struct method Message (line 15) | func (r *ResponseErrorAdapter) Message() string { method Model (line 19) | func (r *ResponseErrorAdapter) Model() interface{} { method Code (line 23) | func (r *ResponseErrorAdapter) Code() int { FILE: pkg/common/restfuladapter/route_adapter.go type RouteAdapter (line 11) | type RouteAdapter struct method StatusCodeResponses (line 15) | func (r *RouteAdapter) StatusCodeResponses() []common.StatusCodeRespon... method OperationName (line 26) | func (r *RouteAdapter) OperationName() string { method Method (line 30) | func (r *RouteAdapter) Method() string { method Path (line 34) | func (r *RouteAdapter) Path() string { method Parameters (line 38) | func (r *RouteAdapter) Parameters() []common.Parameter { method Description (line 46) | func (r *RouteAdapter) Description() string { method Consumes (line 50) | func (r *RouteAdapter) Consumes() []string { method Produces (line 54) | func (r *RouteAdapter) Produces() []string { method Metadata (line 58) | func (r *RouteAdapter) Metadata() map[string]interface{} { method RequestPayloadSample (line 62) | func (r *RouteAdapter) RequestPayloadSample() interface{} { method ResponsePayloadSample (line 66) | func (r *RouteAdapter) ResponsePayloadSample() interface{} { FILE: pkg/common/restfuladapter/webservice_adapter.go type WebServiceAdapter (line 11) | type WebServiceAdapter struct method RootPath (line 15) | func (r *WebServiceAdapter) RootPath() string { method PathParameters (line 19) | func (r *WebServiceAdapter) PathParameters() []common.Parameter { method Routes (line 27) | func (r *WebServiceAdapter) Routes() []common.Route { FILE: pkg/generators/api_linter.go constant apiViolationFileType (line 33) | apiViolationFileType = "api-violation" type apiViolationFile (line 35) | type apiViolationFile struct method AssembleFile (line 41) | func (a apiViolationFile) AssembleFile(f *generator.File, path string)... method VerifyFile (line 58) | func (a apiViolationFile) VerifyFile(f *generator.File, path string) e... function newAPIViolationGen (line 90) | func newAPIViolationGen() *apiViolationGen { type apiViolationGen (line 96) | type apiViolationGen struct method FileType (line 102) | func (v *apiViolationGen) FileType() string { return apiViolationFileT... method Filename (line 103) | func (v *apiViolationGen) Filename() string { method GenerateType (line 107) | func (v *apiViolationGen) GenerateType(c *generator.Context, t *types.... method Finalize (line 117) | func (v *apiViolationGen) Finalize(c *generator.Context, w io.Writer) ... type apiLinter (line 128) | type apiLinter struct method validate (line 193) | func (l *apiLinter) validate(t *types.Type) error { method report (line 213) | func (l *apiLinter) report(w io.Writer) error { function newAPILinter (line 136) | func newAPILinter() *apiLinter { type apiViolation (line 150) | type apiViolation struct type apiViolations (line 164) | type apiViolations method Len (line 166) | func (a apiViolations) Len() int { return len(a) } method Swap (line 167) | func (a apiViolations) Swap(i, j int) { a[i], a[j] = a[j], a[i] } method Less (line 168) | func (a apiViolations) Less(i, j int) bool { type APIRule (line 182) | type APIRule interface FILE: pkg/generators/config.go type identityNamer (line 29) | type identityNamer struct method Name (line 31) | func (_ identityNamer) Name(t *types.Type) string { function NameSystems (line 38) | func NameSystems() namer.NameSystems { function DefaultNameSystem (line 47) | func DefaultNameSystem() string { function GetOpenAPITargets (line 52) | func GetOpenAPITargets(context *generator.Context, args *args.Args, boil... function isReadOnlyPkg (line 83) | func isReadOnlyPkg(pkgPath string, readOnlyPkgs []string) bool { function GetModelNameTargets (line 93) | func GetModelNameTargets(context *generator.Context, args *args.Args, bo... FILE: pkg/generators/config_test.go function TestIsReadOnlyPkg (line 27) | func TestIsReadOnlyPkg(t *testing.T) { function TestGetModelNameTargets_ReadOnlyPkgs (line 82) | func TestGetModelNameTargets_ReadOnlyPkgs(t *testing.T) { FILE: pkg/generators/enum.go constant tagEnumType (line 30) | tagEnumType = "enum" constant enumTypeDescriptionHeader (line 31) | enumTypeDescriptionHeader = "Possible enum values:" type enumValue (line 33) | type enumValue struct method Description (line 154) | func (ev *enumValue) Description() string { type enumType (line 39) | type enumType struct method ValueStrings (line 69) | func (et *enumType) ValueStrings() []string { method DescriptionLines (line 84) | func (et *enumType) DescriptionLines() []string { method addIfNotPresent (line 133) | func (et *enumType) addIfNotPresent(value *enumValue) { type enumMap (line 45) | type enumMap type enumContext (line 47) | type enumContext struct method EnumType (line 58) | func (ec *enumContext) EnumType(t *types.Type) (enum *enumType, isEnum... function newEnumContext (line 51) | func newEnumContext(c *generator.Context) *enumContext { function parseEnums (line 97) | func parseEnums(c *generator.Context) enumMap { function isEnumType (line 168) | func isEnumType(stringType *types.Type, t *types.Type) bool { function hasEnumTag (line 172) | func hasEnumTag(t *types.Type) bool { FILE: pkg/generators/enum_test.go function TestParseEnums (line 28) | func TestParseEnums(t *testing.T) { FILE: pkg/generators/extension.go constant extensionPrefix (line 29) | extensionPrefix = "x-kubernetes-" type extensionAttributes (line 32) | type extensionAttributes struct type extension (line 77) | type extension struct method hasAllowedValues (line 83) | func (e extension) hasAllowedValues() bool { method allowedValues (line 87) | func (e extension) allowedValues() sets.String { method hasKind (line 91) | func (e extension) hasKind() bool { method kind (line 95) | func (e extension) kind() types.Kind { method validateAllowedValues (line 99) | func (e extension) validateAllowedValues() error { method validateType (line 117) | func (e extension) validateType(kind types.Kind) error { method hasMultipleValues (line 129) | func (e extension) hasMultipleValues() bool { method isAlwaysArrayFormat (line 133) | func (e extension) isAlwaysArrayFormat() bool { function sortedMapKeys (line 138) | func sortedMapKeys(m map[string][]string) []string { function parseExtensions (line 153) | func parseExtensions(comments []string) ([]extension, []error) { function validateMemberExtensions (line 192) | func validateMemberExtensions(extensions []extension, m *types.Member) [... FILE: pkg/generators/extension_test.go function TestSingleTagExtension (line 28) | func TestSingleTagExtension(t *testing.T) { function TestMultipleTagExtensions (line 110) | func TestMultipleTagExtensions(t *testing.T) { function TestExtensionParseErrors (line 150) | func TestExtensionParseErrors(t *testing.T) { function TestExtensionAllowedValues (line 184) | func TestExtensionAllowedValues(t *testing.T) { function TestExtensionKind (line 351) | func TestExtensionKind(t *testing.T) { function TestValidateMemberExtensions (line 416) | func TestValidateMemberExtensions(t *testing.T) { FILE: pkg/generators/markers.go type CELTag (line 34) | type CELTag struct method Validate (line 43) | func (c *CELTag) Validate() error { function isKnownTagCommentKey (line 70) | func isKnownTagCommentKey(key string) bool { type commentTags (line 107) | type commentTags struct method ValidationSchema (line 141) | func (c *commentTags) ValidationSchema() (*spec.Schema, error) { method Validate (line 242) | func (c commentTags) Validate() error { method ValidateType (line 301) | func (c commentTags) ValidateType(t *types.Type) error { function memberWithJSONName (line 404) | func memberWithJSONName(t *types.Type, key string) *types.Member { function ParseCommentTags (line 422) | func ParseCommentTags(t *types.Type, comments []string, prefix string) (... function extractCommentTags (line 493) | func extractCommentTags(marker string, lines []string) (map[string]strin... function parseMarkers (line 629) | func parseMarkers(markerComments []string, prefix string) (map[string]an... function nestMarkers (line 682) | func nestMarkers(markers map[string]any) (map[string]any, error) { function putNestedValue (line 704) | func putNestedValue(m map[string]any, k []string, v any) error { function extractArraySubscript (line 780) | func extractArraySubscript(str string) (string, int, bool, error) { FILE: pkg/generators/markers_test.go function TestParseCommentTags (line 33) | func TestParseCommentTags(t *testing.T) { function TestCommentTags_Validate (line 623) | func TestCommentTags_Validate(t *testing.T) { FILE: pkg/generators/model_names.go constant tagModelPackage (line 32) | tagModelPackage = "k8s:openapi-model-package" function extractOpenAPISchemaNamePackage (line 35) | func extractOpenAPISchemaNamePackage(comments []string) (string, error) { function singularTag (line 43) | func singularTag(tagName string, comments []string) (*gengo.Tag, error) { type genSchemaName (line 66) | type genSchemaName struct method Namers (line 87) | func (g *genSchemaName) Namers(c *generator.Context) namer.NameSystems { method Filter (line 95) | func (g *genSchemaName) Filter(c *generator.Context, t *types.Type) bo... method isOtherPackage (line 122) | func (g *genSchemaName) isOtherPackage(pkg string) bool { method Imports (line 132) | func (g *genSchemaName) Imports(c *generator.Context) (imports []strin... method Init (line 142) | func (g *genSchemaName) Init(c *generator.Context, w io.Writer) error { method GenerateType (line 146) | func (g *genSchemaName) GenerateType(c *generator.Context, t *types.Ty... function NewSchemaNameGen (line 75) | func NewSchemaNameGen(outputFilename, targetPackage string, openAPISchem... function isSchemaNameType (line 106) | func isSchemaNameType(t *types.Type) bool { FILE: pkg/generators/openapi.go constant tagName (line 41) | tagName = "k8s:openapi-gen" constant markerPrefix (line 42) | markerPrefix = "+k8s:validation:" constant tagOptional (line 43) | tagOptional = "optional" constant tagRequired (line 44) | tagRequired = "required" constant tagDefault (line 45) | tagDefault = "default" constant tagValueTrue (line 49) | tagValueTrue = "true" constant tagValueFalse (line 50) | tagValueFalse = "false" function getOpenAPITagValue (line 60) | func getOpenAPITagValue(comments []string) []string { function getSingleTagsValue (line 64) | func getSingleTagsValue(comments []string, tag string) (string, error) { function hasOpenAPITagValue (line 75) | func hasOpenAPITagValue(comments []string, value string) bool { function isOptional (line 88) | func isOptional(m *types.Member) (bool, error) { function apiTypeFilterFunc (line 106) | func apiTypeFilterFunc(c *generator.Context, t *types.Type) bool { constant specPackagePath (line 122) | specPackagePath = "k8s.io/kube-openapi/pkg/validation/spec" constant openAPICommonPackagePath (line 123) | openAPICommonPackagePath = "k8s.io/kube-openapi/pkg/common" type openAPIGen (line 127) | type openAPIGen struct method Namers (line 146) | func (g *openAPIGen) Namers(c *generator.Context) namer.NameSystems { method Imports (line 159) | func (g *openAPIGen) Imports(c *generator.Context) []string { method Init (line 176) | func (g *openAPIGen) Init(c *generator.Context, w io.Writer) error { method GenerateType (line 194) | func (g *openAPIGen) GenerateType(c *generator.Context, t *types.Type,... function newOpenAPIGen (line 134) | func newOpenAPIGen(outputFilename string, targetPackage string) generato... constant nameTmpl (line 144) | nameTmpl = "schema_$.type|private$" function argsFromType (line 167) | func argsFromType(t *types.Type) generator.Args { function getJsonTags (line 204) | func getJsonTags(m *types.Member) []string { function getReferableName (line 212) | func getReferableName(m *types.Member) string { function shouldInlineMembers (line 225) | func shouldInlineMembers(m *types.Member) bool { type openAPITypeWriter (line 230) | type openAPITypeWriter struct method shouldUseOpenAPIModelName (line 308) | func (g openAPITypeWriter) shouldUseOpenAPIModelName(t *types.Type) bo... method generateMembers (line 338) | func (g openAPITypeWriter) generateMembers(t *types.Type, required []s... method generateCall (line 372) | func (g openAPITypeWriter) generateCall(t *types.Type) error { method generateSchema (line 412) | func (g openAPITypeWriter) generateSchema(s *spec.Schema) error { method generateValueValidations (line 491) | func (g openAPITypeWriter) generateValueValidations(vs *spec.SchemaPro... method generate (line 564) | func (g openAPITypeWriter) generate(t *types.Type) error { method generateStructExtensions (line 731) | func (g openAPITypeWriter) generateStructExtensions(t *types.Type, oth... method generateMemberExtensions (line 751) | func (g openAPITypeWriter) generateMemberExtensions(m *types.Member, p... method emitExtensions (line 766) | func (g openAPITypeWriter) emitExtensions(extensions []extension, unio... method validatePatchTags (line 813) | func (g openAPITypeWriter) validatePatchTags(m *types.Member, parent *... method generateDefault (line 946) | func (g openAPITypeWriter) generateDefault(comments []string, t *types... method generateDescription (line 969) | func (g openAPITypeWriter) generateDescription(CommentLines []string) { method generateProperty (line 1007) | func (g openAPITypeWriter) generateProperty(m *types.Member, parent *t... method generateSimpleProperty (line 1077) | func (g openAPITypeWriter) generateSimpleProperty(typeString, format s... method generateReferenceProperty (line 1082) | func (g openAPITypeWriter) generateReferenceProperty(t *types.Type) { method generateMapProperty (line 1116) | func (g openAPITypeWriter) generateMapProperty(t *types.Type) error { method generateSliceProperty (line 1160) | func (g openAPITypeWriter) generateSliceProperty(t *types.Type) error { function newOpenAPITypeWriter (line 238) | func newOpenAPITypeWriter(sw *generator.SnippetWriter, c *generator.Cont... function methodReturnsValue (line 247) | func methodReturnsValue(mt *types.Type, pkg, name string) bool { function hasOpenAPIV3DefinitionMethod (line 255) | func hasOpenAPIV3DefinitionMethod(t *types.Type) bool { function hasOpenAPIDefinitionMethod (line 265) | func hasOpenAPIDefinitionMethod(t *types.Type) bool { function hasOpenAPIDefinitionMethods (line 275) | func hasOpenAPIDefinitionMethods(t *types.Type) bool { function hasOpenAPIV3OneOfMethod (line 288) | func hasOpenAPIV3OneOfMethod(t *types.Type) bool { function hasOpenAPIModelName (line 298) | func hasOpenAPIModelName(t *types.Type) bool { function typeShortName (line 333) | func typeShortName(t *types.Type) string { function defaultFromComments (line 829) | func defaultFromComments(comments []string, commentPath string, t *types... function parseSymbolReference (line 880) | func parseSymbolReference(s, sourcePackage string) (types.Name, bool) { function implementsCustomUnmarshalling (line 894) | func implementsCustomUnmarshalling(t *types.Type) bool { function mustEnforceDefault (line 907) | func mustEnforceDefault(t *types.Type, omitEmpty bool) (interface{}, err... function resolvePtrType (line 1091) | func resolvePtrType(t *types.Type) *types.Type { function resolveAliasAndPtrType (line 1102) | func resolveAliasAndPtrType(t *types.Type) *types.Type { FILE: pkg/generators/openapi_test.go function construct (line 37) | func construct(t *testing.T, cfg *packages.Config, nameSystems namer.Nam... function testOpenAPITypeWriter (line 49) | func testOpenAPITypeWriter(t *testing.T, cfg *packages.Config) (error, e... function assertEqual (line 82) | func assertEqual(t *testing.T, got, want string) { function TestSimple (line 91) | func TestSimple(t *testing.T) { function TestEmptyProperties (line 413) | func TestEmptyProperties(t *testing.T) { function TestNestedStruct (line 453) | func TestNestedStruct(t *testing.T) { function TestNestedStructPointer (line 513) | func TestNestedStructPointer(t *testing.T) { function TestEmbeddedStruct (line 573) | func TestEmbeddedStruct(t *testing.T) { function TestSingleEmbeddedStruct (line 633) | func TestSingleEmbeddedStruct(t *testing.T) { function TestEmbeddedInlineStruct (line 695) | func TestEmbeddedInlineStruct(t *testing.T) { function TestEmbeddedInlineStructPointer (line 754) | func TestEmbeddedInlineStructPointer(t *testing.T) { function TestEmbeddedInlineStructWithEmptyJSONTag (line 813) | func TestEmbeddedInlineStructWithEmptyJSONTag(t *testing.T) { function TestNestedMapString (line 872) | func TestNestedMapString(t *testing.T) { function TestNestedMapInt (line 941) | func TestNestedMapInt(t *testing.T) { function TestNestedMapBoolean (line 1010) | func TestNestedMapBoolean(t *testing.T) { function TestFailingSample1 (line 1079) | func TestFailingSample1(t *testing.T) { function TestFailingSample2 (line 1108) | func TestFailingSample2(t *testing.T) { function TestFailingDefaultEnforced (line 1137) | func TestFailingDefaultEnforced(t *testing.T) { function TestCustomDef (line 1208) | func TestCustomDef(t *testing.T) { function TestCustomDefV3 (line 1258) | func TestCustomDefV3(t *testing.T) { function TestCustomDefV2AndV3 (line 1308) | func TestCustomDefV2AndV3(t *testing.T) { function TestCustomDefs (line 1369) | func TestCustomDefs(t *testing.T) { function TestCustomDefsV3 (line 1413) | func TestCustomDefsV3(t *testing.T) { function TestV3OneOfTypes (line 1478) | func TestV3OneOfTypes(t *testing.T) { function TestPointer (line 1531) | func TestPointer(t *testing.T) { function TestNestedLists (line 1627) | func TestNestedLists(t *testing.T) { function TestNestListOfMaps (line 1700) | func TestNestListOfMaps(t *testing.T) { function TestExtensions (line 1781) | func TestExtensions(t *testing.T) { function TestUnion (line 1887) | func TestUnion(t *testing.T) { function TestEnumAlias (line 1982) | func TestEnumAlias(t *testing.T) { function TestEnum (line 2062) | func TestEnum(t *testing.T) { function TestSymbolReference (line 2183) | func TestSymbolReference(t *testing.T) { function TestMustEnforceDefaultStruct (line 2295) | func TestMustEnforceDefaultStruct(t *testing.T) { function TestMarkerComments (line 2427) | func TestMarkerComments(t *testing.T) { function TestCELMarkerComments (line 2566) | func TestCELMarkerComments(t *testing.T) { function TestMultilineCELMarkerComments (line 2647) | func TestMultilineCELMarkerComments(t *testing.T) { function TestRequired (line 2732) | func TestRequired(t *testing.T) { function TestMarkerCommentsCustomDefsV3 (line 2872) | func TestMarkerCommentsCustomDefsV3(t *testing.T) { function TestMarkerCommentsV3OneOfTypes (line 2938) | func TestMarkerCommentsV3OneOfTypes(t *testing.T) { function TestNestedMarkers (line 2990) | func TestNestedMarkers(t *testing.T) { function TestShouldInlineMembers (line 3165) | func TestShouldInlineMembers(t *testing.T) { FILE: pkg/generators/rules/idl_tag.go constant ListTypeIDLTag (line 8) | ListTypeIDLTag = "listType" type ListTypeMissing (line 12) | type ListTypeMissing struct method Name (line 15) | func (l *ListTypeMissing) Name() string { method Validate (line 22) | func (l *ListTypeMissing) Validate(t *types.Type) ([]string, error) { function hasNamedMember (line 48) | func hasNamedMember(t *types.Type, name string) bool { FILE: pkg/generators/rules/idl_tag_test.go function TestListTypeMissing (line 10) | func TestListTypeMissing(t *testing.T) { FILE: pkg/generators/rules/list_type_streaming_tags.go type StreamingListTypeFieldOrder (line 27) | type StreamingListTypeFieldOrder struct method Name (line 29) | func (l *StreamingListTypeFieldOrder) Name() string { method Validate (line 32) | func (l *StreamingListTypeFieldOrder) Validate(t *types.Type) ([]strin... type StreamingListTypeJSONTags (line 51) | type StreamingListTypeJSONTags struct method Name (line 53) | func (l *StreamingListTypeJSONTags) Name() string { method Validate (line 57) | func (l *StreamingListTypeJSONTags) Validate(t *types.Type) ([]string,... type StreamingListTypeProtoTags (line 90) | type StreamingListTypeProtoTags struct method Name (line 92) | func (l *StreamingListTypeProtoTags) Name() string { method Validate (line 95) | func (l *StreamingListTypeProtoTags) Validate(t *types.Type) ([]string... function isListType (line 119) | func isListType(t *types.Type) bool { FILE: pkg/generators/rules/list_type_streaming_tags_test.go function TestStreamingListTypeFieldOrder (line 26) | func TestStreamingListTypeFieldOrder(t *testing.T) { function TestStreamingListTypeJSONTags (line 112) | func TestStreamingListTypeJSONTags(t *testing.T) { function TestStreamingListTypeProtoTags (line 271) | func TestStreamingListTypeProtoTags(t *testing.T) { FILE: pkg/generators/rules/names_match.go type NamesMatch (line 74) | type NamesMatch struct method Name (line 77) | func (n *NamesMatch) Name() string { method Validate (line 84) | func (n *NamesMatch) Validate(t *types.Type) ([]string, error) { function nameIsOkay (line 111) | func nameIsOkay(member types.Member, jsonName string) bool { function namesMatch (line 138) | func namesMatch(goName, jsonName string) bool { function isCapital (line 169) | func isCapital(b byte) bool { function isAllowedName (line 175) | func isAllowedName(name string) bool { FILE: pkg/generators/rules/names_match_test.go function TestNamesMatch (line 26) | func TestNamesMatch(t *testing.T) { function TestRuleName (line 443) | func TestRuleName(t *testing.T) { FILE: pkg/generators/rules/omitempty_match_case.go type OmitEmptyMatchCase (line 28) | type OmitEmptyMatchCase struct method Name (line 30) | func (n *OmitEmptyMatchCase) Name() string { method Validate (line 34) | func (n *OmitEmptyMatchCase) Validate(t *types.Type) ([]string, error) { FILE: pkg/generators/rules/omitempty_match_case_test.go function TestOmitEmptyMatchCase (line 26) | func TestOmitEmptyMatchCase(t *testing.T) { FILE: pkg/generators/union.go constant tagUnionMember (line 27) | tagUnionMember = "union" constant tagUnionDeprecated (line 28) | tagUnionDeprecated = "unionDeprecated" constant tagUnionDiscriminator (line 29) | tagUnionDiscriminator = "unionDiscriminator" type union (line 31) | type union struct method emit (line 37) | func (u *union) emit(g openAPITypeWriter) { method setDiscriminator (line 60) | func (u *union) setDiscriminator(value string) []error { method addMember (line 70) | func (u *union) addMember(jsonName, variableName string) { method isValid (line 78) | func (u *union) isValid() []error { function parseUnions (line 103) | func parseUnions(t *types.Type) ([]union, []error) { function parseEmbeddedUnion (line 123) | func parseEmbeddedUnion(t *types.Type) ([]union, []error) { function parseUnionStruct (line 143) | func parseUnionStruct(t *types.Type) (*union, []error) { function parseUnionMembers (line 178) | func parseUnionMembers(t *types.Type) (*union, []error) { FILE: pkg/handler/default_pruning.go function PruneDefaults (line 24) | func PruneDefaults(definitions spec.Definitions) spec.Definitions { function PruneDefaultsSchema (line 44) | func PruneDefaultsSchema(schema *spec.Schema) *spec.Schema { FILE: pkg/handler/default_pruning_test.go function TestDefaultPruning (line 29) | func TestDefaultPruning(t *testing.T) { FILE: pkg/handler/handler.go constant subTypeProtobufDeprecated (line 43) | subTypeProtobufDeprecated = "com.github.proto-openapi.spec.v2@v1.0+proto... constant subTypeProtobuf (line 44) | subTypeProtobuf = "com.github.proto-openapi.spec.v2.v1.0+proto... constant subTypeJSON (line 45) | subTypeJSON = "json" function computeETag (line 48) | func computeETag(data []byte) string { type timedSpec (line 55) | type timedSpec struct type OpenAPIService (line 62) | type OpenAPIService struct method UpdateSpec (line 102) | func (o *OpenAPIService) UpdateSpec(swagger *spec.Swagger) error { method UpdateSpecLazy (line 107) | func (o *OpenAPIService) UpdateSpecLazy(swagger cached.Value[*spec.Swa... method RegisterOpenAPIVersionedService (line 129) | func (o *OpenAPIService) RegisterOpenAPIVersionedService(servePath str... function NewOpenAPIService (line 69) | func NewOpenAPIService(swagger *spec.Swagger) *OpenAPIService { function NewOpenAPIServiceLazy (line 74) | func NewOpenAPIServiceLazy(swagger cached.Value[*spec.Swagger]) *OpenAPI... function ToProtoBinary (line 111) | func ToProtoBinary(json []byte) ([]byte, error) { function RegisterOpenAPIVersionedService (line 122) | func RegisterOpenAPIVersionedService(spec *spec.Swagger, servePath strin... function BuildAndRegisterOpenAPIVersionedService (line 188) | func BuildAndRegisterOpenAPIVersionedService(servePath string, webServic... function BuildAndRegisterOpenAPIVersionedServiceFromRoutes (line 194) | func BuildAndRegisterOpenAPIVersionedServiceFromRoutes(servePath string,... FILE: pkg/handler/handler_test.go function TestRegisterOpenAPIVersionedService (line 25) | func TestRegisterOpenAPIVersionedService(t *testing.T) { function getJSONBodyOrDie (line 120) | func getJSONBodyOrDie(server *httptest.Server) []byte { function getProtoBodyOrDie (line 124) | func getProtoBodyOrDie(server *httptest.Server) []byte { function getBodyOrDie (line 128) | func getBodyOrDie(server *httptest.Server, acceptHeader string) []byte { function normalizeSwaggerOrDie (line 148) | func normalizeSwaggerOrDie(j []byte) []byte { function TestUpdateSpecLazy (line 161) | func TestUpdateSpecLazy(t *testing.T) { function TestToProtoBinary (line 197) | func TestToProtoBinary(t *testing.T) { function TestConcurrentReadStaleCache (line 208) | func TestConcurrentReadStaleCache(t *testing.T) { FILE: pkg/handler3/handler.go constant subTypeProtobufDeprecated (line 44) | subTypeProtobufDeprecated = "com.github.proto-openapi.spec.v3@v1.0+proto... constant subTypeProtobuf (line 45) | subTypeProtobuf = "com.github.proto-openapi.spec.v3.v1.0+proto... constant subTypeJSON (line 46) | subTypeJSON = "json" type OpenAPIV3Discovery (line 51) | type OpenAPIV3Discovery struct type OpenAPIV3DiscoveryGroupVersion (line 57) | type OpenAPIV3DiscoveryGroupVersion struct function ToV3ProtoBinary (line 62) | func ToV3ProtoBinary(json []byte) ([]byte, error) { type timedSpec (line 70) | type timedSpec struct type openAPIV3Group (line 76) | type openAPIV3Group struct method UpdateSpec (line 107) | func (o *openAPIV3Group) UpdateSpec(openapi cached.Value[*spec3.OpenAP... function newOpenAPIV3Group (line 82) | func newOpenAPIV3Group() *openAPIV3Group { type OpenAPIService (line 113) | type OpenAPIService struct method buildDiscoveryCacheLocked (line 145) | func (o *OpenAPIService) buildDiscoveryCacheLocked() cached.Value[time... method getSingleGroupBytes (line 168) | func (o *OpenAPIService) getSingleGroupBytes(getType string, group str... method UpdateGroupVersionLazy (line 188) | func (o *OpenAPIService) UpdateGroupVersionLazy(group string, openapi ... method UpdateGroupVersion (line 199) | func (o *OpenAPIService) UpdateGroupVersion(group string, openapi *spe... method DeleteGroupVersion (line 203) | func (o *OpenAPIService) DeleteGroupVersion(group string) { method HandleDiscovery (line 211) | func (o *OpenAPIService) HandleDiscovery(w http.ResponseWriter, r *htt... method HandleGroupVersion (line 223) | func (o *OpenAPIService) HandleGroupVersion(w http.ResponseWriter, r *... method RegisterOpenAPIV3VersionedService (line 291) | func (o *OpenAPIService) RegisterOpenAPIV3VersionedService(servePath s... function computeETag (line 121) | func computeETag(data []byte) string { function constructServerRelativeURL (line 128) | func constructServerRelativeURL(gvString, etag string) string { function NewOpenAPIService (line 137) | func NewOpenAPIService() *OpenAPIService { FILE: pkg/handler3/handler_test.go function TestRegisterOpenAPIVersionedService (line 44) | func TestRegisterOpenAPIVersionedService(t *testing.T) { function TestCacheBusting (line 288) | func TestCacheBusting(t *testing.T) { function openAPIOrDie (line 437) | func openAPIOrDie(name string) *spec3.OpenAPI { function getDiscovery (line 452) | func getDiscovery(server *httptest.Server, path string) (*OpenAPIV3Disco... function TestUpdateGroupVersion (line 478) | func TestUpdateGroupVersion(t *testing.T) { FILE: pkg/idl/doc.go type ListType (line 69) | type ListType type ListMapKey (line 87) | type ListMapKey type MapType (line 113) | type MapType type OpenAPIGen (line 116) | type OpenAPIGen type Optional (line 131) | type Optional type PatchMergeKey (line 134) | type PatchMergeKey type PatchStrategy (line 137) | type PatchStrategy type StructType (line 163) | type StructType type Union (line 166) | type Union FILE: pkg/idl/listtype_test.go function ExampleListType_map (line 26) | func ExampleListType_map() { function ExampleListType_set (line 41) | func ExampleListType_set() { function ExampleListType_atomic (line 50) | func ExampleListType_atomic() { FILE: pkg/idl/maptype_test.go function ExampleMapType_atomic (line 25) | func ExampleMapType_atomic() { FILE: pkg/idl/structtype_test.go function ExampleStructType_atomic (line 25) | func ExampleStructType_atomic() { FILE: pkg/internal/serialization.go function DeterministicMarshal (line 26) | func DeterministicMarshal(in any) ([]byte, error) { function JSONRefFromMap (line 31) | func JSONRefFromMap(jsonRef *jsonreference.Ref, v map[string]interface{}... function SanitizeExtensions (line 50) | func SanitizeExtensions(e map[string]interface{}) map[string]interface{} { function IsExtensionKey (line 63) | func IsExtensionKey(k string) bool { FILE: pkg/internal/serialization_test.go function TestJSONRefFromMap (line 25) | func TestJSONRefFromMap(t *testing.T) { function TestSanitizeExtensions (line 60) | func TestSanitizeExtensions(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/arshal.go type MarshalOptions (line 16) | type MarshalOptions struct method Marshal (line 65) | func (mo MarshalOptions) Marshal(eo EncodeOptions, in any) (out []byte... method MarshalFull (line 77) | func (mo MarshalOptions) MarshalFull(eo EncodeOptions, out io.Writer, ... method MarshalNext (line 202) | func (mo MarshalOptions) MarshalNext(out *Encoder, in any) error { function Marshal (line 52) | func Marshal(in any) (out []byte, err error) { function MarshalFull (line 58) | func MarshalFull(out io.Writer, in any) error { type UnmarshalOptions (line 233) | type UnmarshalOptions struct method Unmarshal (line 272) | func (uo UnmarshalOptions) Unmarshal(do DecodeOptions, in []byte, out ... method UnmarshalFull (line 283) | func (uo UnmarshalOptions) UnmarshalFull(do DecodeOptions, in io.Reade... method unmarshalFull (line 288) | func (uo UnmarshalOptions) unmarshalFull(in *Decoder, out any) error { method UnmarshalNext (line 444) | func (uo UnmarshalOptions) UnmarshalNext(in *Decoder, out any) error { function Unmarshal (line 258) | func Unmarshal(in []byte, out any) error { function UnmarshalFull (line 264) | func UnmarshalFull(in io.Reader, out any) error { type addressableValue (line 480) | type addressableValue struct function newAddressableValue (line 483) | func newAddressableValue(t reflect.Type) addressableValue { type arshaler (line 493) | type arshaler struct function lookupArshaler (line 501) | func lookupArshaler(t reflect.Type) *arshaler { FILE: pkg/internal/third_party/go-json-experiment/json/arshal_any.go function marshalValueAny (line 14) | func marshalValueAny(mo MarshalOptions, enc *Encoder, val any) error { function unmarshalValueAny (line 39) | func unmarshalValueAny(uo UnmarshalOptions, dec *Decoder) (any, error) { function marshalObjectAny (line 73) | func marshalObjectAny(mo MarshalOptions, enc *Encoder, obj map[string]an... function unmarshalObjectAny (line 135) | func unmarshalObjectAny(uo UnmarshalOptions, dec *Decoder) (map[string]a... function marshalArrayAny (line 179) | func marshalArrayAny(mo MarshalOptions, enc *Encoder, arr []any) error { function unmarshalArrayAny (line 214) | func unmarshalArrayAny(uo UnmarshalOptions, dec *Decoder) ([]any, error) { FILE: pkg/internal/third_party/go-json-experiment/json/arshal_default.go constant optimizeCommon (line 24) | optimizeCommon = true constant startDetectingCyclesAfter (line 39) | startDetectingCyclesAfter = 1000 type seenPointers (line 41) | type seenPointers method visit (line 50) | func (m *seenPointers) visit(v reflect.Value) error { method leave (line 61) | func (m *seenPointers) leave(v reflect.Value) { type typedPointer (line 43) | type typedPointer struct function makeDefaultArshaler (line 66) | func makeDefaultArshaler(t reflect.Type) *arshaler { function makeBoolArshaler (line 103) | func makeBoolArshaler(t reflect.Type) *arshaler { function makeStringArshaler (line 149) | func makeStringArshaler(t reflect.Type) *arshaler { function makeBytesArshaler (line 208) | func makeBytesArshaler(t reflect.Type, fncs *arshaler) *arshaler { function makeIntArshaler (line 323) | func makeIntArshaler(t reflect.Type) *arshaler { function makeUintArshaler (line 397) | func makeUintArshaler(t reflect.Type) *arshaler { function makeFloatArshaler (line 462) | func makeFloatArshaler(t reflect.Type) *arshaler { function makeMapArshaler (line 553) | func makeMapArshaler(t reflect.Type) *arshaler { function mapKeyWithUniqueRepresentation (line 811) | func mapKeyWithUniqueRepresentation(k reflect.Kind, allowInvalidUTF8 boo... function makeStructArshaler (line 828) | func makeStructArshaler(t reflect.Type) *arshaler { method fieldByIndex (line 1087) | func (va addressableValue) fieldByIndex(index []int, mayAlloc bool) addr... method indirect (line 1098) | func (va addressableValue) indirect(mayAlloc bool) addressableValue { function makeSliceArshaler (line 1111) | func makeSliceArshaler(t reflect.Type) *arshaler { function makeArrayArshaler (line 1235) | func makeArrayArshaler(t reflect.Type) *arshaler { function makePointerArshaler (line 1314) | func makePointerArshaler(t reflect.Type) *arshaler { function makeInterfaceArshaler (line 1367) | func makeInterfaceArshaler(t reflect.Type) *arshaler { function isAnyType (line 1463) | func isAnyType(t reflect.Type) bool { function makeInvalidArshaler (line 1471) | func makeInvalidArshaler(t reflect.Type) *arshaler { function newInvalidFormatError (line 1482) | func newInvalidFormatError(action string, t reflect.Type, format string)... FILE: pkg/internal/third_party/go-json-experiment/json/arshal_funcs.go constant SkipFunc (line 20) | SkipFunc = jsonError("skip function") function NewMarshalers (line 38) | func NewMarshalers(ms ...*Marshalers) *Marshalers { function NewUnmarshalers (line 58) | func NewUnmarshalers(us ...*Unmarshalers) *Unmarshalers { type typedArshalers (line 64) | type typedArshalers struct type typedArshaler (line 83) | type typedArshaler struct function newMarshalers (line 89) | func newMarshalers(ms ...*Marshalers) *Marshalers { return newType... function newUnmarshalers (line 90) | func newUnmarshalers(us ...*Unmarshalers) *Unmarshalers { return newType... function newTypedArshalers (line 91) | func newTypedArshalers[Options, Coder any](as ...*typedArshalers[Options... method lookup (line 105) | func (a *typedArshalers[Options, Coder]) lookup(fnc func(Options, *Coder... function MarshalFuncV1 (line 159) | func MarshalFuncV1[T any](fn func(T) ([]byte, error)) *Marshalers { function MarshalFuncV2 (line 193) | func MarshalFuncV2[T any](fn func(MarshalOptions, *Encoder, T) error) *M... function UnmarshalFuncV1 (line 231) | func UnmarshalFuncV1[T any](fn func([]byte, T) error) *Unmarshalers { function UnmarshalFuncV2 (line 264) | func UnmarshalFuncV2[T any](fn func(UnmarshalOptions, *Decoder, T) error... function assertCastableTo (line 307) | func assertCastableTo(to reflect.Type, marshal bool) { function castableTo (line 336) | func castableTo(from, to reflect.Type) bool { method castTo (line 360) | func (va addressableValue) castTo(to reflect.Type) reflect.Value { function castableToFromAny (line 373) | func castableToFromAny(to reflect.Type) bool { function wrapSkipFunc (line 382) | func wrapSkipFunc(err error, what string) error { FILE: pkg/internal/third_party/go-json-experiment/json/arshal_inlined.go function marshalInlinedFallbackAll (line 29) | func marshalInlinedFallbackAll(mo MarshalOptions, enc *Encoder, va addre... function unmarshalInlinedFallbackNext (line 154) | func unmarshalInlinedFallbackNext(uo UnmarshalOptions, dec *Decoder, va ... FILE: pkg/internal/third_party/go-json-experiment/json/arshal_methods.go type MarshalerV1 (line 29) | type MarshalerV1 interface type MarshalerV2 (line 42) | type MarshalerV2 interface type UnmarshalerV1 (line 60) | type UnmarshalerV1 interface type UnmarshalerV2 (line 76) | type UnmarshalerV2 interface function makeMethodArshaler (line 83) | func makeMethodArshaler(fncs *arshaler, t reflect.Type) *arshaler { function implementsWhich (line 211) | func implementsWhich(t reflect.Type, ifaceTypes ...reflect.Type) (which ... method addrWhen (line 224) | func (va addressableValue) addrWhen(addr bool) reflect.Value { FILE: pkg/internal/third_party/go-json-experiment/json/arshal_test.go type testName (line 27) | type testName struct function name (line 32) | func name(s string) (t testName) { type pc (line 38) | type pc method String (line 40) | func (pc pc) String() string { type namedAny (line 50) | type namedAny type namedBool (line 51) | type namedBool type namedString (line 52) | type namedString type namedBytes (line 53) | type namedBytes type namedInt64 (line 54) | type namedInt64 type namedUint64 (line 55) | type namedUint64 type namedFloat64 (line 56) | type namedFloat64 type namedByte (line 57) | type namedByte type recursiveMap (line 59) | type recursiveMap type recursiveSlice (line 60) | type recursiveSlice type recursivePointer (line 61) | type recursivePointer struct type structEmpty (line 63) | type structEmpty struct type structConflicting (line 64) | type structConflicting struct type structNoneExported (line 68) | type structNoneExported struct type structUnexportedIgnored (line 71) | type structUnexportedIgnored struct type structMalformedTag (line 74) | type structMalformedTag struct type structUnexportedTag (line 77) | type structUnexportedTag struct type structUnexportedEmbedded (line 80) | type structUnexportedEmbedded struct type structIgnoredUnexportedEmbedded (line 83) | type structIgnoredUnexportedEmbedded struct type structWeirdNames (line 86) | type structWeirdNames struct type structNoCase (line 91) | type structNoCase struct type structScalars (line 96) | type structScalars struct type structSlices (line 107) | type structSlices struct type structMaps (line 118) | type structMaps struct type structAll (line 129) | type structAll struct type structStringifiedAll (line 145) | type structStringifiedAll struct type structOmitZeroAll (line 161) | type structOmitZeroAll struct type structOmitZeroMethodAll (line 177) | type structOmitZeroMethodAll struct type structOmitZeroMethodInterfaceAll (line 191) | type structOmitZeroMethodInterfaceAll struct type structOmitEmptyAll (line 199) | type structOmitEmptyAll struct type structOmitZeroEmptyAll (line 231) | type structOmitZeroEmptyAll struct type structFormatBytes (line 244) | type structFormatBytes struct type structFormatFloats (line 252) | type structFormatFloats struct type structFormatMaps (line 256) | type structFormatMaps struct type structFormatSlices (line 260) | type structFormatSlices struct type structFormatInvalid (line 264) | type structFormatInvalid struct type structTimeFormat (line 277) | type structTimeFormat struct type structInlined (line 297) | type structInlined struct type structInlinedL1 (line 301) | type structInlinedL1 struct type structInlinedL2 (line 305) | type structInlinedL2 struct type StructEmbed1 (line 306) | type StructEmbed1 struct type StructEmbed2 (line 307) | type StructEmbed2 struct type structUnknownRawValue (line 308) | type structUnknownRawValue struct type structInlineRawValue (line 313) | type structInlineRawValue struct type structInlinePointerRawValue (line 318) | type structInlinePointerRawValue struct type structInlinePointerInlineRawValue (line 323) | type structInlinePointerInlineRawValue struct type structInlineInlinePointerRawValue (line 329) | type structInlineInlinePointerRawValue struct type structInlineMapStringAny (line 334) | type structInlineMapStringAny struct type structInlinePointerMapStringAny (line 339) | type structInlinePointerMapStringAny struct type structInlinePointerInlineMapStringAny (line 344) | type structInlinePointerInlineMapStringAny struct type structInlineInlinePointerMapStringAny (line 350) | type structInlineInlinePointerMapStringAny struct type structInlineMapStringInt (line 355) | type structInlineMapStringInt struct type structNoCaseInlineRawValue (line 358) | type structNoCaseInlineRawValue struct type structNoCaseInlineMapStringAny (line 365) | type structNoCaseInlineMapStringAny struct type allMethods (line 373) | type allMethods struct method MarshalNextJSON (line 454) | func (p *allMethods) MarshalNextJSON(mo MarshalOptions, enc *Encoder) ... method MarshalJSON (line 460) | func (p *allMethods) MarshalJSON() ([]byte, error) { method MarshalText (line 466) | func (p *allMethods) MarshalText() ([]byte, error) { method UnmarshalNextJSON (line 473) | func (p *allMethods) UnmarshalNextJSON(uo UnmarshalOptions, dec *Decod... method UnmarshalJSON (line 479) | func (p *allMethods) UnmarshalJSON(val []byte) error { method UnmarshalText (line 484) | func (p *allMethods) UnmarshalText(val []byte) error { type allMethodsExceptJSONv2 (line 377) | type allMethodsExceptJSONv2 struct type allMethodsExceptJSONv1 (line 382) | type allMethodsExceptJSONv1 struct type allMethodsExceptText (line 387) | type allMethodsExceptText struct type onlyMethodJSONv2 (line 392) | type onlyMethodJSONv2 struct type onlyMethodJSONv1 (line 399) | type onlyMethodJSONv1 struct type onlyMethodText (line 406) | type onlyMethodText struct type structMethodJSONv2 (line 414) | type structMethodJSONv2 struct method MarshalNextJSON (line 490) | func (s structMethodJSONv2) MarshalNextJSON(mo MarshalOptions, enc *En... method UnmarshalNextJSON (line 493) | func (s *structMethodJSONv2) UnmarshalNextJSON(uo UnmarshalOptions, de... type structMethodJSONv1 (line 415) | type structMethodJSONv1 struct method MarshalJSON (line 505) | func (s structMethodJSONv1) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 508) | func (s *structMethodJSONv1) UnmarshalJSON(b []byte) error { type structMethodText (line 416) | type structMethodText struct method MarshalText (line 517) | func (s structMethodText) MarshalText() ([]byte, error) { method UnmarshalText (line 520) | func (s *structMethodText) UnmarshalText(b []byte) error { type marshalJSONv2Func (line 418) | type marshalJSONv2Func method MarshalNextJSON (line 525) | func (f marshalJSONv2Func) MarshalNextJSON(mo MarshalOptions, enc *Enc... type marshalJSONv1Func (line 419) | type marshalJSONv1Func method MarshalJSON (line 528) | func (f marshalJSONv1Func) MarshalJSON() ([]byte, error) { type marshalTextFunc (line 420) | type marshalTextFunc method MarshalText (line 531) | func (f marshalTextFunc) MarshalText() ([]byte, error) { type unmarshalJSONv2Func (line 421) | type unmarshalJSONv2Func method UnmarshalNextJSON (line 534) | func (f unmarshalJSONv2Func) UnmarshalNextJSON(uo UnmarshalOptions, de... type unmarshalJSONv1Func (line 422) | type unmarshalJSONv1Func method UnmarshalJSON (line 537) | func (f unmarshalJSONv1Func) UnmarshalJSON(b []byte) error { type unmarshalTextFunc (line 423) | type unmarshalTextFunc method UnmarshalText (line 540) | func (f unmarshalTextFunc) UnmarshalText(b []byte) error { type nocaseString (line 425) | type nocaseString method MarshalText (line 544) | func (k nocaseString) MarshalText() ([]byte, error) { method UnmarshalText (line 547) | func (k *nocaseString) UnmarshalText(b []byte) error { type stringMarshalEmpty (line 427) | type stringMarshalEmpty method MarshalJSON (line 552) | func (stringMarshalEmpty) MarshalJSON() ([]byte, error) { return []... type stringMarshalNonEmpty (line 428) | type stringMarshalNonEmpty method MarshalJSON (line 553) | func (stringMarshalNonEmpty) MarshalJSON() ([]byte, error) { return []... type bytesMarshalEmpty (line 429) | type bytesMarshalEmpty method MarshalJSON (line 554) | func (bytesMarshalEmpty) MarshalJSON() ([]byte, error) { return []... type bytesMarshalNonEmpty (line 430) | type bytesMarshalNonEmpty method MarshalJSON (line 555) | func (bytesMarshalNonEmpty) MarshalJSON() ([]byte, error) { return []... type mapMarshalEmpty (line 431) | type mapMarshalEmpty method MarshalJSON (line 556) | func (mapMarshalEmpty) MarshalJSON() ([]byte, error) { return []... type mapMarshalNonEmpty (line 432) | type mapMarshalNonEmpty method MarshalJSON (line 557) | func (mapMarshalNonEmpty) MarshalJSON() ([]byte, error) { return []... type sliceMarshalEmpty (line 433) | type sliceMarshalEmpty method MarshalJSON (line 558) | func (sliceMarshalEmpty) MarshalJSON() ([]byte, error) { return []... type sliceMarshalNonEmpty (line 434) | type sliceMarshalNonEmpty method MarshalJSON (line 559) | func (sliceMarshalNonEmpty) MarshalJSON() ([]byte, error) { return []... type valueAlwaysZero (line 436) | type valueAlwaysZero method IsZero (line 561) | func (valueAlwaysZero) IsZero() bool { return true } type valueNeverZero (line 437) | type valueNeverZero method IsZero (line 562) | func (valueNeverZero) IsZero() bool { return false } type pointerAlwaysZero (line 438) | type pointerAlwaysZero method IsZero (line 563) | func (*pointerAlwaysZero) IsZero() bool { return true } type pointerNeverZero (line 439) | type pointerNeverZero method IsZero (line 564) | func (*pointerNeverZero) IsZero() bool { return false } type valueStringer (line 441) | type valueStringer struct method String (line 566) | func (valueStringer) String() string { return "" } type pointerStringer (line 442) | type pointerStringer struct method String (line 567) | func (*pointerStringer) String() string { return "" } type cyclicA (line 444) | type cyclicA struct type cyclicB (line 448) | type cyclicB struct function addr (line 618) | func addr[T any](v T) *T { function mustParseTime (line 622) | func mustParseTime(layout, value string) time.Time { function TestMarshal (line 630) | func TestMarshal(t *testing.T) { function TestUnmarshal (line 3699) | func TestUnmarshal(t *testing.T) { function TestMarshalInvalidNamespace (line 7664) | func TestMarshalInvalidNamespace(t *testing.T) { function TestUnmarshalInvalidNamespace (line 7692) | func TestUnmarshalInvalidNamespace(t *testing.T) { function TestUnmarshalReuse (line 7716) | func TestUnmarshalReuse(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/arshal_time.go function makeTimeArshaler (line 20) | func makeTimeArshaler(fncs *arshaler, t reflect.Type) *arshaler { function checkTimeFormat (line 191) | func checkTimeFormat(format string) (string, bool, error) { function parseDec2 (line 239) | func parseDec2(b []byte) byte { FILE: pkg/internal/third_party/go-json-experiment/json/bench_test.go type bytesBuffer (line 25) | type bytesBuffer struct type textArshaler (line 168) | type textArshaler struct method MarshalText (line 170) | func (*textArshaler) MarshalText() ([]byte, error) { method UnmarshalText (line 173) | func (*textArshaler) UnmarshalText(b []byte) error { type jsonArshalerV1 (line 180) | type jsonArshalerV1 struct method MarshalJSON (line 182) | func (*jsonArshalerV1) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 185) | func (*jsonArshalerV1) UnmarshalJSON(b []byte) error { type jsonArshalerV2 (line 192) | type jsonArshalerV2 struct method MarshalNextJSON (line 194) | func (*jsonArshalerV2) MarshalNextJSON(opts MarshalOptions, enc *Encod... method UnmarshalNextJSON (line 197) | func (*jsonArshalerV2) UnmarshalNextJSON(opts UnmarshalOptions, dec *D... function TestBenchmarkUnmarshal (line 205) | func TestBenchmarkUnmarshal(t *testing.T) { runUnmarshal(t) } function BenchmarkUnmarshal (line 206) | func BenchmarkUnmarshal(b *testing.B) { runUnmarshal(b) } function runUnmarshal (line 208) | func runUnmarshal(tb testing.TB) { function TestBenchmarkMarshal (line 245) | func TestBenchmarkMarshal(t *testing.T) { runMarshal(t) } function BenchmarkMarshal (line 246) | func BenchmarkMarshal(b *testing.B) { runMarshal(b) } function runMarshal (line 248) | func runMarshal(tb testing.TB) { function TestBenchmarkTestdata (line 296) | func TestBenchmarkTestdata(t *testing.T) { runAllTestdata(t) } function BenchmarkTestdata (line 297) | func BenchmarkTestdata(b *testing.B) { runAllTestdata(b) } function runAllTestdata (line 299) | func runAllTestdata(tb testing.TB) { function mustUnmarshalValue (line 333) | func mustUnmarshalValue(t testing.TB, data []byte, newValue func() any) ... function runArshal (line 341) | func runArshal(t testing.TB, arshalName string, newValue func() any, dat... function mustDecodeTokens (line 368) | func mustDecodeTokens(t testing.TB, data []byte) []Token { function runCode (line 394) | func runCode(t testing.TB, codeName, typeName, modeName string, buffer, ... function runEncode (line 403) | func runEncode(t testing.TB, typeName, modeName string, buffer, data []b... function runDecode (line 442) | func runDecode(t testing.TB, typeName, modeName string, buffer, data []b... function TestBenchmarkSlowStreamingDecode (line 503) | func TestBenchmarkSlowStreamingDecode(t *testing.T) { runAllSlowStreamin... function BenchmarkSlowStreamingDecode (line 504) | func BenchmarkSlowStreamingDecode(b *testing.B) { runAllSlowStreamin... function runAllSlowStreamingDecode (line 506) | func runAllSlowStreamingDecode(tb testing.TB) { function runSlowStreamingDecode (line 520) | func runSlowStreamingDecode(t testing.TB, typeName string, data []byte) { function TestBenchmarkRawValue (line 554) | func TestBenchmarkRawValue(t *testing.T) { runRawValue(t) } function BenchmarkRawValue (line 555) | func BenchmarkRawValue(b *testing.B) { runRawValue(b) } function runRawValue (line 557) | func runRawValue(tb testing.TB) { function runTestOrBench (line 599) | func runTestOrBench(tb testing.TB, name string, numBytes int64, run func... FILE: pkg/internal/third_party/go-json-experiment/json/coder_test.go type tokOrVal (line 24) | type tokOrVal interface type coderTestdataEntry (line 26) | type coderTestdataEntry struct function TestCoderInterleaved (line 416) | func TestCoderInterleaved(t *testing.T) { function testCoderInterleaved (line 427) | func testCoderInterleaved(t *testing.T, where pc, modeName string, td co... function TestCoderStackPointer (line 487) | func TestCoderStackPointer(t *testing.T) { function TestCoderBufferGrowth (line 581) | func TestCoderBufferGrowth(t *testing.T) { type ReaderFunc (line 634) | type ReaderFunc method Read (line 636) | func (f ReaderFunc) Read(b []byte) (int, error) { return f(b) } type WriterFunc (line 638) | type WriterFunc method Write (line 640) | func (f WriterFunc) Write(b []byte) (int, error) { return f(b) } type FaultyBuffer (line 645) | type FaultyBuffer struct method Read (line 662) | func (p *FaultyBuffer) Read(b []byte) (int, error) { method Write (line 671) | func (p *FaultyBuffer) Write(b []byte) (int, error) { method mayTruncate (line 681) | func (p *FaultyBuffer) mayTruncate(n int) int { method mayError (line 692) | func (p *FaultyBuffer) mayError() error { method randN (line 699) | func (p *FaultyBuffer) randN(n int) int { FILE: pkg/internal/third_party/go-json-experiment/json/decode.go type DecodeOptions (line 50) | type DecodeOptions struct method NewDecoder (line 141) | func (o DecodeOptions) NewDecoder(r io.Reader) *Decoder { method ResetDecoder (line 149) | func (o DecodeOptions) ResetDecoder(d *Decoder, r io.Reader) { type Decoder (line 97) | type Decoder struct method reset (line 159) | func (d *Decoder) reset(b []byte, r io.Reader, o DecodeOptions) { method Reset (line 167) | func (d *Decoder) Reset(r io.Reader) { method fetch (line 175) | func (d *Decoder) fetch() error { method PeekKind (line 297) | func (d *Decoder) PeekKind() Kind { method SkipValue (line 352) | func (d *Decoder) SkipValue() error { method ReadToken (line 379) | func (d *Decoder) ReadToken() (Token, error) { method ReadValue (line 593) | func (d *Decoder) ReadValue() (RawValue, error) { method readValue (line 597) | func (d *Decoder) readValue(flags *valueFlags) (RawValue, error) { method checkEOF (line 697) | func (d *Decoder) checkEOF() error { method consumeWhitespace (line 725) | func (d *Decoder) consumeWhitespace(pos int) (newPos int, err error) { method consumeValue (line 743) | func (d *Decoder) consumeValue(flags *valueFlags, pos int) (newPos int... method consumeLiteral (line 792) | func (d *Decoder) consumeLiteral(pos int, lit string) (newPos int, err... method consumeString (line 810) | func (d *Decoder) consumeString(flags *valueFlags, pos int) (newPos in... method consumeNumber (line 829) | func (d *Decoder) consumeNumber(pos int) (newPos int, err error) { method consumeObject (line 855) | func (d *Decoder) consumeObject(flags *valueFlags, pos int) (newPos in... method consumeArray (line 953) | func (d *Decoder) consumeArray(flags *valueFlags, pos int) (newPos int... method InputOffset (line 1009) | func (d *Decoder) InputOffset() int64 { method UnreadBuffer (line 1017) | func (d *Decoder) UnreadBuffer() []byte { method StackDepth (line 1026) | func (d *Decoder) StackDepth() int { method StackIndex (line 1043) | func (d *Decoder) StackIndex(i int) (Kind, int) { method StackPointer (line 1058) | func (d *Decoder) StackPointer() string { type decodeBuffer (line 115) | type decodeBuffer struct method invalidatePreviousRead (line 261) | func (d *decodeBuffer) invalidatePreviousRead() { method needMore (line 275) | func (d *decodeBuffer) needMore(pos int) bool { method injectSyntacticErrorWithPosition (line 283) | func (d *decodeBuffer) injectSyntacticErrorWithPosition(err error, pos... method previousOffsetStart (line 290) | func (d *decodeBuffer) previousOffsetStart() int64 { return d.baseOffs... method previousOffsetEnd (line 291) | func (d *decodeBuffer) previousOffsetEnd() int64 { return d.baseOffs... method previousBuffer (line 292) | func (d *decodeBuffer) previousBuffer() []byte { return d.buf[d.pr... method unreadBuffer (line 293) | func (d *decodeBuffer) unreadBuffer() []byte { return d.buf[d.pr... function NewDecoder (line 135) | func NewDecoder(r io.Reader) *Decoder { constant invalidateBufferByte (line 255) | invalidateBufferByte = '#' type valueFlags (line 572) | type valueFlags method set (line 582) | func (f *valueFlags) set(f2 valueFlags) { *f |= f2 } method isVerbatim (line 583) | func (f valueFlags) isVerbatim() bool { return f&stringNonVerbatim =... method isCanonical (line 584) | func (f valueFlags) isCanonical() bool { return f&stringNonCanonical ... constant _ (line 575) | _ valueFlags = (1 << iota) / 2 constant stringNonVerbatim (line 577) | stringNonVerbatim constant stringNonCanonical (line 578) | stringNonCanonical function consumeWhitespace (line 1064) | func consumeWhitespace(b []byte) (n int) { function consumeNull (line 1074) | func consumeNull(b []byte) int { function consumeFalse (line 1085) | func consumeFalse(b []byte) int { function consumeTrue (line 1096) | func consumeTrue(b []byte) int { function consumeLiteral (line 1107) | func consumeLiteral(b []byte, lit string) (n int, err error) { function consumeSimpleString (line 1123) | func consumeSimpleString(b []byte) (n int) { function consumeString (line 1143) | func consumeString(flags *valueFlags, b []byte, validateUTF8 bool) (n in... function consumeStringResumable (line 1149) | func consumeStringResumable(flags *valueFlags, b []byte, resumeOffset in... function hasEscapeSequencePrefix (line 1283) | func hasEscapeSequencePrefix(b []byte) bool { function unescapeString (line 1300) | func unescapeString(dst, src []byte) (v []byte, ok bool) { function unescapeStringMayCopy (line 1415) | func unescapeStringMayCopy(b []byte, isVerbatim bool) []byte { function consumeSimpleNumber (line 1428) | func consumeSimpleNumber(b []byte) (n int) { type consumeNumberState (line 1448) | type consumeNumberState constant consumeNumberInit (line 1451) | consumeNumberInit consumeNumberState = iota constant beforeIntegerDigits (line 1452) | beforeIntegerDigits constant withinIntegerDigits (line 1453) | withinIntegerDigits constant beforeFractionalDigits (line 1454) | beforeFractionalDigits constant withinFractionalDigits (line 1455) | withinFractionalDigits constant beforeExponentDigits (line 1456) | beforeExponentDigits constant withinExponentDigits (line 1457) | withinExponentDigits function consumeNumber (line 1467) | func consumeNumber(b []byte) (n int, err error) { function consumeNumberResumable (line 1474) | func consumeNumberResumable(b []byte, resumeOffset int, state consumeNum... function parseHexUint16 (line 1570) | func parseHexUint16(b []byte) (v uint16, ok bool) { function parseDecUint (line 1595) | func parseDecUint(b []byte) (v uint64, ok bool) { function parseFloat (line 1627) | func parseFloat(b []byte, bits int) (v float64, ok bool) { FILE: pkg/internal/third_party/go-json-experiment/json/decode_test.go function equalTokens (line 22) | func equalTokens(xs, ys []Token) bool { function TestDecoder (line 35) | func TestDecoder(t *testing.T) { function testDecoder (line 44) | func testDecoder(t *testing.T, where pc, typeName string, td coderTestda... function TestFaultyDecoder (line 112) | func TestFaultyDecoder(t *testing.T) { function testFaultyDecoder (line 121) | func testFaultyDecoder(t *testing.T, where pc, typeName string, td coder... type decoderMethodCall (line 173) | type decoderMethodCall struct function TestDecoderErrors (line 653) | func TestDecoderErrors(t *testing.T) { function testDecoderErrors (line 660) | func testDecoderErrors(t *testing.T, where pc, opts DecodeOptions, in st... function TestBufferDecoder (line 738) | func TestBufferDecoder(t *testing.T) { function TestResumableDecoder (line 756) | func TestResumableDecoder(t *testing.T) { function TestBlockingDecoder (line 775) | func TestBlockingDecoder(t *testing.T) { function TestPeekableDecoder (line 838) | func TestPeekableDecoder(t *testing.T) { function TestConsumeWhitespace (line 930) | func TestConsumeWhitespace(t *testing.T) { function TestConsumeLiteral (line 953) | func TestConsumeLiteral(t *testing.T) { function TestConsumeString (line 1017) | func TestConsumeString(t *testing.T) { function TestConsumeNumber (line 1126) | func TestConsumeNumber(t *testing.T) { function TestParseHexUint16 (line 1219) | func TestParseHexUint16(t *testing.T) { function TestParseDecUint (line 1247) | func TestParseDecUint(t *testing.T) { function TestParseFloat (line 1282) | func TestParseFloat(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/diff_test.go function TestCaseSensitivity (line 48) | func TestCaseSensitivity(t *testing.T) { function TestOmitEmptyOption (line 138) | func TestOmitEmptyOption(t *testing.T) { function addr (line 247) | func addr[T any](v T) *T { function TestStringOption (line 296) | func TestStringOption(t *testing.T) { function TestNilSlicesAndMaps (line 477) | func TestNilSlicesAndMaps(t *testing.T) { function TestArrays (line 512) | func TestArrays(t *testing.T) { function TestByteArrays (line 554) | func TestByteArrays(t *testing.T) { type CallCheck (line 591) | type CallCheck method MarshalJSON (line 594) | func (*CallCheck) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 599) | func (v *CallCheck) UnmarshalJSON([]byte) error { function TestPointerReceiver (line 621) | func TestPointerReceiver(t *testing.T) { function TestMapDeterminism (line 705) | func TestMapDeterminism(t *testing.T) { function TestEscapeHTML (line 741) | func TestEscapeHTML(t *testing.T) { function TestInvalidUTF8 (line 780) | func TestInvalidUTF8(t *testing.T) { function TestDuplicateNames (line 844) | func TestDuplicateNames(t *testing.T) { function TestMergeNull (line 875) | func TestMergeNull(t *testing.T) { function TestMergeComposite (line 955) | func TestMergeComposite(t *testing.T) { function TestTimeDurations (line 1042) | func TestTimeDurations(t *testing.T) { function TestMaxFloats (line 1083) | func TestMaxFloats(t *testing.T) { function TestEmptyStructs (line 1110) | func TestEmptyStructs(t *testing.T) { function TestEmbedUnexported (line 1185) | func TestEmbedUnexported(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/doc.go type requireKeyedLiterals (line 179) | type requireKeyedLiterals struct type nonComparable (line 182) | type nonComparable FILE: pkg/internal/third_party/go-json-experiment/json/encode.go type EncodeOptions (line 20) | type EncodeOptions struct method NewEncoder (line 144) | func (o EncodeOptions) NewEncoder(w io.Writer) *Encoder { method ResetEncoder (line 152) | func (o EncodeOptions) ResetEncoder(e *Encoder, w io.Writer) { type Encoder (line 102) | type Encoder struct method reset (line 162) | func (e *Encoder) reset(b []byte, w io.Writer, o EncodeOptions) { method Reset (line 182) | func (e *Encoder) Reset(w io.Writer) { method needFlush (line 187) | func (e *Encoder) needFlush() bool { method flush (line 199) | func (e *Encoder) flush() error { method avoidFlush (line 271) | func (e *Encoder) avoidFlush() bool { method unwriteEmptyObjectMember (line 293) | func (e *Encoder) unwriteEmptyObjectMember(prevName *string) bool { method unwriteOnlyObjectMemberName (line 352) | func (e *Encoder) unwriteOnlyObjectMemberName() string { method WriteToken (line 418) | func (e *Encoder) WriteToken(t Token) error { method writeNumber (line 510) | func (e *Encoder) writeNumber(v float64, bits int, quote bool) error { method WriteValue (line 583) | func (e *Encoder) WriteValue(v RawValue) error { method appendWhitespace (line 655) | func (e *Encoder) appendWhitespace(b []byte, next Kind) []byte { method appendIndent (line 665) | func (e *Encoder) appendIndent(b []byte, n int) []byte { method reformatValue (line 680) | func (e *Encoder) reformatValue(dst []byte, src RawValue, depth int) (... method reformatObject (line 729) | func (e *Encoder) reformatObject(dst []byte, src RawValue, depth int) ... method reformatArray (line 826) | func (e *Encoder) reformatArray(dst []byte, src RawValue, depth int) (... method OutputOffset (line 886) | func (e *Encoder) OutputOffset() int64 { method UnusedBuffer (line 903) | func (e *Encoder) UnusedBuffer() []byte { method StackDepth (line 922) | func (e *Encoder) StackDepth() int { method StackIndex (line 939) | func (e *Encoder) StackIndex(i int) (Kind, int) { method StackPointer (line 954) | func (e *Encoder) StackPointer() string { type encodeBuffer (line 114) | type encodeBuffer struct method previousOffsetEnd (line 266) | func (e *encodeBuffer) previousOffsetEnd() int64 { return e.baseOffset... method unflushedBuffer (line 267) | func (e *encodeBuffer) unflushedBuffer() []byte { return e.buf } function NewEncoder (line 133) | func NewEncoder(w io.Writer) *Encoder { function trimSuffixWhitespace (line 374) | func trimSuffixWhitespace(b []byte) []byte { function trimSuffixString (line 383) | func trimSuffixString(b []byte) []byte { function hasSuffixByte (line 397) | func hasSuffixByte(b []byte, c byte) bool { function trimSuffixByte (line 402) | func trimSuffixByte(b []byte, c byte) []byte { constant rawIntNumber (line 502) | rawIntNumber = -1 constant rawUintNumber (line 503) | rawUintNumber = -2 function appendString (line 970) | func appendString(dst []byte, src string, validateUTF8 bool, escapeRune ... function reformatString (line 1076) | func reformatString(dst, src []byte, validateUTF8, preserveRaw bool, esc... function appendNumber (line 1108) | func appendNumber(dst []byte, src float64, bits int) []byte { function reformatNumber (line 1136) | func reformatNumber(dst, src []byte, canonicalize bool) ([]byte, []byte,... function appendHexUint16 (line 1166) | func appendHexUint16(dst []byte, src uint16) []byte { FILE: pkg/internal/third_party/go-json-experiment/json/encode_test.go function TestEncoder (line 29) | func TestEncoder(t *testing.T) { function testEncoder (line 40) | func testEncoder(t *testing.T, where pc, formatName, typeName string, td... function TestFaultyEncoder (line 106) | func TestFaultyEncoder(t *testing.T) { function testFaultyEncoder (line 115) | func testFaultyEncoder(t *testing.T, where pc, typeName string, td coder... type encoderMethodCall (line 148) | type encoderMethodCall struct function TestEncoderErrors (line 413) | func TestEncoderErrors(t *testing.T) { function testEncoderErrors (line 420) | func testEncoderErrors(t *testing.T, where pc, opts EncodeOptions, calls... function TestAppendString (line 452) | func TestAppendString(t *testing.T) { function TestAppendNumber (line 517) | func TestAppendNumber(t *testing.T) { function TestCanonicalNumber (line 602) | func TestCanonicalNumber(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/errors.go constant errorPrefix (line 15) | errorPrefix = "json: " constant Error (line 18) | Error = jsonError("json error") type jsonError (line 20) | type jsonError method Error (line 22) | func (e jsonError) Error() string { method Is (line 25) | func (e jsonError) Is(target error) bool { type ioError (line 29) | type ioError struct method Error (line 34) | func (e *ioError) Error() string { method Unwrap (line 37) | func (e *ioError) Unwrap() error { method Is (line 40) | func (e *ioError) Is(target error) bool { type SemanticError (line 48) | type SemanticError struct method Error (line 69) | func (e *SemanticError) Error() string { method Is (line 142) | func (e *SemanticError) Is(target error) bool { method Unwrap (line 145) | func (e *SemanticError) Unwrap() error { type SyntacticError (line 153) | type SyntacticError struct method Error (line 162) | func (e *SyntacticError) Error() string { method Is (line 165) | func (e *SyntacticError) Is(target error) bool { method withOffset (line 168) | func (e *SyntacticError) withOffset(pos int64) error { function newInvalidCharacterError (line 172) | func newInvalidCharacterError(prefix []byte, where string) *SyntacticErr... function quoteRune (line 177) | func quoteRune(b []byte) string { FILE: pkg/internal/third_party/go-json-experiment/json/errors_test.go function TestSemanticError (line 19) | func TestSemanticError(t *testing.T) { function TestErrorsIs (line 88) | func TestErrorsIs(t *testing.T) { function TestQuoteRune (line 172) | func TestQuoteRune(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/example_orderedobject_test.go type OrderedObject (line 22) | type OrderedObject type ObjectMember (line 25) | type ObjectMember struct method MarshalNextJSON (line 31) | func (obj *OrderedObject[V]) MarshalNextJSON(opts json.MarshalOptions, e... method UnmarshalNextJSON (line 51) | func (obj *OrderedObject[V]) UnmarshalNextJSON(opts json.UnmarshalOption... function Example_orderedObject (line 76) | func Example_orderedObject() { FILE: pkg/internal/third_party/go-json-experiment/json/example_test.go function Example_textMarshal (line 29) | func Example_textMarshal() { function Example_fieldNames (line 70) | func Example_fieldNames() { function Example_caseSensitivity (line 115) | func Example_caseSensitivity() { function Example_omitFields (line 161) | func Example_omitFields() { function Example_inlinedFields (line 289) | func Example_inlinedFields() { function Example_unknownMembers (line 345) | func Example_unknownMembers() { function Example_formatFlags (line 406) | func Example_formatFlags() { function Example_serveHTTP (line 461) | func Example_serveHTTP() { function Example_protoJSON (line 496) | func Example_protoJSON() { function Example_stringReplace (line 544) | func Example_stringReplace() { function ExampleEncodeOptions_escapeHTML (line 627) | func ExampleEncodeOptions_escapeHTML() { function ExampleMarshalOptions_errors (line 666) | func ExampleMarshalOptions_errors() { function ExampleUnmarshalOptions_rawNumber (line 719) | func ExampleUnmarshalOptions_rawNumber() { function ExampleUnmarshalOptions_recordOffsets (line 754) | func ExampleUnmarshalOptions_recordOffsets() { FILE: pkg/internal/third_party/go-json-experiment/json/fields.go type isZeroer (line 21) | type isZeroer interface type structFields (line 27) | type structFields struct type structField (line 34) | type structField struct function makeStructFields (line 44) | func makeStructFields(root reflect.Type) (structFields, *SemanticError) { type fieldOptions (line 313) | type fieldOptions struct function parseFieldOptions (line 330) | func parseFieldOptions(sf reflect.StructField) (out fieldOptions, err er... function consumeTagOption (line 454) | func consumeTagOption(in string) (string, int, error) { function isLetterOrDigit (line 507) | func isLetterOrDigit(r rune) bool { FILE: pkg/internal/third_party/go-json-experiment/json/fields_test.go type unexported (line 14) | type unexported struct function TestMakeStructFields (line 16) | func TestMakeStructFields(t *testing.T) { function TestParseTagOptions (line 335) | func TestParseTagOptions(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/fold.go function foldName (line 15) | func foldName(in []byte) []byte { function appendFoldedName (line 21) | func appendFoldedName(out, in []byte) []byte { function foldRune (line 48) | func foldRune(r rune) rune { FILE: pkg/internal/third_party/go-json-experiment/json/fold_test.go function TestEqualFold (line 60) | func TestEqualFold(t *testing.T) { function equalFold (line 69) | func equalFold(x, y []byte) bool { function TestFoldRune (line 73) | func TestFoldRune(t *testing.T) { function TestBenchmarkUnmarshalUnknown (line 106) | func TestBenchmarkUnmarshalUnknown(t *testing.T) { runUnmarshalUnknown(t) } function BenchmarkUnmarshalUnknown (line 107) | func BenchmarkUnmarshalUnknown(b *testing.B) { runUnmarshalUnknown(b) } function runUnmarshalUnknown (line 109) | func runUnmarshalUnknown(tb testing.TB) { FILE: pkg/internal/third_party/go-json-experiment/json/fuzz_test.go function FuzzCoder (line 16) | func FuzzCoder(f *testing.F) { function FuzzResumableDecoder (line 104) | func FuzzResumableDecoder(f *testing.F) { function FuzzRawValueReformat (line 135) | func FuzzRawValueReformat(f *testing.F) { function FuzzEqualFold (line 224) | func FuzzEqualFold(f *testing.F) { FILE: pkg/internal/third_party/go-json-experiment/json/inline_test.go function TestInline (line 21) | func TestInline(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/intern.go type stringCache (line 13) | type stringCache method make (line 18) | func (c *stringCache) make(b []byte) string { function hash64 (line 56) | func hash64(lo, hi uint32) uint32 { FILE: pkg/internal/third_party/go-json-experiment/json/intern_test.go function TestIntern (line 14) | func TestIntern(t *testing.T) { function BenchmarkIntern (line 33) | func BenchmarkIntern(b *testing.B) { FILE: pkg/internal/third_party/go-json-experiment/json/pools.go type bufferStatistics (line 38) | type bufferStatistics struct function getBufferedEncoder (line 43) | func getBufferedEncoder(o EncodeOptions) *Encoder { function putBufferedEncoder (line 55) | func putBufferedEncoder(e *Encoder) { function getStreamingEncoder (line 85) | func getStreamingEncoder(w io.Writer, o EncodeOptions) *Encoder { function putStreamingEncoder (line 96) | func putStreamingEncoder(e *Encoder) { function getBufferedDecoder (line 122) | func getBufferedDecoder(b []byte, o DecodeOptions) *Decoder { function putBufferedDecoder (line 127) | func putBufferedDecoder(d *Decoder) { function getStreamingDecoder (line 131) | func getStreamingDecoder(r io.Reader, o DecodeOptions) *Decoder { function putStreamingDecoder (line 142) | func putStreamingDecoder(d *Decoder) { type stringSlice (line 155) | type stringSlice method Sort (line 175) | func (ss *stringSlice) Sort() { method Len (line 180) | func (ss *stringSlice) Len() int { return len(*ss) } method Less (line 181) | func (ss *stringSlice) Less(i, j int) bool { return lessUTF16((*ss)[i]... method Swap (line 182) | func (ss *stringSlice) Swap(i, j int) { (*ss)[i], (*ss)[j] = (*ss... function getStrings (line 158) | func getStrings(n int) *stringSlice { function putStrings (line 167) | func putStrings(s *stringSlice) { FILE: pkg/internal/third_party/go-json-experiment/json/state.go constant errInvalidNamespace (line 20) | errInvalidNamespace = jsonError("object namespace is in an invalid state") type state (line 22) | type state struct method reset (line 38) | func (s *state) reset() { method appendStackPointer (line 49) | func (s state) appendStackPointer(b []byte) []byte { type stateMachine (line 97) | type stateMachine struct method reset (line 104) | func (m *stateMachine) reset() { method depth (line 114) | func (m stateMachine) depth() int { method index (line 120) | func (m *stateMachine) index(i int) *stateEntry { method depthLength (line 129) | func (m stateMachine) depthLength() (int, int) { method appendLiteral (line 135) | func (m *stateMachine) appendLiteral() error { method appendString (line 149) | func (m *stateMachine) appendString() error { method appendNumber (line 161) | func (m *stateMachine) appendNumber() error { method pushObject (line 167) | func (m *stateMachine) pushObject() error { method popObject (line 183) | func (m *stateMachine) popObject() error { method pushArray (line 200) | func (m *stateMachine) pushArray() error { method popArray (line 216) | func (m *stateMachine) popArray() error { method needIndent (line 233) | func (m stateMachine) needIndent(next Kind) (n int) { method mayAppendDelim (line 250) | func (m stateMachine) mayAppendDelim(b []byte, next Kind) []byte { method needDelim (line 264) | func (m stateMachine) needDelim(next Kind) (delim byte) { method checkDelim (line 277) | func (m stateMachine) checkDelim(delim byte, next Kind) error { method invalidateDisabledNamespaces (line 297) | func (m *stateMachine) invalidateDisabledNamespaces() { type stateEntry (line 310) | type stateEntry method length (line 334) | func (e stateEntry) length() int { method isObject (line 339) | func (e stateEntry) isObject() bool { method isArray (line 344) | func (e stateEntry) isArray() bool { method needObjectName (line 350) | func (e stateEntry) needObjectName() bool { method needImplicitColon (line 356) | func (e stateEntry) needImplicitColon() bool { method needObjectValue (line 362) | func (e stateEntry) needObjectValue() bool { method needImplicitComma (line 369) | func (e stateEntry) needImplicitComma(next Kind) bool { method increment (line 376) | func (e *stateEntry) increment() { method decrement (line 382) | func (e *stateEntry) decrement() { method disableNamespace (line 388) | func (e *stateEntry) disableNamespace() { method isActiveNamespace (line 394) | func (e stateEntry) isActiveNamespace() bool { method invalidateNamespace (line 399) | func (e *stateEntry) invalidateNamespace() { method isValidNamespace (line 404) | func (e stateEntry) isValidNamespace() bool { constant stateTypeMask (line 314) | stateTypeMask stateEntry = 0x8000_0000_0000_0000 constant stateTypeObject (line 315) | stateTypeObject stateEntry = 0x8000_0000_0000_0000 constant stateTypeArray (line 316) | stateTypeArray stateEntry = 0x0000_0000_0000_0000 constant stateNamespaceMask (line 321) | stateNamespaceMask stateEntry = 0x6000_0000_0000_0000 constant stateDisableNamespace (line 322) | stateDisableNamespace stateEntry = 0x4000_0000_0000_0000 constant stateInvalidNamespace (line 323) | stateInvalidNamespace stateEntry = 0x2000_0000_0000_0000 constant stateCountMask (line 326) | stateCountMask stateEntry = 0x1fff_ffff_ffff_ffff constant stateCountLSBMask (line 327) | stateCountLSBMask stateEntry = 0x0000_0000_0000_0001 constant stateCountOdd (line 328) | stateCountOdd stateEntry = 0x0000_0000_0000_0001 constant stateCountEven (line 329) | stateCountEven stateEntry = 0x0000_0000_0000_0000 type objectNameStack (line 418) | type objectNameStack struct method reset (line 430) | func (ns *objectNameStack) reset() { method length (line 441) | func (ns *objectNameStack) length() int { method getUnquoted (line 449) | func (ns *objectNameStack) getUnquoted(i int) []byte { method push (line 462) | func (ns *objectNameStack) push() { method replaceLastQuotedOffset (line 469) | func (ns *objectNameStack) replaceLastQuotedOffset(i int) { method replaceLastUnquotedName (line 481) | func (ns *objectNameStack) replaceLastUnquotedName(s string) { method clearLast (line 493) | func (ns *objectNameStack) clearLast() { method pop (line 498) | func (ns *objectNameStack) pop() { method copyQuotedBuffer (line 506) | func (ns *objectNameStack) copyQuotedBuffer(b []byte) { method ensureCopiedBuffer (line 546) | func (ns *objectNameStack) ensureCopiedBuffer() { constant invalidOffset (line 459) | invalidOffset = math.MinInt type objectNamespaceStack (line 554) | type objectNamespaceStack method reset (line 557) | func (nss *objectNamespaceStack) reset() { method push (line 565) | func (nss *objectNamespaceStack) push() { method last (line 575) | func (nss objectNamespaceStack) last() *objectNamespace { method pop (line 580) | func (nss *objectNamespaceStack) pop() { type objectNamespace (line 589) | type objectNamespace struct method reset (line 604) | func (ns *objectNamespace) reset() { method length (line 617) | func (ns *objectNamespace) length() int { method getUnquoted (line 622) | func (ns *objectNamespace) getUnquoted(i int) []byte { method lastUnquoted (line 631) | func (ns *objectNamespace) lastUnquoted() []byte { method insertQuoted (line 638) | func (ns *objectNamespace) insertQuoted(name []byte, isVerbatim bool) ... method insertUnquoted (line 644) | func (ns *objectNamespace) insertUnquoted(name []byte) bool { method insert (line 647) | func (ns *objectNamespace) insert(name []byte, quoted bool) bool { method removeLast (line 693) | func (ns *objectNamespace) removeLast() { type uintSet64 (line 706) | type uintSet64 method has (line 708) | func (s uintSet64) has(i uint) bool { return s&(1< 0 } method set (line 709) | func (s *uintSet64) set(i uint) { *s |= 1 << i } type uintSet (line 713) | type uintSet struct method has (line 719) | func (s *uintSet) has(i uint) bool { method insert (line 730) | func (s *uintSet) insert(i uint) bool { FILE: pkg/internal/third_party/go-json-experiment/json/state_test.go function TestStateMachine (line 14) | func TestStateMachine(t *testing.T) { method append (line 190) | func (s *stateMachine) append(k Kind) error { function TestObjectNamespace (line 211) | func TestObjectNamespace(t *testing.T) { function TestUintSet (line 339) | func TestUintSet(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/testdata_test.go type jsonTestdataEntry (line 20) | type jsonTestdataEntry struct function jsonTestdata (line 31) | func jsonTestdata() []jsonTestdataEntry { type canadaRoot (line 98) | type canadaRoot struct type citmRoot (line 114) | type citmRoot struct type golangRoot (line 159) | type golangRoot struct type golangNode (line 163) | type golangNode struct type stringRoot (line 175) | type stringRoot struct type syntheaRoot (line 240) | type syntheaRoot struct type syntheaCode (line 428) | type syntheaCode struct type syntheaCoding (line 432) | type syntheaCoding struct type syntheaReference (line 439) | type syntheaReference struct type syntheaAddress (line 443) | type syntheaAddress struct type syntheaExtension (line 451) | type syntheaExtension struct type syntheaRange (line 459) | type syntheaRange struct type syntheaCurrency (line 463) | type syntheaCurrency struct type twitterRoot (line 470) | type twitterRoot struct type twitterStatus (line 484) | type twitterStatus struct type twitterUser (line 514) | type twitterUser struct type twitterEntities (line 556) | type twitterEntities struct type twitterURL (line 590) | type twitterURL struct FILE: pkg/internal/third_party/go-json-experiment/json/token.go constant maxInt64 (line 15) | maxInt64 = math.MaxInt64 constant minInt64 (line 16) | minInt64 = math.MinInt64 constant maxUint64 (line 17) | maxUint64 = math.MaxUint64 constant minUint64 (line 18) | minUint64 = 0 constant invalidTokenPanic (line 20) | invalidTokenPanic = "invalid json.Token; it has been voided by a subsequ... type Token (line 33) | type Token struct method Clone (line 160) | func (t Token) Clone() Token { method Bool (line 195) | func (t Token) Bool() bool { method appendString (line 208) | func (t Token) appendString(dst []byte, validateUTF8, preserveRaw bool... method String (line 229) | func (t Token) String() string { method string (line 240) | func (t Token) string() (string, []byte) { method appendNumber (line 273) | func (t Token) appendNumber(dst []byte, canonicalize bool) ([]byte, er... method Float (line 303) | func (t Token) Float() float64 { method Int (line 346) | func (t Token) Int() int64 { method Uint (line 403) | func (t Token) Uint() uint64 { method Kind (line 453) | func (t Token) Kind() Kind { function rawToken (line 103) | func rawToken(s string) Token { function Bool (line 108) | func Bool(b bool) Token { function String (line 118) | func String(s string) Token { function Float (line 128) | func Float(n float64) Token { function Int (line 143) | func Int(n int64) Token { function Uint (line 151) | func Uint(n uint64) Token { type Kind (line 486) | type Kind method String (line 491) | func (k Kind) String() string { method normalize (line 517) | func (k Kind) normalize() Kind { constant invalidKind (line 488) | invalidKind Kind = 0 FILE: pkg/internal/third_party/go-json-experiment/json/token_test.go function TestTokenStringAllocations (line 13) | func TestTokenStringAllocations(t *testing.T) { function TestTokenAccessors (line 32) | func TestTokenAccessors(t *testing.T) { function TestTokenClone (line 135) | func TestTokenClone(t *testing.T) { FILE: pkg/internal/third_party/go-json-experiment/json/value.go type RawValue (line 28) | type RawValue method Clone (line 31) | func (v RawValue) Clone() RawValue { method String (line 39) | func (v RawValue) String() string { method IsValid (line 54) | func (v RawValue) IsValid() bool { method Compact (line 67) | func (v *RawValue) Compact() error { method Indent (line 80) | func (v *RawValue) Indent(prefix, indent string) error { method Canonicalize (line 102) | func (v *RawValue) Canonicalize() error { method MarshalJSON (line 112) | func (v RawValue) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 122) | func (v *RawValue) UnmarshalJSON(b []byte) error { method Kind (line 133) | func (v RawValue) Kind() Kind { method reformat (line 140) | func (v *RawValue) reformat(canonical, multiline bool, prefix, indent ... function trimLeftSpaceTab (line 191) | func trimLeftSpaceTab(s string) string { type memberName (line 202) | type memberName struct function getMemberNames (line 212) | func getMemberNames() *memberNames { function putMemberNames (line 217) | func putMemberNames(ns *memberNames) { type memberNames (line 226) | type memberNames method Len (line 228) | func (m *memberNames) Len() int { return len(*m) } method Less (line 229) | func (m *memberNames) Less(i, j int) bool { return lessUTF16((*m)[i].n... method Swap (line 230) | func (m *memberNames) Swap(i, j int) { (*m)[i], (*m)[j] = (*m)[j]... function reorderObjects (line 247) | func reorderObjects(d *Decoder, scratch *[]byte) { function lessUTF16 (line 320) | func lessUTF16[Bytes []byte | string](x, y Bytes) bool { FILE: pkg/internal/third_party/go-json-experiment/json/value_test.go type rawValueTestdataEntry (line 14) | type rawValueTestdataEntry struct function TestRawValueMethods (line 134) | func TestRawValueMethods(t *testing.T) { function TestLessUTF16 (line 191) | func TestLessUTF16(t *testing.T) { function FuzzLessUTF16 (line 203) | func FuzzLessUTF16(f *testing.F) { FILE: pkg/internal/third_party/govalidator/patterns.go constant CreditCard (line 7) | CreditCard string = "^(?:4[0-9]{12}(?:[0-9]{3})?|5[1-5][0-9]{14}|6(?:011... constant ISBN10 (line 8) | ISBN10 string = "^(?:[0-9]{9}X|[0-9]{10})$" constant ISBN13 (line 9) | ISBN13 string = "^(?:[0-9]{13})$" constant Hexcolor (line 10) | Hexcolor string = "^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$" constant RGBcolor (line 11) | RGBcolor string = "^rgb\\(\\s*(0|[1-9]\\d?|1\\d\\d?|2[0-4]\\d|25[0-5])... constant Base64 (line 12) | Base64 string = "^(?:[A-Za-z0-9+\\/]{4})*(?:[A-Za-z0-9+\\/]{2}==|[A-... constant SSN (line 13) | SSN string = `^\d{3}[- ]?\d{2}[- ]?\d{4}$` constant Int (line 14) | Int string = "^(?:[-+]?(?:0|[1-9][0-9]*))$" FILE: pkg/internal/third_party/govalidator/validator.go function IsRequestURI (line 22) | func IsRequestURI(rawurl string) bool { function IsHexcolor (line 28) | func IsHexcolor(str string) bool { function IsRGBcolor (line 33) | func IsRGBcolor(str string) bool { function IsCreditCard (line 38) | func IsCreditCard(str string) bool { function IsISBN10 (line 67) | func IsISBN10(str string) bool { function IsISBN13 (line 72) | func IsISBN13(str string) bool { function IsISBN (line 78) | func IsISBN(str string, version int) bool { function IsBase64 (line 112) | func IsBase64(str string) bool { function IsIPv6 (line 117) | func IsIPv6(str string) bool { function IsMAC (line 130) | func IsMAC(str string) bool { function IsSSN (line 136) | func IsSSN(str string) bool { function ToInt (line 144) | func ToInt(value interface{}) (res int64, err error) { function IsInt (line 171) | func IsInt(str string) bool { function IsNull (line 179) | func IsNull(str string) bool { FILE: pkg/internal/third_party/govalidator/validator_test.go function TestIsRequestURI (line 7) | func TestIsRequestURI(t *testing.T) { function TestIsHexcolor (line 55) | func TestIsHexcolor(t *testing.T) { function TestIsRGBcolor (line 78) | func TestIsRGBcolor(t *testing.T) { function TestIsCreditCard (line 101) | func TestIsCreditCard(t *testing.T) { function TestIsISBN (line 136) | func TestIsISBN(t *testing.T) { function TestIsBase64 (line 208) | func TestIsBase64(t *testing.T) { function TestIIsIPv6 (line 236) | func TestIIsIPv6(t *testing.T) { function TestIsMAC (line 261) | func TestIsMAC(t *testing.T) { function TestIsSSN (line 282) | func TestIsSSN(t *testing.T) { function TestIsInt (line 303) | func TestIsInt(t *testing.T) { function TestIsNull (line 340) | func TestIsNull(t *testing.T) { FILE: pkg/openapiconv/convert.go function ConvertV2ToV3 (line 33) | func ConvertV2ToV3(v2Spec *spec.Swagger) *spec3.OpenAPI { function ConvertExternalDocumentation (line 45) | func ConvertExternalDocumentation(v2ED *spec.ExternalDocumentation) *spe... function ConvertComponents (line 57) | func ConvertComponents(v2SecurityDefinitions spec.SecurityDefinitions, v... function ConvertSchema (line 82) | func ConvertSchema(v2Schema *spec.Schema) *spec.Schema { function ConvertSchemaList (line 130) | func ConvertSchemaList(v2SchemaList []spec.Schema) []spec.Schema { function ConvertSecurityScheme (line 141) | func ConvertSecurityScheme(v2securityScheme *spec.SecurityScheme) *spec3... function ConvertPaths (line 168) | func ConvertPaths(v2Paths *spec.Paths) *spec3.Paths { function ConvertPathItem (line 185) | func ConvertPathItem(v2pathItem spec.PathItem) *spec3.Path { function ConvertOperation (line 205) | func ConvertOperation(v2Operation *spec.Operation) *spec3.Operation { function ConvertResponse (line 256) | func ConvertResponse(v2Response *spec.Response, produces []string) *spec... function ConvertParameter (line 283) | func ConvertParameter(v2Param spec.Parameter) *spec3.Parameter { function ConvertRefableParameter (line 310) | func ConvertRefableParameter(refable spec.Refable) spec.Refable { function ConvertRefableResponse (line 317) | func ConvertRefableResponse(refable spec.Refable) spec.Refable { FILE: pkg/openapiconv/convert_test.go function TestConvert (line 31) | func TestConvert(t *testing.T) { FILE: pkg/schemaconv/openapi.go function ToSchemaFromOpenAPI (line 38) | func ToSchemaFromOpenAPI(models map[string]*spec.Schema, preserveUnknown... method visitSpec (line 77) | func (c *convert) visitSpec(m *spec.Schema) { method parseSchema (line 86) | func (c *convert) parseSchema(m *spec.Schema) schema.Atom { method makeOpenAPIRef (line 127) | func (c *convert) makeOpenAPIRef(specSchema *spec.Schema) schema.TypeRef { method parseObject (line 171) | func (c *convert) parseObject(s *spec.Schema) *schema.Map { method parseList (line 225) | func (c *convert) parseList(s *spec.Schema) *schema.List { FILE: pkg/schemaconv/openapi_test.go constant quantityResource (line 44) | quantityResource = "io.k8s.apimachinery.pkg.api.resource.Quantity" constant rawExtensionResource (line 45) | rawExtensionResource = "io.k8s.apimachinery.pkg.runtime.RawExtension" function toPtrMap (line 48) | func toPtrMap[T comparable, V any](m map[T]V) map[T]*V { function normalizeTypeRef (line 61) | func normalizeTypeRef(tr *schema.TypeRef) { function normalizeType (line 105) | func normalizeType(typ *schema.Atom) { function normalizeTypes (line 157) | func normalizeTypes(types []schema.TypeDef) map[string]schema.TypeDef { function TestCRDOpenAPIConversion (line 224) | func TestCRDOpenAPIConversion(t *testing.T) { function TestOpenAPIImplementation (line 257) | func TestOpenAPIImplementation(t *testing.T) { function specToSchemaViaProtoModels (line 274) | func specToSchemaViaProtoModels(input []byte) (*schema.Schema, error) { function BenchmarkOpenAPIConversion (line 293) | func BenchmarkOpenAPIConversion(b *testing.B) { function BenchmarkOpenAPICRDConversion (line 322) | func BenchmarkOpenAPICRDConversion(b *testing.B) { FILE: pkg/schemaconv/proto_models.go function ToSchema (line 30) | func ToSchema(models proto.Models) (*schema.Schema, error) { function ToSchemaWithPreserveUnknownFields (line 36) | func ToSchemaWithPreserveUnknownFields(models proto.Models, preserveUnkn... method makeRef (line 60) | func (c *convert) makeRef(model proto.Schema, preserveUnknownFields bool... method VisitKind (line 97) | func (c *convert) VisitKind(k *proto.Kind) { method VisitArray (line 136) | func (c *convert) VisitArray(a *proto.Array) { method VisitMap (line 150) | func (c *convert) VisitMap(m *proto.Map) { method VisitPrimitive (line 163) | func (c *convert) VisitPrimitive(p *proto.Primitive) { method VisitArbitrary (line 172) | func (c *convert) VisitArbitrary(a *proto.Arbitrary) { method VisitReference (line 176) | func (c *convert) VisitReference(proto.Reference) { FILE: pkg/schemaconv/smd.go constant quantityResource (line 27) | quantityResource = "io.k8s.apimachinery.pkg.api.resource.Quantity" constant rawExtensionResource (line 28) | rawExtensionResource = "io.k8s.apimachinery.pkg.runtime.RawExtension" type convert (line 31) | type convert struct method push (line 40) | func (c *convert) push(name string, a *schema.Atom) *convert { method top (line 49) | func (c *convert) top() *schema.Atom { return c.current } method pop (line 51) | func (c *convert) pop(c2 *convert) { method reportError (line 55) | func (c *convert) reportError(format string, args ...interface{}) { method insertTypeDef (line 61) | func (c *convert) insertTypeDef(name string, atom schema.Atom) { method addCommonTypes (line 73) | func (c *convert) addCommonTypes() { function makeUnions (line 120) | func makeUnions(extensions map[string]interface{}) ([]schema.Union, erro... function makeUnion (line 168) | func makeUnion(extensions map[string]interface{}) (schema.Union, error) { function toStringSlice (line 220) | func toStringSlice(o interface{}) (out []string, ok bool) { function ptr (line 236) | func ptr(s schema.Scalar) *schema.Scalar { return &s } function convertPrimitive (line 240) | func convertPrimitive(typ string, format string) (a schema.Atom) { function getListElementRelationship (line 269) | func getListElementRelationship(ext map[string]any) (schema.ElementRelat... function getMapElementRelationship (line 319) | func getMapElementRelationship(ext map[string]any) (schema.ElementRelati... FILE: pkg/schemaconv/smd_test.go function TestToSchema (line 31) | func TestToSchema(t *testing.T) { function testToSchema (line 67) | func testToSchema(t *testing.T, openAPIPath, expectedNewSchemaPath strin... function TestFieldLevelAnnotation (line 103) | func TestFieldLevelAnnotation(t *testing.T) { FILE: pkg/schemamutation/walker.go type Walker (line 25) | type Walker struct method WalkSchema (line 55) | func (w *Walker) WalkSchema(schema *spec.Schema) *spec.Schema { method walkParameter (line 209) | func (w *Walker) walkParameter(param *spec.Parameter) *spec.Parameter { method walkParameters (line 241) | func (w *Walker) walkParameters(params []spec.Parameter) ([]spec.Param... method walkResponse (line 266) | func (w *Walker) walkResponse(resp *spec.Response) *spec.Response { method walkResponses (line 293) | func (w *Walker) walkResponses(resps *spec.Responses) *spec.Responses { method walkOperation (line 331) | func (w *Walker) walkOperation(op *spec.Operation) *spec.Operation { method walkPathItem (line 367) | func (w *Walker) walkPathItem(pathItem *spec.PathItem) *spec.PathItem { method walkPaths (line 418) | func (w *Walker) walkPaths(paths *spec.Paths) *spec.Paths { method WalkRoot (line 451) | func (w *Walker) WalkRoot(swagger *spec.Swagger) *spec.Swagger { type SchemaCallbackFunc (line 38) | type SchemaCallbackFunc type RefCallbackFunc (line 39) | type RefCallbackFunc function ReplaceReferences (line 50) | func ReplaceReferences(walkRef func(ref *spec.Ref) *spec.Ref, sp *spec.S... FILE: pkg/schemamutation/walker_test.go function fuzzFuncs (line 36) | func fuzzFuncs(f *randfill.Filler, refFunc func(ref *spec.Ref, c randfil... function TestReplaceReferences (line 164) | func TestReplaceReferences(t *testing.T) { function TestReplaceSchema (line 297) | func TestReplaceSchema(t *testing.T) { function cloneSwagger (line 393) | func cloneSwagger(orig *spec.Swagger) (*spec.Swagger, error) { function stringDiff (line 406) | func stringDiff(a, b string) string { function objectDiff (line 428) | func objectDiff(a, b interface{}) string { function max (line 440) | func max(i, j int) int { FILE: pkg/spec3/benchmark_serialization_test.go function TestOpenAPIV3RoundTrip (line 24) | func TestOpenAPIV3RoundTrip(t *testing.T) { function TestOpenAPIV3Deserialize (line 47) | func TestOpenAPIV3Deserialize(t *testing.T) { function TestOpenAPIV3Serialize (line 75) | func TestOpenAPIV3Serialize(t *testing.T) { function TestOpenAPIV3SerializeFuzzed (line 105) | func TestOpenAPIV3SerializeFuzzed(t *testing.T) { function TestOpenAPIV3SerializeStable (line 131) | func TestOpenAPIV3SerializeStable(t *testing.T) { function BenchmarkOpenAPIV3Deserialize (line 164) | func BenchmarkOpenAPIV3Deserialize(b *testing.B) { function BenchmarkOpenAPIV3Serialize (line 236) | func BenchmarkOpenAPIV3Serialize(b *testing.B) { FILE: pkg/spec3/component.go type Components (line 26) | type Components struct type SecuritySchemes (line 47) | type SecuritySchemes FILE: pkg/spec3/component_test.go function TestSchemasJSONSerialization (line 31) | func TestSchemasJSONSerialization(t *testing.T) { FILE: pkg/spec3/encoding.go type Encoding (line 28) | type Encoding struct method MarshalJSON (line 34) | func (e *Encoding) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 49) | func (e *Encoding) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *js... method UnmarshalJSON (line 59) | func (e *Encoding) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 72) | func (e *Encoding) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec... type EncodingProps (line 86) | type EncodingProps struct type encodingPropsOmitZero (line 99) | type encodingPropsOmitZero struct FILE: pkg/spec3/encoding_test.go function TestEncodingRoundtrip (line 30) | func TestEncodingRoundtrip(t *testing.T) { function TestEncodingJSONSerialization (line 52) | func TestEncodingJSONSerialization(t *testing.T) { FILE: pkg/spec3/example.go type Example (line 31) | type Example struct method MarshalJSON (line 38) | func (e *Example) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 56) | func (e *Example) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jso... method UnmarshalJSON (line 68) | func (e *Example) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 84) | func (e *Example) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec ... type ExampleProps (line 101) | type ExampleProps struct FILE: pkg/spec3/example_test.go function TestExampleRoundtrip (line 30) | func TestExampleRoundtrip(t *testing.T) { function TestExampleJSONSerialization (line 53) | func TestExampleJSONSerialization(t *testing.T) { FILE: pkg/spec3/external_documentation.go type ExternalDocumentation (line 28) | type ExternalDocumentation struct method MarshalJSON (line 41) | func (e *ExternalDocumentation) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 56) | func (e *ExternalDocumentation) MarshalNextJSON(opts jsonv2.MarshalOpt... method UnmarshalJSON (line 66) | func (e *ExternalDocumentation) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 79) | func (e *ExternalDocumentation) UnmarshalNextJSON(opts jsonv2.Unmarsha... type ExternalDocumentationProps (line 33) | type ExternalDocumentationProps struct FILE: pkg/spec3/external_documentation_test.go function TestExternalDocumentationRoundTrip (line 30) | func TestExternalDocumentationRoundTrip(t *testing.T) { function TestExternalDocumentationJSONSerialization (line 52) | func TestExternalDocumentationJSONSerialization(t *testing.T) { FILE: pkg/spec3/fuzz.go constant refChance (line 15) | refChance = 3 constant alphaNumChars (line 17) | alphaNumChars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRS... function randAlphanumString (line 19) | func randAlphanumString() string { FILE: pkg/spec3/header.go type Header (line 31) | type Header struct method MarshalJSON (line 38) | func (h *Header) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 57) | func (h *Header) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *json... method UnmarshalJSON (line 69) | func (h *Header) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 86) | func (h *Header) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *... type HeaderProps (line 103) | type HeaderProps struct type headerPropsOmitZero (line 130) | type headerPropsOmitZero struct FILE: pkg/spec3/header_test.go function TestHeaderRoundTrip (line 30) | func TestHeaderRoundTrip(t *testing.T) { function TestHeaderJSONSerialization (line 53) | func TestHeaderJSONSerialization(t *testing.T) { FILE: pkg/spec3/media_type.go type MediaType (line 31) | type MediaType struct method MarshalJSON (line 37) | func (m *MediaType) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 52) | func (e *MediaType) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *j... method UnmarshalJSON (line 62) | func (m *MediaType) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 75) | func (m *MediaType) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, de... type MediaTypeProps (line 90) | type MediaTypeProps struct type mediaTypePropsOmitZero (line 101) | type mediaTypePropsOmitZero struct FILE: pkg/spec3/media_type_test.go function TestMediaTypeRoundTrip (line 30) | func TestMediaTypeRoundTrip(t *testing.T) { function TestMediaTypeJSONSerialization (line 52) | func TestMediaTypeJSONSerialization(t *testing.T) { FILE: pkg/spec3/operation.go type Operation (line 31) | type Operation struct method MarshalJSON (line 37) | func (o *Operation) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 52) | func (o *Operation) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *j... method UnmarshalJSON (line 63) | func (o *Operation) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 73) | func (o *Operation) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, de... type OperationProps (line 87) | type OperationProps struct type operationPropsOmitZero (line 112) | type operationPropsOmitZero struct FILE: pkg/spec3/operation_test.go function TestOperationRoundTrip (line 29) | func TestOperationRoundTrip(t *testing.T) { function TestOperationJSONSerialization (line 51) | func TestOperationJSONSerialization(t *testing.T) { FILE: pkg/spec3/parameter.go type Parameter (line 31) | type Parameter struct method MarshalJSON (line 38) | func (p *Parameter) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 57) | func (p *Parameter) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *j... method UnmarshalJSON (line 69) | func (p *Parameter) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 87) | func (p *Parameter) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, de... type ParameterProps (line 104) | type ParameterProps struct type parameterPropsOmitZero (line 133) | type parameterPropsOmitZero struct FILE: pkg/spec3/parameter_test.go function TestParameterRoundTrip (line 30) | func TestParameterRoundTrip(t *testing.T) { function TestParameterJSONSerialization (line 53) | func TestParameterJSONSerialization(t *testing.T) { FILE: pkg/spec3/path.go type Paths (line 31) | type Paths struct method MarshalJSON (line 37) | func (p *Paths) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 60) | func (p *Paths) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv... method UnmarshalJSON (line 76) | func (p *Paths) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 109) | func (p *Paths) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *j... type Path (line 165) | type Path struct method MarshalJSON (line 172) | func (p *Path) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 191) | func (p *Path) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2... method UnmarshalJSON (line 203) | func (p *Path) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 219) | func (p *Path) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *js... type PathProps (line 238) | type PathProps struct FILE: pkg/spec3/path_test.go function TestPathRoundTrip (line 32) | func TestPathRoundTrip(t *testing.T) { function TestPathJSONSerialization (line 55) | func TestPathJSONSerialization(t *testing.T) { function TestPathsNullUnmarshal (line 143) | func TestPathsNullUnmarshal(t *testing.T) { FILE: pkg/spec3/request_body.go type RequestBody (line 31) | type RequestBody struct method MarshalJSON (line 38) | func (r *RequestBody) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 57) | func (r *RequestBody) MarshalNextJSON(opts jsonv2.MarshalOptions, enc ... method UnmarshalJSON (line 69) | func (r *RequestBody) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 101) | func (r *RequestBody) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, ... type RequestBodyProps (line 86) | type RequestBodyProps struct type requestBodyPropsOmitZero (line 95) | type requestBodyPropsOmitZero struct FILE: pkg/spec3/request_body_test.go function TestRequestBodyRoundTrip (line 30) | func TestRequestBodyRoundTrip(t *testing.T) { function TestRequestBodyJSONSerialization (line 53) | func TestRequestBodyJSONSerialization(t *testing.T) { FILE: pkg/spec3/response.go type Responses (line 33) | type Responses struct method MarshalJSON (line 39) | func (r *Responses) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 54) | func (r Responses) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *js... method UnmarshalJSON (line 73) | func (r *Responses) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 139) | func (r *Responses) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, de... type ResponsesProps (line 87) | type ResponsesProps struct method MarshalJSON (line 95) | func (r ResponsesProps) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 107) | func (r *ResponsesProps) UnmarshalJSON(data []byte) error { type Response (line 196) | type Response struct method MarshalJSON (line 203) | func (r *Response) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 222) | func (r Response) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jso... method UnmarshalJSON (line 234) | func (r *Response) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 250) | func (r *Response) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec... type ResponseProps (line 267) | type ResponseProps struct type Link (line 279) | type Link struct method MarshalJSON (line 286) | func (r *Link) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 305) | func (r *Link) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2... method UnmarshalJSON (line 317) | func (r *Link) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 334) | func (l *Link) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *js... type LinkProps (line 351) | type LinkProps struct FILE: pkg/spec3/response_test.go function TestResponsesRoundTrip (line 32) | func TestResponsesRoundTrip(t *testing.T) { function TestResponseRoundTrip (line 57) | func TestResponseRoundTrip(t *testing.T) { function TestResponseJSONSerialization (line 80) | func TestResponseJSONSerialization(t *testing.T) { function TestResponsesNullUnmarshal (line 121) | func TestResponsesNullUnmarshal(t *testing.T) { FILE: pkg/spec3/security_scheme.go type SecurityScheme (line 29) | type SecurityScheme struct method MarshalJSON (line 36) | func (s *SecurityScheme) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 55) | func (s *SecurityScheme) MarshalNextJSON(opts jsonv2.MarshalOptions, e... method UnmarshalJSON (line 68) | func (s *SecurityScheme) UnmarshalJSON(data []byte) error { type SecuritySchemeProps (line 79) | type SecuritySchemeProps struct type OAuthFlow (line 99) | type OAuthFlow struct method MarshalJSON (line 105) | func (o *OAuthFlow) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 118) | func (o *OAuthFlow) UnmarshalJSON(data []byte) error { type OAuthFlowProps (line 126) | type OAuthFlowProps struct FILE: pkg/spec3/security_scheme_test.go function TestSecuritySchemeRoundTrip (line 31) | func TestSecuritySchemeRoundTrip(t *testing.T) { function TestSecuritySchemaJSONSerialization (line 54) | func TestSecuritySchemaJSONSerialization(t *testing.T) { FILE: pkg/spec3/server.go type Server (line 28) | type Server struct method MarshalJSON (line 43) | func (s *Server) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 58) | func (s *Server) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *json... method UnmarshalJSON (line 68) | func (s *Server) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 82) | func (s *Server) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *... type ServerProps (line 33) | type ServerProps struct type ServerVariable (line 96) | type ServerVariable struct method MarshalJSON (line 111) | func (s *ServerVariable) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 126) | func (s *ServerVariable) MarshalNextJSON(opts jsonv2.MarshalOptions, e... method UnmarshalJSON (line 136) | func (s *ServerVariable) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 149) | func (s *ServerVariable) UnmarshalNextJSON(opts jsonv2.UnmarshalOption... type ServerVariableProps (line 101) | type ServerVariableProps struct FILE: pkg/spec3/server_test.go function TestServerRoundTrip (line 31) | func TestServerRoundTrip(t *testing.T) { function TestServerJSONSerialization (line 53) | func TestServerJSONSerialization(t *testing.T) { FILE: pkg/spec3/spec.go type OpenAPI (line 28) | type OpenAPI struct method UnmarshalJSON (line 45) | func (o *OpenAPI) UnmarshalJSON(data []byte) error { method MarshalJSON (line 54) | func (o *OpenAPI) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 63) | func (o *OpenAPI) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jso... FILE: pkg/util/jsontesting/json_roundtrip.go function JsonCompare (line 32) | func JsonCompare(got, want []byte) error { type RoundTripTestCase (line 44) | type RoundTripTestCase struct method RoundTripTest (line 63) | func (t RoundTripTestCase) RoundTripTest(example MarshalerUnmarshaler)... type MarshalerUnmarshaler (line 58) | type MarshalerUnmarshaler interface FILE: pkg/util/proto/document.go function newSchemaError (line 28) | func newSchemaError(path *Path, format string, a ...interface{}) error { function VendorExtensionToMap (line 37) | func VendorExtensionToMap(e []*openapi_v2.NamedAny) map[string]interface... type Definitions (line 61) | type Definitions struct method parseReference (line 94) | func (d *Definitions) parseReference(s *openapi_v2.Schema, path *Path)... method parseBaseSchema (line 134) | func (d *Definitions) parseBaseSchema(s *openapi_v2.Schema, path *Path... method parseMap (line 148) | func (d *Definitions) parseMap(s *openapi_v2.Schema, path *Path) (Sche... method parsePrimitive (line 179) | func (d *Definitions) parsePrimitive(s *openapi_v2.Schema, path *Path)... method parseArray (line 207) | func (d *Definitions) parseArray(s *openapi_v2.Schema, path *Path) (Sc... method parseKind (line 233) | func (d *Definitions) parseKind(s *openapi_v2.Schema, path *Path) (Sch... method parseArbitrary (line 267) | func (d *Definitions) parseArbitrary(s *openapi_v2.Schema, path *Path)... method ParseSchema (line 279) | func (d *Definitions) ParseSchema(s *openapi_v2.Schema, path *Path) (S... method LookupModel (line 324) | func (d *Definitions) LookupModel(model string) Schema { method ListModels (line 328) | func (d *Definitions) ListModels() []string { function NewOpenAPIData (line 68) | func NewOpenAPIData(doc *openapi_v2.Document) (Models, error) { function parseDefault (line 123) | func parseDefault(def *openapi_v2.Any) (interface{}, error) { type Ref (line 339) | type Ref struct method Reference (line 348) | func (r *Ref) Reference() string { method SubSchema (line 352) | func (r *Ref) SubSchema() Schema { method Accept (line 356) | func (r *Ref) Accept(v SchemaVisitor) { method GetName (line 360) | func (r *Ref) GetName() string { FILE: pkg/util/proto/document_v3.go function NewOpenAPIV3Data (line 30) | func NewOpenAPIV3Data(doc *openapi_v3.Document) (Models, error) { method ParseV3SchemaReference (line 67) | func (d *Definitions) ParseV3SchemaReference(s *openapi_v3.Reference, pa... method ParseV3SchemaOrReference (line 95) | func (d *Definitions) ParseV3SchemaOrReference(s *openapi_v3.SchemaOrRef... method ParseSchemaV3 (line 119) | func (d *Definitions) ParseSchemaV3(s *openapi_v3.Schema, path *Path) (S... method parseV3Kind (line 143) | func (d *Definitions) parseV3Kind(s *openapi_v3.Schema, path *Path) (Sch... method parseV3Arbitrary (line 177) | func (d *Definitions) parseV3Arbitrary(s *openapi_v3.Schema, path *Path)... method parseV3Primitive (line 187) | func (d *Definitions) parseV3Primitive(s *openapi_v3.Schema, path *Path)... method parseV3Array (line 210) | func (d *Definitions) parseV3Array(s *openapi_v3.Schema, path *Path) (Sc... method parseV3Map (line 236) | func (d *Definitions) parseV3Map(s *openapi_v3.Schema, path *Path) (Sche... function parseV3Interface (line 275) | func parseV3Interface(def *yaml.Node) (interface{}, error) { method parseV3BaseSchema (line 286) | func (d *Definitions) parseV3BaseSchema(s *openapi_v3.Schema, path *Path... function SpecificationExtensionToMap (line 304) | func SpecificationExtensionToMap(e []*openapi_v3.NamedAny) map[string]in... FILE: pkg/util/proto/openapi.go constant Integer (line 27) | Integer = "integer" constant Number (line 28) | Number = "number" constant String (line 29) | String = "string" constant Boolean (line 30) | Boolean = "boolean" constant array (line 34) | array = "array" constant object (line 35) | object = "object" type Models (line 40) | type Models interface type SchemaVisitor (line 53) | type SchemaVisitor interface type SchemaVisitorArbitrary (line 64) | type SchemaVisitorArbitrary interface type Schema (line 70) | type Schema interface type Path (line 87) | type Path struct method Get (line 96) | func (p *Path) Get() []string { method Len (line 106) | func (p *Path) Len() int { method String (line 110) | func (p *Path) String() string { method ArrayPath (line 115) | func (p *Path) ArrayPath(i int) Path { method FieldPath (line 123) | func (p *Path) FieldPath(field string) Path { function NewPath (line 92) | func NewPath(key string) Path { type BaseSchema (line 131) | type BaseSchema struct method GetDescription (line 139) | func (b *BaseSchema) GetDescription() string { method GetExtensions (line 143) | func (b *BaseSchema) GetExtensions() map[string]interface{} { method GetDefault (line 147) | func (b *BaseSchema) GetDefault() interface{} { method GetPath (line 151) | func (b *BaseSchema) GetPath() *Path { type Array (line 156) | type Array struct method Accept (line 164) | func (a *Array) Accept(v SchemaVisitor) { method GetName (line 168) | func (a *Array) GetName() string { type Kind (line 176) | type Kind struct method Accept (line 189) | func (k *Kind) Accept(v SchemaVisitor) { method GetName (line 193) | func (k *Kind) GetName() string { method IsRequired (line 202) | func (k *Kind) IsRequired(field string) bool { method Keys (line 212) | func (k *Kind) Keys() []string { type Map (line 223) | type Map struct method Accept (line 231) | func (m *Map) Accept(v SchemaVisitor) { method GetName (line 235) | func (m *Map) GetName() string { type Primitive (line 241) | type Primitive struct method Accept (line 251) | func (p *Primitive) Accept(v SchemaVisitor) { method GetName (line 255) | func (p *Primitive) GetName() string { type Arbitrary (line 263) | type Arbitrary struct method Accept (line 269) | func (a *Arbitrary) Accept(v SchemaVisitor) { method GetName (line 275) | func (a *Arbitrary) GetName() string { type Reference (line 280) | type Reference interface FILE: pkg/util/proto/openapi_test.go function loadV18Models (line 35) | func loadV18Models(t *testing.T) proto.Models { function loadV18DeploymentModel (line 49) | func loadV18DeploymentModel(t *testing.T) (proto.Models, proto.Schema, *... function TestV18Deployment (line 63) | func TestV18Deployment(t *testing.T) { function TestV111Deployment (line 269) | func TestV111Deployment(t *testing.T) { function TestV111ControllerRevision (line 298) | func TestV111ControllerRevision(t *testing.T) { function TestSubjectAccessReview (line 355) | func TestSubjectAccessReview(t *testing.T) { function TestPath (line 457) | func TestPath(t *testing.T) { function loadV3Deployment (line 496) | func loadV3Deployment(t *testing.T) *proto.Kind { function TestV3Deployment (line 517) | func TestV3Deployment(t *testing.T) { function TestV3GVKExtension (line 684) | func TestV3GVKExtension(t *testing.T) { FILE: pkg/util/proto/testing/openapi.go type Fake (line 28) | type Fake struct method OpenAPISchema (line 37) | func (f *Fake) OpenAPISchema() (*openapi_v2.Document, error) { type Empty (line 54) | type Empty struct method OpenAPISchema (line 56) | func (Empty) OpenAPISchema() (*openapi_v2.Document, error) { FILE: pkg/util/proto/testing/openapi_v3.go type FakeV3 (line 27) | type FakeV3 struct method OpenAPIV3Schema (line 35) | func (f *FakeV3) OpenAPIV3Schema(groupVersion string) (*openapi_v3.Doc... FILE: pkg/util/proto/validation/errors.go type errors (line 23) | type errors struct method Errors (line 27) | func (e *errors) Errors() []error { method AppendErrors (line 31) | func (e *errors) AppendErrors(err ...error) { type ValidationError (line 35) | type ValidationError struct method Error (line 40) | func (e ValidationError) Error() string { type InvalidTypeError (line 44) | type InvalidTypeError struct method Error (line 50) | func (e InvalidTypeError) Error() string { type MissingRequiredFieldError (line 54) | type MissingRequiredFieldError struct method Error (line 59) | func (e MissingRequiredFieldError) Error() string { type UnknownFieldError (line 63) | type UnknownFieldError struct method Error (line 68) | func (e UnknownFieldError) Error() string { type InvalidObjectTypeError (line 72) | type InvalidObjectTypeError struct method Error (line 77) | func (e InvalidObjectTypeError) Error() string { FILE: pkg/util/proto/validation/types.go type validationItem (line 26) | type validationItem interface type baseItem (line 33) | type baseItem struct method Errors (line 39) | func (item *baseItem) Errors() []error { method AddValidationError (line 45) | func (item *baseItem) AddValidationError(err error) { method AddError (line 50) | func (item *baseItem) AddError(err error) { method CopyErrors (line 56) | func (item *baseItem) CopyErrors(errs []error) { method Path (line 61) | func (item *baseItem) Path() *proto.Path { type mapItem (line 66) | type mapItem struct method sortedKeys (line 72) | func (item *mapItem) sortedKeys() []string { method VisitPrimitive (line 83) | func (item *mapItem) VisitPrimitive(schema *proto.Primitive) { method VisitArray (line 87) | func (item *mapItem) VisitArray(schema *proto.Array) { method VisitMap (line 91) | func (item *mapItem) VisitMap(schema *proto.Map) { method VisitKind (line 103) | func (item *mapItem) VisitKind(schema *proto.Kind) { method VisitArbitrary (line 130) | func (item *mapItem) VisitArbitrary(schema *proto.Arbitrary) { method VisitReference (line 133) | func (item *mapItem) VisitReference(schema proto.Reference) { type arrayItem (line 139) | type arrayItem struct method VisitPrimitive (line 147) | func (item *arrayItem) VisitPrimitive(schema *proto.Primitive) { method VisitArray (line 151) | func (item *arrayItem) VisitArray(schema *proto.Array) { method VisitMap (line 168) | func (item *arrayItem) VisitMap(schema *proto.Map) { method VisitKind (line 172) | func (item *arrayItem) VisitKind(schema *proto.Kind) { method VisitArbitrary (line 176) | func (item *arrayItem) VisitArbitrary(schema *proto.Arbitrary) { method VisitReference (line 179) | func (item *arrayItem) VisitReference(schema proto.Reference) { type primitiveItem (line 185) | type primitiveItem struct method VisitPrimitive (line 194) | func (item *primitiveItem) VisitPrimitive(schema *proto.Primitive) { method VisitArray (line 224) | func (item *primitiveItem) VisitArray(schema *proto.Array) { method VisitMap (line 228) | func (item *primitiveItem) VisitMap(schema *proto.Map) { method VisitKind (line 232) | func (item *primitiveItem) VisitKind(schema *proto.Kind) { method VisitArbitrary (line 236) | func (item *primitiveItem) VisitArbitrary(schema *proto.Arbitrary) { method VisitReference (line 239) | func (item *primitiveItem) VisitReference(schema proto.Reference) { function itemFactory (line 245) | func itemFactory(path proto.Path, v interface{}) (validationItem, error) { FILE: pkg/util/proto/validation/validation.go function ValidateModel (line 23) | func ValidateModel(obj interface{}, schema proto.Schema, name string) []... FILE: pkg/util/proto/validation/validation_test.go function Validate (line 34) | func Validate(models proto.Models, model string, data string) []error { function ValidateObj (line 44) | func ValidateObj(models proto.Models, model string, obj interface{}) []e... function loadModels (line 53) | func loadModels(t *testing.T) proto.Models { function TestResourceValidation (line 66) | func TestResourceValidation(t *testing.T) { FILE: pkg/util/sets/empty.go type Empty (line 27) | type Empty struct FILE: pkg/util/sets/string.go type String (line 31) | type String method Insert (line 53) | func (s String) Insert(items ...string) { method Delete (line 60) | func (s String) Delete(items ...string) { method Has (line 67) | func (s String) Has(item string) bool { method HasAll (line 73) | func (s String) HasAll(items ...string) bool { method HasAny (line 83) | func (s String) HasAny(items ...string) bool { method Difference (line 98) | func (s String) Difference(s2 String) String { method Union (line 114) | func (s1 String) Union(s2 String) String { method Intersection (line 130) | func (s1 String) Intersection(s2 String) String { method IsSuperset (line 149) | func (s1 String) IsSuperset(s2 String) bool { method Equal (line 161) | func (s1 String) Equal(s2 String) bool { method List (line 172) | func (s String) List() []string { method UnsortedList (line 182) | func (s String) UnsortedList() []string { method PopAny (line 191) | func (s String) PopAny() (string, bool) { method Len (line 201) | func (s String) Len() int { function NewString (line 34) | func NewString(items ...string) String { function StringKeySet (line 42) | func StringKeySet(theMap interface{}) String { type sortableSliceOfString (line 165) | type sortableSliceOfString method Len (line 167) | func (s sortableSliceOfString) Len() int { return len(s) } method Less (line 168) | func (s sortableSliceOfString) Less(i, j int) bool { return lessString... method Swap (line 169) | func (s sortableSliceOfString) Swap(i, j int) { s[i], s[j] = s[j]... function lessString (line 205) | func lessString(lhs, rhs string) bool { FILE: pkg/util/trie.go type Trie (line 20) | type Trie struct method Add (line 39) | func (t *Trie) Add(v string) { method HasPrefix (line 57) | func (t *Trie) HasPrefix(v string) bool { method GetPrefix (line 63) | func (t *Trie) GetPrefix(v string) (string, bool) { function NewTrie (line 27) | func NewTrie(list []string) Trie { FILE: pkg/util/util.go function ToCanonicalName (line 42) | func ToCanonicalName(name string) string { function ToRESTFriendlyName (line 58) | func ToRESTFriendlyName(name string) string { type OpenAPICanonicalTypeNamer (line 91) | type OpenAPICanonicalTypeNamer interface type OpenAPIModelNamer (line 99) | type OpenAPIModelNamer interface function GetCanonicalTypeName (line 105) | func GetCanonicalTypeName(model interface{}) string { FILE: pkg/util/util_test.go function TestCanonicalName (line 24) | func TestCanonicalName(t *testing.T) { type TestType (line 42) | type TestType struct function TestGetCanonicalTypeName (line 44) | func TestGetCanonicalTypeName(t *testing.T) { FILE: pkg/validation/errors/api.go type Error (line 22) | type Error interface type apiError (line 27) | type apiError struct method Error (line 32) | func (a *apiError) Error() string { method Code (line 36) | func (a *apiError) Code() int32 { function New (line 41) | func New(code int32, message string, args ...interface{}) Error { FILE: pkg/validation/errors/api_test.go function TestValidateName (line 23) | func TestValidateName(t *testing.T) { FILE: pkg/validation/errors/headers.go type Validation (line 18) | type Validation struct method Error (line 28) | func (e *Validation) Error() string { method Code (line 33) | func (e *Validation) Code() int32 { method ValidateName (line 38) | func (e *Validation) ValidateName(name string) *Validation { FILE: pkg/validation/errors/schema.go constant invalidType (line 23) | invalidType = "%s is an invalid type name" constant typeFail (line 24) | typeFail = "%s in %s must be of type %s" constant typeFailWithData (line 25) | typeFailWithData = "%s in %s must be of type %s: %q" constant typeFailWithError (line 26) | typeFailWithError = "%s in %s must be of type %s, because: %s" constant requiredFail (line 27) | requiredFail = "%s in %s is required" constant tooLongMessage (line 28) | tooLongMessage = "%s in %s should be at most %d chars long" constant tooShortMessage (line 29) | tooShortMessage = "%s in %s should be at least %d chars long" constant patternFail (line 30) | patternFail = "%s in %s should match '%s'" constant enumFail (line 31) | enumFail = "%s in %s should be one of %v" constant multipleOfFail (line 32) | multipleOfFail = "%s in %s should be a multiple of %v" constant maxIncFail (line 33) | maxIncFail = "%s in %s should be less than or equal to %v" constant maxExcFail (line 34) | maxExcFail = "%s in %s should be less than %v" constant minIncFail (line 35) | minIncFail = "%s in %s should be greater than or equal to... constant minExcFail (line 36) | minExcFail = "%s in %s should be greater than %v" constant uniqueFail (line 37) | uniqueFail = "%s in %s shouldn't contain duplicates" constant maxItemsFail (line 38) | maxItemsFail = "%s in %s should have at most %d items" constant minItemsFail (line 39) | minItemsFail = "%s in %s should have at least %d items" constant typeFailNoIn (line 40) | typeFailNoIn = "%s must be of type %s" constant typeFailWithDataNoIn (line 41) | typeFailWithDataNoIn = "%s must be of type %s: %q" constant typeFailWithErrorNoIn (line 42) | typeFailWithErrorNoIn = "%s must be of type %s, because: %s" constant requiredFailNoIn (line 43) | requiredFailNoIn = "%s is required" constant tooLongMessageNoIn (line 44) | tooLongMessageNoIn = "%s should be at most %d chars long" constant tooShortMessageNoIn (line 45) | tooShortMessageNoIn = "%s should be at least %d chars long" constant patternFailNoIn (line 46) | patternFailNoIn = "%s should match '%s'" constant enumFailNoIn (line 47) | enumFailNoIn = "%s should be one of %v" constant multipleOfFailNoIn (line 48) | multipleOfFailNoIn = "%s should be a multiple of %v" constant maxIncFailNoIn (line 49) | maxIncFailNoIn = "%s should be less than or equal to %v" constant maxExcFailNoIn (line 50) | maxExcFailNoIn = "%s should be less than %v" constant minIncFailNoIn (line 51) | minIncFailNoIn = "%s should be greater than or equal to %v" constant minExcFailNoIn (line 52) | minExcFailNoIn = "%s should be greater than %v" constant uniqueFailNoIn (line 53) | uniqueFailNoIn = "%s shouldn't contain duplicates" constant maxItemsFailNoIn (line 54) | maxItemsFailNoIn = "%s should have at most %d items" constant minItemsFailNoIn (line 55) | minItemsFailNoIn = "%s should have at least %d items" constant noAdditionalItems (line 56) | noAdditionalItems = "%s in %s can't have additional items" constant noAdditionalItemsNoIn (line 57) | noAdditionalItemsNoIn = "%s can't have additional items" constant tooFewProperties (line 58) | tooFewProperties = "%s in %s should have at least %d properties" constant tooFewPropertiesNoIn (line 59) | tooFewPropertiesNoIn = "%s should have at least %d properties" constant tooManyProperties (line 60) | tooManyProperties = "%s in %s should have at most %d properties" constant tooManyPropertiesNoIn (line 61) | tooManyPropertiesNoIn = "%s should have at most %d properties" constant unallowedProperty (line 62) | unallowedProperty = "%s.%s in %s is a forbidden property" constant unallowedPropertyNoIn (line 63) | unallowedPropertyNoIn = "%s.%s is a forbidden property" constant failedAllPatternProps (line 64) | failedAllPatternProps = "%s.%s in %s failed all pattern properties" constant failedAllPatternPropsNoIn (line 65) | failedAllPatternPropsNoIn = "%s.%s failed all pattern properties" constant multipleOfMustBePositive (line 66) | multipleOfMustBePositive = "factor MultipleOf declared for %s must be p... constant CompositeErrorCode (line 74) | CompositeErrorCode = 422 constant InvalidTypeCode (line 76) | InvalidTypeCode = 600 + iota constant RequiredFailCode (line 77) | RequiredFailCode constant TooLongFailCode (line 78) | TooLongFailCode constant TooShortFailCode (line 79) | TooShortFailCode constant PatternFailCode (line 80) | PatternFailCode constant EnumFailCode (line 81) | EnumFailCode constant MultipleOfFailCode (line 82) | MultipleOfFailCode constant MaxFailCode (line 83) | MaxFailCode constant MinFailCode (line 84) | MinFailCode constant UniqueFailCode (line 85) | UniqueFailCode constant MaxItemsFailCode (line 86) | MaxItemsFailCode constant MinItemsFailCode (line 87) | MinItemsFailCode constant NoAdditionalItemsCode (line 88) | NoAdditionalItemsCode constant TooFewPropertiesCode (line 89) | TooFewPropertiesCode constant TooManyPropertiesCode (line 90) | TooManyPropertiesCode constant UnallowedPropertyCode (line 91) | UnallowedPropertyCode constant FailedAllPatternPropsCode (line 92) | FailedAllPatternPropsCode constant MultipleOfMustBePositiveCode (line 93) | MultipleOfMustBePositiveCode type CompositeError (line 97) | type CompositeError struct method Code (line 104) | func (c *CompositeError) Code() int32 { method Error (line 108) | func (c *CompositeError) Error() string { function CompositeValidationError (line 120) | func CompositeValidationError(errors ...error) *CompositeError { function FailedAllPatternProperties (line 129) | func FailedAllPatternProperties(name, in, key string) *Validation { function PropertyNotAllowed (line 144) | func PropertyNotAllowed(name, in, key string) *Validation { function TooFewProperties (line 159) | func TooFewProperties(name, in string, minProperties, size int64) *Valid... function TooManyProperties (line 175) | func TooManyProperties(name, in string, maxProperties, size int64) *Vali... function AdditionalItemsNotAllowed (line 191) | func AdditionalItemsNotAllowed(name, in string) *Validation { function InvalidCollectionFormat (line 205) | func InvalidCollectionFormat(name, in, format string) *Validation { function InvalidTypeName (line 216) | func InvalidTypeName(typeName string) *Validation { function InvalidType (line 225) | func InvalidType(name, in, typeName string, value interface{}) *Validati... function DuplicateItems (line 259) | func DuplicateItems(name, in string) *Validation { function TooManyItems (line 273) | func TooManyItems(name, in string, max int64, value interface{}) *Valida... function TooFewItems (line 290) | func TooFewItems(name, in string, min int64, value interface{}) *Validat... function ExceedsMaximumInt (line 306) | func ExceedsMaximumInt(name, in string, max int64, exclusive bool, value... function ExceedsMaximumUint (line 331) | func ExceedsMaximumUint(name, in string, max uint64, exclusive bool, val... function ExceedsMaximum (line 356) | func ExceedsMaximum(name, in string, max float64, exclusive bool, value ... function ExceedsMinimumInt (line 381) | func ExceedsMinimumInt(name, in string, min int64, exclusive bool, value... function ExceedsMinimumUint (line 406) | func ExceedsMinimumUint(name, in string, min uint64, exclusive bool, val... function ExceedsMinimum (line 431) | func ExceedsMinimum(name, in string, min float64, exclusive bool, value ... function NotMultipleOf (line 456) | func NotMultipleOf(name, in string, multiple, value interface{}) *Valida... function EnumFail (line 473) | func EnumFail(name, in string, value interface{}, values []interface{}) ... function Required (line 492) | func Required(name, in string) *Validation { function TooLong (line 508) | func TooLong(name, in string, max int64, value interface{}) *Validation { function TooShort (line 526) | func TooShort(name, in string, min int64, value interface{}) *Validation { function FailedPattern (line 546) | func FailedPattern(name, in, pattern string, value interface{}) *Validat... function MultipleOfMustBePositive (line 565) | func MultipleOfMustBePositive(name, in string, factor interface{}) *Vali... FILE: pkg/validation/errors/schema_test.go function TestSchemaErrors (line 25) | func TestSchemaErrors(t *testing.T) { FILE: pkg/validation/spec/contact_info.go type ContactInfo (line 20) | type ContactInfo struct FILE: pkg/validation/spec/contact_info_test.go constant contactInfoJSON (line 21) | contactInfoJSON = `{"name":"wordnik api team","url":"http://developer.wo... constant contactInfoYAML (line 22) | contactInfoYAML = `name: wordnik api team function TestIntegrationContactInfo (line 33) | func TestIntegrationContactInfo(t *testing.T) { FILE: pkg/validation/spec/external_docs.go type ExternalDocumentation (line 21) | type ExternalDocumentation struct FILE: pkg/validation/spec/external_docs_test.go function TestIntegrationExternalDocs (line 21) | func TestIntegrationExternalDocs(t *testing.T) { FILE: pkg/validation/spec/gnostic.go type GnosticCommonValidations (line 28) | type GnosticCommonValidations interface method FromGnostic (line 43) | func (k *CommonValidations) FromGnostic(g GnosticCommonValidations) error { type GnosticSimpleSchema (line 112) | type GnosticSimpleSchema interface method FromGnostic (line 120) | func (k *SimpleSchema) FromGnostic(g GnosticSimpleSchema) error { method FromGnostic (line 150) | func (k *Items) FromGnostic(g *openapi_v2.PrimitivesItems) error { method FromGnostic (line 170) | func (k *VendorExtensible) FromGnostic(g []*openapi_v2.NamedAny) error { method FromGnostic (line 196) | func (k *Refable) FromGnostic(g string) error { method FromGnostic (line 200) | func (k *Ref) FromGnostic(g string) error { method FromGnostic (line 233) | func (k *Swagger) FromGnostic(g *openapi_v2.Document) (ok bool, err erro... method FromGnostic (line 252) | func (k *SwaggerProps) FromGnostic(g *openapi_v2.Document) (ok bool, err... method FromGnostic (line 399) | func (k *Info) FromGnostic(g *openapi_v2.Info) (ok bool, err error) { method FromGnostic (line 418) | func (k *InfoProps) FromGnostic(g *openapi_v2.Info) (ok bool, err error) { method FromGnostic (line 452) | func (k *License) FromGnostic(g *openapi_v2.License) (ok bool, err error) { method FromGnostic (line 471) | func (k *ContactInfo) FromGnostic(g *openapi_v2.Contact) (ok bool, err e... method FromGnostic (line 493) | func (k *Paths) FromGnostic(g *openapi_v2.Paths) (ok bool, err error) { method FromGnostic (line 524) | func (k *PathItem) FromGnostic(g *openapi_v2.PathItem) (ok bool, err err... method FromGnostic (line 546) | func (k *PathItemProps) FromGnostic(g *openapi_v2.PathItem) (ok bool, er... method FromGnostic (line 630) | func (k *Operation) FromGnostic(g *openapi_v2.Operation) (ok bool, err e... method FromGnostic (line 650) | func (k *OperationProps) FromGnostic(g *openapi_v2.Operation) (ok bool, ... method FromGnostic (line 726) | func (k *Responses) FromGnostic(g *openapi_v2.Responses) (ok bool, err e... method FromGnostic (line 744) | func (k *ResponsesProps) FromGnostic(g *openapi_v2.Responses) (ok bool, ... method FromGnostic (line 787) | func (k *Response) FromGnostic(g *openapi_v2.Response) (ok bool, err err... method FromGnosticResponseValue (line 807) | func (k *Response) FromGnosticResponseValue(g *openapi_v2.ResponseValue)... method FromGnostic (line 824) | func (k *ResponseProps) FromGnostic(g *openapi_v2.Response) (ok bool, er... method FromGnostic (line 880) | func (k *Header) FromGnostic(g *openapi_v2.Header) (err error) { method FromGnostic (line 904) | func (k *HeaderProps) FromGnostic(g *openapi_v2.Header) error { method FromGnostic (line 917) | func (k *Parameter) FromGnostic(g *openapi_v2.Parameter) (ok bool, err e... type GnosticCommonParamProps (line 1025) | type GnosticCommonParamProps interface type GnosticCommonParamPropsBodyParameter (line 1032) | type GnosticCommonParamPropsBodyParameter interface type GnosticCommonParamPropsFormData (line 1036) | type GnosticCommonParamPropsFormData interface method FromGnostic (line 1040) | func (k *ParamProps) FromGnostic(g GnosticCommonParamProps) (ok bool, er... method FromGnosticParametersItem (line 1067) | func (k *Parameter) FromGnosticParametersItem(g *openapi_v2.ParametersIt... method FromGnostic (line 1090) | func (k *Schema) FromGnostic(g *openapi_v2.Schema) (ok bool, err error) { method FromGnosticSchemaItem (line 1279) | func (k *Schema) FromGnosticSchemaItem(g *openapi_v2.SchemaItem) (ok boo... method FromGnostic (line 1338) | func (k SecurityDefinitions) FromGnostic(g *openapi_v2.SecurityDefinitio... type GnosticCommonSecurityDefinition (line 1353) | type GnosticCommonSecurityDefinition interface method FromGnostic (line 1358) | func (k *SecuritySchemeProps) FromGnostic(g GnosticCommonSecurityDefinit... method FromGnostic (line 1401) | func (k *SecurityScheme) FromGnostic(g *openapi_v2.SecurityDefinitionsIt... method FromGnostic (line 1462) | func (k *Tag) FromGnostic(g *openapi_v2.Tag) (ok bool, err error) { method FromGnostic (line 1481) | func (k *TagProps) FromGnostic(g *openapi_v2.Tag) (ok bool, err error) { method FromGnostic (line 1503) | func (k *ExternalDocumentation) FromGnostic(g *openapi_v2.ExternalDocs) ... FILE: pkg/validation/spec/gnostic_test.go function gnosticCommonTest (line 38) | func gnosticCommonTest(t testing.TB, fuzzer *randfill.Filler) { function TestGnosticConversionSmallDeterministic (line 70) | func TestGnosticConversionSmallDeterministic(t *testing.T) { function TestGnosticConversionSmallDeterministic2 (line 81) | func TestGnosticConversionSmallDeterministic2(t *testing.T) { function TestGnosticConversionSmallDeterministic3 (line 94) | func TestGnosticConversionSmallDeterministic3(t *testing.T) { function TestGnosticConversionSmallDeterministic4 (line 107) | func TestGnosticConversionSmallDeterministic4(t *testing.T) { function TestGnosticConversionSmallDeterministic5 (line 120) | func TestGnosticConversionSmallDeterministic5(t *testing.T) { function TestGnosticConversionSmallDeterministic6 (line 133) | func TestGnosticConversionSmallDeterministic6(t *testing.T) { function TestGnosticConversionSmallDeterministic7 (line 146) | func TestGnosticConversionSmallDeterministic7(t *testing.T) { function TestGnosticConversionSmallRandom (line 161) | func TestGnosticConversionSmallRandom(t *testing.T) { function TestGnosticConversionMediumDeterministic (line 178) | func TestGnosticConversionMediumDeterministic(t *testing.T) { function TestGnosticConversionLargeDeterministic (line 189) | func TestGnosticConversionLargeDeterministic(t *testing.T) { function TestGnosticConversionLargeRandom (line 200) | func TestGnosticConversionLargeRandom(t *testing.T) { function BenchmarkGnosticConversion (line 217) | func BenchmarkGnosticConversion(b *testing.B) { function TestSecurityDefinitionVariants (line 298) | func TestSecurityDefinitionVariants(t *testing.T) { function TestParamVariants (line 376) | func TestParamVariants(t *testing.T) { function TestCommonDataLoss (line 450) | func TestCommonDataLoss(t *testing.T) { function TestBadStatusCode (line 551) | func TestBadStatusCode(t *testing.T) { FILE: pkg/validation/spec/header.go constant jsonArray (line 26) | jsonArray = "array" type HeaderProps (line 30) | type HeaderProps struct type Header (line 37) | type Header struct method MarshalJSON (line 45) | func (h Header) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 68) | func (h Header) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv... method UnmarshalJSON (line 83) | func (h *Header) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 100) | func (h *Header) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *... FILE: pkg/validation/spec/header_test.go function float64Ptr (line 28) | func float64Ptr(f float64) *float64 { function int64Ptr (line 31) | func int64Ptr(f int64) *int64 { constant headerJSON (line 64) | headerJSON = `{ function TestIntegrationHeader (line 93) | func TestIntegrationHeader(t *testing.T) { function TestHeaderSerialization (line 106) | func TestHeaderSerialization(t *testing.T) { function TestHeaderRoundTrip (line 123) | func TestHeaderRoundTrip(t *testing.T) { FILE: pkg/validation/spec/info.go type Extensions (line 27) | type Extensions method Add (line 30) | func (e Extensions) Add(key string, value interface{}) { method GetString (line 36) | func (e Extensions) GetString(key string) (string, bool) { method GetBool (line 45) | func (e Extensions) GetBool(key string) (bool, bool) { method GetStringSlice (line 54) | func (e Extensions) GetStringSlice(key string) ([]string, bool) { method GetObject (line 76) | func (e Extensions) GetObject(key string, out interface{}) error { method sanitizeWithExtra (line 92) | func (e Extensions) sanitizeWithExtra() (extra map[string]any) { type VendorExtensible (line 106) | type VendorExtensible struct method AddExtension (line 111) | func (v *VendorExtensible) AddExtension(key string, value interface{}) { method MarshalJSON (line 122) | func (v VendorExtensible) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 134) | func (v *VendorExtensible) UnmarshalJSON(data []byte) error { type InfoProps (line 152) | type InfoProps struct type Info (line 165) | type Info struct method MarshalJSON (line 171) | func (i Info) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 186) | func (i Info) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2.... method UnmarshalJSON (line 197) | func (i *Info) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 208) | func (i *Info) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *js... FILE: pkg/validation/spec/info_test.go constant infoJSON (line 26) | infoJSON = `{ function TestIntegrationInfo_Serialize (line 59) | func TestIntegrationInfo_Serialize(t *testing.T) { function TestIntegrationInfo_Deserialize (line 66) | func TestIntegrationInfo_Deserialize(t *testing.T) { function TestInfoRoundTrip (line 74) | func TestInfoRoundTrip(t *testing.T) { FILE: pkg/validation/spec/items.go constant jsonRef (line 26) | jsonRef = "$ref" type SimpleSchema (line 30) | type SimpleSchema struct type simpleSchemaOmitZero (line 42) | type simpleSchemaOmitZero struct type CommonValidations (line 53) | type CommonValidations struct type commonValidationsOmitZero (line 70) | type commonValidationsOmitZero struct type Items (line 89) | type Items struct method UnmarshalJSON (line 97) | func (i *Items) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 125) | func (i *Items) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *j... method MarshalJSON (line 145) | func (i Items) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 168) | func (i Items) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2... FILE: pkg/validation/spec/items_test.go constant itemsJSON (line 53) | itemsJSON = `{ function TestIntegrationItems (line 76) | func TestIntegrationItems(t *testing.T) { function TestItemsRoundTrip (line 85) | func TestItemsRoundTrip(t *testing.T) { FILE: pkg/validation/spec/license.go type License (line 20) | type License struct FILE: pkg/validation/spec/license_test.go function TestIntegrationLicense (line 19) | func TestIntegrationLicense(t *testing.T) { FILE: pkg/validation/spec/operation.go type OperationProps (line 30) | type OperationProps struct method MarshalJSON (line 67) | func (op OperationProps) MarshalJSON() ([]byte, error) { type operationPropsOmitZero (line 47) | type operationPropsOmitZero struct type Operation (line 90) | type Operation struct method UnmarshalJSON (line 96) | func (o *Operation) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 107) | func (o *Operation) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, de... method MarshalJSON (line 122) | func (o Operation) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 138) | func (o Operation) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *js... FILE: pkg/validation/spec/operation_test.go constant operationJSON (line 61) | operationJSON = `{ function TestIntegrationOperation (line 80) | func TestIntegrationOperation(t *testing.T) { function TestOperationRoundtrip (line 89) | func TestOperationRoundtrip(t *testing.T) { FILE: pkg/validation/spec/parameter.go type ParamProps (line 30) | type ParamProps struct type paramPropsOmitZero (line 41) | type paramPropsOmitZero struct type Parameter (line 81) | type Parameter struct method UnmarshalJSON (line 90) | func (p *Parameter) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 110) | func (p *Parameter) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, de... method MarshalJSON (line 131) | func (p Parameter) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 158) | func (p Parameter) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *js... FILE: pkg/validation/spec/parameters_test.go function TestIntegrationParameter (line 94) | func TestIntegrationParameter(t *testing.T) { function TestParameterRoundtrip (line 103) | func TestParameterRoundtrip(t *testing.T) { FILE: pkg/validation/spec/path_item.go type PathItemProps (line 26) | type PathItemProps struct type PathItem (line 43) | type PathItem struct method UnmarshalJSON (line 50) | func (p *PathItem) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 64) | func (p *PathItem) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec... method MarshalJSON (line 83) | func (p PathItem) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 103) | func (p PathItem) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jso... FILE: pkg/validation/spec/path_item_test.go constant pathItemJSON (line 63) | pathItemJSON = `{ function TestIntegrationPathItem (line 76) | func TestIntegrationPathItem(t *testing.T) { function TestPathItemRoundTrip (line 85) | func TestPathItemRoundTrip(t *testing.T) { FILE: pkg/validation/spec/paths.go type Paths (line 33) | type Paths struct method UnmarshalJSON (line 39) | func (p *Paths) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 73) | func (p *Paths) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *j... method MarshalJSON (line 128) | func (p Paths) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 151) | func (p Paths) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2... FILE: pkg/validation/spec/paths_test.go constant pathsJSON (line 35) | pathsJSON = `{"x-framework":"go-swagger","/":{"$ref":"cats"}}` constant pathsJSONInvalidKey (line 36) | pathsJSONInvalidKey = `{"x-framework":"go-swagger","not-path-nor-extensi... function TestIntegrationPaths (line 38) | func TestIntegrationPaths(t *testing.T) { function TestPathsRoundtrip (line 51) | func TestPathsRoundtrip(t *testing.T) { FILE: pkg/validation/spec/ref.go type Refable (line 25) | type Refable struct method MarshalJSON (line 30) | func (r Refable) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 35) | func (r *Refable) UnmarshalJSON(d []byte) error { type Ref (line 40) | type Ref struct method RemoteURI (line 45) | func (r *Ref) RemoteURI() string { method Inherits (line 57) | func (r *Ref) Inherits(child Ref) (*Ref, error) { method MarshalJSON (line 82) | func (r Ref) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 95) | func (r *Ref) UnmarshalJSON(d []byte) error { method fromMap (line 103) | func (r *Ref) fromMap(v map[string]interface{}) error { function NewRef (line 67) | func NewRef(refURI string) (Ref, error) { function MustCreateRef (line 77) | func MustCreateRef(refURI string) Ref { FILE: pkg/validation/spec/ref_test.go function TestCloneRef (line 27) | func TestCloneRef(t *testing.T) { FILE: pkg/validation/spec/response.go type ResponseProps (line 26) | type ResponseProps struct type responsePropsOmitZero (line 35) | type responsePropsOmitZero struct type Response (line 45) | type Response struct method UnmarshalJSON (line 52) | func (r *Response) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 70) | func (r *Response) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec... method MarshalJSON (line 90) | func (r Response) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 109) | func (r Response) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jso... function NewResponse (line 122) | func NewResponse() *Response { function ResponseRef (line 127) | func ResponseRef(url string) *Response { FILE: pkg/validation/spec/response_test.go constant responseJSON (line 39) | responseJSON = `{ function TestIntegrationResponse (line 48) | func TestIntegrationResponse(t *testing.T) { function TestResponseRoundtrip (line 57) | func TestResponseRoundtrip(t *testing.T) { FILE: pkg/validation/spec/responses.go type Responses (line 41) | type Responses struct method UnmarshalJSON (line 47) | func (r *Responses) UnmarshalJSON(data []byte) error { method MarshalJSON (line 65) | func (r Responses) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 81) | func (r Responses) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *js... method UnmarshalNextJSON (line 153) | func (r *Responses) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, de... type ResponsesProps (line 103) | type ResponsesProps struct method MarshalJSON (line 109) | func (r ResponsesProps) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 121) | func (r *ResponsesProps) UnmarshalJSON(data []byte) error { FILE: pkg/validation/spec/responses_test.go function TestResponsesRoundtrip (line 26) | func TestResponsesRoundtrip(t *testing.T) { FILE: pkg/validation/spec/schema.go function BooleanProperty (line 29) | func BooleanProperty() *Schema { function BoolProperty (line 34) | func BoolProperty() *Schema { return BooleanProperty() } function StringProperty (line 37) | func StringProperty() *Schema { function CharProperty (line 42) | func CharProperty() *Schema { function Float64Property (line 47) | func Float64Property() *Schema { function Float32Property (line 52) | func Float32Property() *Schema { function Int8Property (line 57) | func Int8Property() *Schema { function Int16Property (line 62) | func Int16Property() *Schema { function Int32Property (line 67) | func Int32Property() *Schema { function Int64Property (line 72) | func Int64Property() *Schema { function StrFmtProperty (line 77) | func StrFmtProperty(format string) *Schema { function DateProperty (line 82) | func DateProperty() *Schema { function DateTimeProperty (line 87) | func DateTimeProperty() *Schema { function MapProperty (line 92) | func MapProperty(property *Schema) *Schema { function RefProperty (line 98) | func RefProperty(name string) *Schema { function RefSchema (line 103) | func RefSchema(name string) *Schema { function ArrayProperty (line 108) | func ArrayProperty(items *Schema) *Schema { function ComposedSchema (line 116) | func ComposedSchema(schemas ...Schema) *Schema { type SchemaURL (line 123) | type SchemaURL method MarshalJSON (line 126) | func (r SchemaURL) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 135) | func (r *SchemaURL) UnmarshalJSON(data []byte) error { method fromMap (line 143) | func (r *SchemaURL) fromMap(v map[string]interface{}) error { type SchemaProps (line 161) | type SchemaProps struct type schemaPropsOmitZero (line 201) | type schemaPropsOmitZero struct type SwaggerSchemaProps (line 240) | type SwaggerSchemaProps struct type swaggerSchemaPropsOmitZero (line 249) | type swaggerSchemaPropsOmitZero struct type Schema (line 263) | type Schema struct method WithID (line 271) | func (s *Schema) WithID(id string) *Schema { method WithTitle (line 277) | func (s *Schema) WithTitle(title string) *Schema { method WithDescription (line 283) | func (s *Schema) WithDescription(description string) *Schema { method WithProperties (line 289) | func (s *Schema) WithProperties(schemas map[string]Schema) *Schema { method SetProperty (line 295) | func (s *Schema) SetProperty(name string, schema Schema) *Schema { method WithAllOf (line 304) | func (s *Schema) WithAllOf(schemas ...Schema) *Schema { method WithMaxProperties (line 310) | func (s *Schema) WithMaxProperties(max int64) *Schema { method WithMinProperties (line 316) | func (s *Schema) WithMinProperties(min int64) *Schema { method Typed (line 322) | func (s *Schema) Typed(tpe, format string) *Schema { method AddType (line 329) | func (s *Schema) AddType(tpe, format string) *Schema { method AsNullable (line 338) | func (s *Schema) AsNullable() *Schema { method CollectionOf (line 344) | func (s *Schema) CollectionOf(items Schema) *Schema { method WithDefault (line 351) | func (s *Schema) WithDefault(defaultValue interface{}) *Schema { method WithRequired (line 357) | func (s *Schema) WithRequired(items ...string) *Schema { method AddRequired (line 363) | func (s *Schema) AddRequired(items ...string) *Schema { method WithMaxLength (line 369) | func (s *Schema) WithMaxLength(max int64) *Schema { method WithMinLength (line 375) | func (s *Schema) WithMinLength(min int64) *Schema { method WithPattern (line 381) | func (s *Schema) WithPattern(pattern string) *Schema { method WithMultipleOf (line 387) | func (s *Schema) WithMultipleOf(number float64) *Schema { method WithMaximum (line 393) | func (s *Schema) WithMaximum(max float64, exclusive bool) *Schema { method WithMinimum (line 400) | func (s *Schema) WithMinimum(min float64, exclusive bool) *Schema { method WithEnum (line 407) | func (s *Schema) WithEnum(values ...interface{}) *Schema { method WithMaxItems (line 413) | func (s *Schema) WithMaxItems(size int64) *Schema { method WithMinItems (line 419) | func (s *Schema) WithMinItems(size int64) *Schema { method UniqueValues (line 425) | func (s *Schema) UniqueValues() *Schema { method AllowDuplicates (line 431) | func (s *Schema) AllowDuplicates() *Schema { method AddToAllOf (line 437) | func (s *Schema) AddToAllOf(schemas ...Schema) *Schema { method WithDiscriminator (line 443) | func (s *Schema) WithDiscriminator(discriminator string) *Schema { method AsReadOnly (line 449) | func (s *Schema) AsReadOnly() *Schema { method AsWritable (line 455) | func (s *Schema) AsWritable() *Schema { method WithExample (line 461) | func (s *Schema) WithExample(example interface{}) *Schema { method WithExternalDocs (line 470) | func (s *Schema) WithExternalDocs(description, url string) *Schema { method MarshalJSON (line 485) | func (s Schema) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 520) | func (s Schema) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv... method UnmarshalJSON (line 546) | func (s *Schema) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 598) | func (s *Schema) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *... FILE: pkg/validation/spec/schema_test.go function TestSchema (line 146) | func TestSchema(t *testing.T) { function TestSchemaRoundtrip (line 203) | func TestSchemaRoundtrip(t *testing.T) { function BenchmarkSchemaUnmarshal (line 240) | func BenchmarkSchemaUnmarshal(b *testing.B) { FILE: pkg/validation/spec/security_scheme.go type SecuritySchemeProps (line 26) | type SecuritySchemeProps struct type SecurityScheme (line 42) | type SecurityScheme struct method MarshalJSON (line 48) | func (s SecurityScheme) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 63) | func (s SecurityScheme) MarshalNextJSON(opts jsonv2.MarshalOptions, en... method UnmarshalJSON (line 74) | func (s *SecurityScheme) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 81) | func (s *SecurityScheme) UnmarshalNextJSON(opts jsonv2.UnmarshalOption... FILE: pkg/validation/spec/security_scheme_test.go function TestSecuritySchemeRoundtrip (line 26) | func TestSecuritySchemeRoundtrip(t *testing.T) { FILE: pkg/validation/spec/structs_test.go function assertSerializeJSON (line 25) | func assertSerializeJSON(t testing.TB, actual interface{}, expected stri... function derefTypeOf (line 33) | func derefTypeOf(expected interface{}) (tpe reflect.Type) { function isPointed (line 41) | func isPointed(expected interface{}) (pointed bool) { function assertParsesJSON (line 49) | func assertParsesJSON(t testing.TB, actual string, expected interface{})... function TestSerialization_SerializeJSON (line 62) | func TestSerialization_SerializeJSON(t *testing.T) { function TestSerialization_DeserializeJSON (line 78) | func TestSerialization_DeserializeJSON(t *testing.T) { FILE: pkg/validation/spec/swagger.go type Swagger (line 31) | type Swagger struct method MarshalJSON (line 37) | func (s Swagger) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 53) | func (s Swagger) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *json... method UnmarshalJSON (line 64) | func (s *Swagger) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 79) | func (s *Swagger) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec ... type SwaggerProps (line 102) | type SwaggerProps struct type Dependencies (line 122) | type Dependencies type SchemaOrBool (line 125) | type SchemaOrBool struct method MarshalJSON (line 134) | func (s SchemaOrBool) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 149) | func (s SchemaOrBool) MarshalNextJSON(opts jsonv2.MarshalOptions, enc ... method UnmarshalJSON (line 161) | func (s *SchemaOrBool) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 181) | func (s *SchemaOrBool) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions,... type SchemaOrStringArray (line 202) | type SchemaOrStringArray struct method MarshalJSON (line 208) | func (s SchemaOrStringArray) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 222) | func (s SchemaOrStringArray) MarshalNextJSON(opts jsonv2.MarshalOption... method UnmarshalJSON (line 233) | func (s *SchemaOrStringArray) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 259) | func (s *SchemaOrStringArray) UnmarshalNextJSON(opts jsonv2.UnmarshalO... type Definitions (line 276) | type Definitions type SecurityDefinitions (line 283) | type SecurityDefinitions type StringOrArray (line 287) | type StringOrArray method Contains (line 290) | func (s StringOrArray) Contains(value string) bool { method UnmarshalJSON (line 300) | func (s *StringOrArray) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 335) | func (s *StringOrArray) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions... method MarshalJSON (line 353) | func (s StringOrArray) MarshalJSON() ([]byte, error) { type SchemaOrArray (line 362) | type SchemaOrArray struct method Len (line 368) | func (s SchemaOrArray) Len() int { method ContainsType (line 376) | func (s *SchemaOrArray) ContainsType(name string) bool { method MarshalJSON (line 384) | func (s SchemaOrArray) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 395) | func (s SchemaOrArray) MarshalNextJSON(opts jsonv2.MarshalOptions, enc... method UnmarshalJSON (line 403) | func (s *SchemaOrArray) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 429) | func (s *SchemaOrArray) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions... FILE: pkg/validation/spec/swagger_test.go constant specJSON (line 70) | specJSON = `{ function TestSwaggerSpec_Serialize (line 118) | func TestSwaggerSpec_Serialize(t *testing.T) { function TestSwaggerSpec_Deserialize (line 131) | func TestSwaggerSpec_Deserialize(t *testing.T) { function TestSwaggerRoundtrip (line 139) | func TestSwaggerRoundtrip(t *testing.T) { function TestSwaggerSpec_Marshalv2Fuzzed (line 167) | func TestSwaggerSpec_Marshalv2Fuzzed(t *testing.T) { function TestSwaggerSpec_Marshalv2FuzzedIsStable (line 200) | func TestSwaggerSpec_Marshalv2FuzzedIsStable(t *testing.T) { function TestUnmarshalAdditionalProperties (line 232) | func TestUnmarshalAdditionalProperties(t *testing.T) { function TestSwaggerSpec_ExperimentalUnmarshal (line 254) | func TestSwaggerSpec_ExperimentalUnmarshal(t *testing.T) { function BenchmarkSwaggerSpec_ExperimentalUnmarshal (line 294) | func BenchmarkSwaggerSpec_ExperimentalUnmarshal(b *testing.B) { function BenchmarkSwaggerSpec_ExperimentalMarshal (line 343) | func BenchmarkSwaggerSpec_ExperimentalMarshal(b *testing.B) { FILE: pkg/validation/spec/tag.go type TagProps (line 26) | type TagProps struct type Tag (line 37) | type Tag struct method MarshalJSON (line 43) | func (t Tag) MarshalJSON() ([]byte, error) { method MarshalNextJSON (line 58) | func (t Tag) MarshalNextJSON(opts jsonv2.MarshalOptions, enc *jsonv2.E... method UnmarshalJSON (line 69) | func (t *Tag) UnmarshalJSON(data []byte) error { method UnmarshalNextJSON (line 80) | func (t *Tag) UnmarshalNextJSON(opts jsonv2.UnmarshalOptions, dec *jso... FILE: pkg/validation/spec/tag_test.go function TestTagRoundtrip (line 26) | func TestTagRoundtrip(t *testing.T) { FILE: pkg/validation/strfmt/bson.go function init (line 21) | func init() { function IsBSONObjectID (line 28) | func IsBSONObjectID(str string) bool { type ObjectId (line 36) | type ObjectId method MarshalText (line 48) | func (id ObjectId) MarshalText() ([]byte, error) { method UnmarshalText (line 57) | func (id *ObjectId) UnmarshalText(data []byte) error { // validation i... method String (line 71) | func (id ObjectId) String() string { method MarshalJSON (line 76) | func (id ObjectId) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 81) | func (id *ObjectId) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 91) | func (id *ObjectId) DeepCopyInto(out *ObjectId) { method DeepCopy (line 96) | func (id *ObjectId) DeepCopy() *ObjectId { function NewObjectId (line 39) | func NewObjectId(hex string) ObjectId { FILE: pkg/validation/strfmt/bson/objectid.go type ObjectID (line 24) | type ObjectID method Hex (line 30) | func (id ObjectID) Hex() string { method String (line 34) | func (id ObjectID) String() string { method IsZero (line 39) | func (id ObjectID) IsZero() bool { method MarshalJSON (line 62) | func (id ObjectID) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 70) | func (id *ObjectID) UnmarshalJSON(b []byte) error { function ObjectIDFromHex (line 45) | func ObjectIDFromHex(s string) (ObjectID, error) { FILE: pkg/validation/strfmt/bson_test.go function TestBSONObjectId_fullCycle (line 23) | func TestBSONObjectId_fullCycle(t *testing.T) { function TestDeepCopyObjectId (line 42) | func TestDeepCopyObjectId(t *testing.T) { FILE: pkg/validation/strfmt/date.go function init (line 22) | func init() { function IsDate (line 29) | func IsDate(str string) bool { constant RFC3339FullDate (line 37) | RFC3339FullDate = "2006-01-02" type Date (line 43) | type Date method String (line 46) | func (d Date) String() string { method UnmarshalText (line 51) | func (d *Date) UnmarshalText(text []byte) error { method MarshalText (line 64) | func (d Date) MarshalText() ([]byte, error) { method MarshalJSON (line 69) | func (d Date) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 74) | func (d *Date) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 91) | func (d *Date) DeepCopyInto(out *Date) { method DeepCopy (line 96) | func (d *Date) DeepCopy() *Date { FILE: pkg/validation/strfmt/date_test.go function TestDate (line 24) | func TestDate(t *testing.T) { function TestDate_IsDate (line 57) | func TestDate_IsDate(t *testing.T) { function TestDeepCopyDate (line 82) | func TestDeepCopyDate(t *testing.T) { FILE: pkg/validation/strfmt/default.go constant HostnamePattern (line 57) | HostnamePattern = `^([a-zA-Z0-9\p{S}\p{L}]((-?[a-zA-Z0-9\p{S}\p{L}]{0,62... constant UUIDPattern (line 59) | UUIDPattern = `(?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?[0-9a-f]{4}-?[0-9a-f]{4}-?... constant UUID3Pattern (line 61) | UUID3Pattern = `(?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?3[0-9a-f]{3}-?[0-9a-f]{4}... constant UUID4Pattern (line 63) | UUID4Pattern = `(?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?4[0-9a-f]{3}-?[89ab][0-9a... constant UUID5Pattern (line 65) | UUID5Pattern = `(?i)^[0-9a-f]{8}-?[0-9a-f]{4}-?5[0-9a-f]{3}-?[89ab][0-9a... constant jsonNull (line 67) | jsonNull = "null" function IsHostname (line 79) | func IsHostname(str string) bool { function IsUUID (line 101) | func IsUUID(str string) bool { function IsUUID3 (line 106) | func IsUUID3(str string) bool { function IsUUID4 (line 111) | func IsUUID4(str string) bool { function IsUUID5 (line 116) | func IsUUID5(str string) bool { function IsEmail (line 121) | func IsEmail(str string) bool { function init (line 126) | func init() { function isIPv4 (line 210) | func isIPv4(s string) bool { function isCIDR (line 216) | func isCIDR(s string) bool { type Base64 (line 224) | type Base64 method MarshalText (line 227) | func (b Base64) MarshalText() ([]byte, error) { method UnmarshalText (line 236) | func (b *Base64) UnmarshalText(data []byte) error { // validation is p... method String (line 249) | func (b Base64) String() string { method MarshalJSON (line 254) | func (b Base64) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 259) | func (b *Base64) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 273) | func (b *Base64) DeepCopyInto(out *Base64) { method DeepCopy (line 278) | func (b *Base64) DeepCopy() *Base64 { type URI (line 290) | type URI method MarshalText (line 293) | func (u URI) MarshalText() ([]byte, error) { method UnmarshalText (line 298) | func (u *URI) UnmarshalText(data []byte) error { // validation is perf... method String (line 303) | func (u URI) String() string { method MarshalJSON (line 308) | func (u URI) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 313) | func (u *URI) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 323) | func (u *URI) DeepCopyInto(out *URI) { method DeepCopy (line 328) | func (u *URI) DeepCopy() *URI { type Email (line 340) | type Email method MarshalText (line 343) | func (e Email) MarshalText() ([]byte, error) { method UnmarshalText (line 348) | func (e *Email) UnmarshalText(data []byte) error { // validation is pe... method String (line 353) | func (e Email) String() string { method MarshalJSON (line 358) | func (e Email) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 363) | func (e *Email) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 373) | func (e *Email) DeepCopyInto(out *Email) { method DeepCopy (line 378) | func (e *Email) DeepCopy() *Email { type Hostname (line 390) | type Hostname method MarshalText (line 393) | func (h Hostname) MarshalText() ([]byte, error) { method UnmarshalText (line 398) | func (h *Hostname) UnmarshalText(data []byte) error { // validation is... method String (line 403) | func (h Hostname) String() string { method MarshalJSON (line 408) | func (h Hostname) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 413) | func (h *Hostname) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 423) | func (h *Hostname) DeepCopyInto(out *Hostname) { method DeepCopy (line 428) | func (h *Hostname) DeepCopy() *Hostname { type IPv4 (line 440) | type IPv4 method MarshalText (line 443) | func (u IPv4) MarshalText() ([]byte, error) { method UnmarshalText (line 448) | func (u *IPv4) UnmarshalText(data []byte) error { // validation is per... method String (line 453) | func (u IPv4) String() string { method MarshalJSON (line 458) | func (u IPv4) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 463) | func (u *IPv4) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 473) | func (u *IPv4) DeepCopyInto(out *IPv4) { method DeepCopy (line 478) | func (u *IPv4) DeepCopy() *IPv4 { type IPv6 (line 490) | type IPv6 method MarshalText (line 493) | func (u IPv6) MarshalText() ([]byte, error) { method UnmarshalText (line 498) | func (u *IPv6) UnmarshalText(data []byte) error { // validation is per... method String (line 503) | func (u IPv6) String() string { method MarshalJSON (line 508) | func (u IPv6) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 513) | func (u *IPv6) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 523) | func (u *IPv6) DeepCopyInto(out *IPv6) { method DeepCopy (line 528) | func (u *IPv6) DeepCopy() *IPv6 { type CIDR (line 540) | type CIDR method MarshalText (line 543) | func (u CIDR) MarshalText() ([]byte, error) { method UnmarshalText (line 548) | func (u *CIDR) UnmarshalText(data []byte) error { // validation is per... method String (line 553) | func (u CIDR) String() string { method MarshalJSON (line 558) | func (u CIDR) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 563) | func (u *CIDR) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 573) | func (u *CIDR) DeepCopyInto(out *CIDR) { method DeepCopy (line 578) | func (u *CIDR) DeepCopy() *CIDR { type MAC (line 590) | type MAC method MarshalText (line 593) | func (u MAC) MarshalText() ([]byte, error) { method UnmarshalText (line 598) | func (u *MAC) UnmarshalText(data []byte) error { // validation is perf... method String (line 603) | func (u MAC) String() string { method MarshalJSON (line 608) | func (u MAC) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 613) | func (u *MAC) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 623) | func (u *MAC) DeepCopyInto(out *MAC) { method DeepCopy (line 628) | func (u *MAC) DeepCopy() *MAC { type UUID (line 640) | type UUID method MarshalText (line 643) | func (u UUID) MarshalText() ([]byte, error) { method UnmarshalText (line 648) | func (u *UUID) UnmarshalText(data []byte) error { // validation is per... method String (line 653) | func (u UUID) String() string { method MarshalJSON (line 658) | func (u UUID) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 663) | func (u *UUID) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 676) | func (u *UUID) DeepCopyInto(out *UUID) { method DeepCopy (line 681) | func (u *UUID) DeepCopy() *UUID { type UUID3 (line 693) | type UUID3 method MarshalText (line 696) | func (u UUID3) MarshalText() ([]byte, error) { method UnmarshalText (line 701) | func (u *UUID3) UnmarshalText(data []byte) error { // validation is pe... method String (line 706) | func (u UUID3) String() string { method MarshalJSON (line 711) | func (u UUID3) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 716) | func (u *UUID3) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 729) | func (u *UUID3) DeepCopyInto(out *UUID3) { method DeepCopy (line 734) | func (u *UUID3) DeepCopy() *UUID3 { type UUID4 (line 746) | type UUID4 method MarshalText (line 749) | func (u UUID4) MarshalText() ([]byte, error) { method UnmarshalText (line 754) | func (u *UUID4) UnmarshalText(data []byte) error { // validation is pe... method String (line 759) | func (u UUID4) String() string { method MarshalJSON (line 764) | func (u UUID4) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 769) | func (u *UUID4) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 782) | func (u *UUID4) DeepCopyInto(out *UUID4) { method DeepCopy (line 787) | func (u *UUID4) DeepCopy() *UUID4 { type UUID5 (line 799) | type UUID5 method MarshalText (line 802) | func (u UUID5) MarshalText() ([]byte, error) { method UnmarshalText (line 807) | func (u *UUID5) UnmarshalText(data []byte) error { // validation is pe... method String (line 812) | func (u UUID5) String() string { method MarshalJSON (line 817) | func (u UUID5) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 822) | func (u *UUID5) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 835) | func (u *UUID5) DeepCopyInto(out *UUID5) { method DeepCopy (line 840) | func (u *UUID5) DeepCopy() *UUID5 { type ISBN (line 852) | type ISBN method MarshalText (line 855) | func (u ISBN) MarshalText() ([]byte, error) { method UnmarshalText (line 860) | func (u *ISBN) UnmarshalText(data []byte) error { // validation is per... method String (line 865) | func (u ISBN) String() string { method MarshalJSON (line 870) | func (u ISBN) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 875) | func (u *ISBN) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 888) | func (u *ISBN) DeepCopyInto(out *ISBN) { method DeepCopy (line 893) | func (u *ISBN) DeepCopy() *ISBN { type ISBN10 (line 905) | type ISBN10 method MarshalText (line 908) | func (u ISBN10) MarshalText() ([]byte, error) { method UnmarshalText (line 913) | func (u *ISBN10) UnmarshalText(data []byte) error { // validation is p... method String (line 918) | func (u ISBN10) String() string { method MarshalJSON (line 923) | func (u ISBN10) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 928) | func (u *ISBN10) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 941) | func (u *ISBN10) DeepCopyInto(out *ISBN10) { method DeepCopy (line 946) | func (u *ISBN10) DeepCopy() *ISBN10 { type ISBN13 (line 958) | type ISBN13 method MarshalText (line 961) | func (u ISBN13) MarshalText() ([]byte, error) { method UnmarshalText (line 966) | func (u *ISBN13) UnmarshalText(data []byte) error { // validation is p... method String (line 971) | func (u ISBN13) String() string { method MarshalJSON (line 976) | func (u ISBN13) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 981) | func (u *ISBN13) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 994) | func (u *ISBN13) DeepCopyInto(out *ISBN13) { method DeepCopy (line 999) | func (u *ISBN13) DeepCopy() *ISBN13 { type CreditCard (line 1011) | type CreditCard method MarshalText (line 1014) | func (u CreditCard) MarshalText() ([]byte, error) { method UnmarshalText (line 1019) | func (u *CreditCard) UnmarshalText(data []byte) error { // validation ... method String (line 1024) | func (u CreditCard) String() string { method MarshalJSON (line 1029) | func (u CreditCard) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 1034) | func (u *CreditCard) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 1047) | func (u *CreditCard) DeepCopyInto(out *CreditCard) { method DeepCopy (line 1052) | func (u *CreditCard) DeepCopy() *CreditCard { type SSN (line 1064) | type SSN method MarshalText (line 1067) | func (u SSN) MarshalText() ([]byte, error) { method UnmarshalText (line 1072) | func (u *SSN) UnmarshalText(data []byte) error { // validation is perf... method String (line 1077) | func (u SSN) String() string { method MarshalJSON (line 1082) | func (u SSN) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 1087) | func (u *SSN) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 1100) | func (u *SSN) DeepCopyInto(out *SSN) { method DeepCopy (line 1105) | func (u *SSN) DeepCopy() *SSN { type HexColor (line 1117) | type HexColor method MarshalText (line 1120) | func (h HexColor) MarshalText() ([]byte, error) { method UnmarshalText (line 1125) | func (h *HexColor) UnmarshalText(data []byte) error { // validation is... method String (line 1130) | func (h HexColor) String() string { method MarshalJSON (line 1135) | func (h HexColor) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 1140) | func (h *HexColor) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 1153) | func (h *HexColor) DeepCopyInto(out *HexColor) { method DeepCopy (line 1158) | func (h *HexColor) DeepCopy() *HexColor { type RGBColor (line 1170) | type RGBColor method MarshalText (line 1173) | func (r RGBColor) MarshalText() ([]byte, error) { method UnmarshalText (line 1178) | func (r *RGBColor) UnmarshalText(data []byte) error { // validation is... method String (line 1183) | func (r RGBColor) String() string { method MarshalJSON (line 1188) | func (r RGBColor) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 1193) | func (r *RGBColor) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 1206) | func (r *RGBColor) DeepCopyInto(out *RGBColor) { method DeepCopy (line 1211) | func (r *RGBColor) DeepCopy() *RGBColor { type Password (line 1224) | type Password method MarshalText (line 1227) | func (r Password) MarshalText() ([]byte, error) { method UnmarshalText (line 1232) | func (r *Password) UnmarshalText(data []byte) error { // validation is... method String (line 1237) | func (r Password) String() string { method MarshalJSON (line 1242) | func (r Password) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 1247) | func (r *Password) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 1260) | func (r *Password) DeepCopyInto(out *Password) { method DeepCopy (line 1265) | func (r *Password) DeepCopy() *Password { FILE: pkg/validation/strfmt/default_test.go function TestFormatURI (line 30) | func TestFormatURI(t *testing.T) { function TestFormatEmail (line 36) | func TestFormatEmail(t *testing.T) { function TestFormatHostname (line 63) | func TestFormatHostname(t *testing.T) { function TestFormatIPv4 (line 146) | func TestFormatIPv4(t *testing.T) { function TestFormatIPv6 (line 156) | func TestFormatIPv6(t *testing.T) { function TestFormatCIDR (line 163) | func TestFormatCIDR(t *testing.T) { function TestFormatMAC (line 173) | func TestFormatMAC(t *testing.T) { function TestFormatUUID3 (line 179) | func TestFormatUUID3(t *testing.T) { function TestFormatUUID4 (line 193) | func TestFormatUUID4(t *testing.T) { function TestFormatUUID5 (line 207) | func TestFormatUUID5(t *testing.T) { function TestFormatUUID (line 221) | func TestFormatUUID(t *testing.T) { function TestFormatISBN (line 235) | func TestFormatISBN(t *testing.T) { function TestFormatISBN10 (line 241) | func TestFormatISBN10(t *testing.T) { function TestFormatISBN13 (line 247) | func TestFormatISBN13(t *testing.T) { function TestFormatHexColor (line 253) | func TestFormatHexColor(t *testing.T) { function TestFormatRGBColor (line 259) | func TestFormatRGBColor(t *testing.T) { function TestFormatSSN (line 265) | func TestFormatSSN(t *testing.T) { function TestFormatCreditCard (line 271) | func TestFormatCreditCard(t *testing.T) { function TestFormatPassword (line 277) | func TestFormatPassword(t *testing.T) { function TestFormatBase64 (line 282) | func TestFormatBase64(t *testing.T) { type testableFormat (line 311) | type testableFormat interface function testStringFormat (line 319) | func testStringFormat(t *testing.T, what testableFormat, format, with st... function testStringFormatWithRegistry (line 323) | func testStringFormatWithRegistry(t *testing.T, registry Registry, what ... function testValid (line 370) | func testValid(t *testing.T, name, value string) { function testValidWithRegistry (line 374) | func testValidWithRegistry(t *testing.T, registry Registry, name, value ... function testInvalid (line 381) | func testInvalid(t *testing.T, name, value string) { function testInvalidWithRegistry (line 385) | func testInvalidWithRegistry(t *testing.T, registry Registry, name, valu... function TestDeepCopyBase64 (line 392) | func TestDeepCopyBase64(t *testing.T) { function TestDeepCopyURI (line 408) | func TestDeepCopyURI(t *testing.T) { function TestDeepCopyEmail (line 424) | func TestDeepCopyEmail(t *testing.T) { function TestDeepCopyHostname (line 440) | func TestDeepCopyHostname(t *testing.T) { function TestDeepCopyIPv4 (line 456) | func TestDeepCopyIPv4(t *testing.T) { function TestDeepCopyIPv6 (line 472) | func TestDeepCopyIPv6(t *testing.T) { function TestDeepCopyCIDR (line 488) | func TestDeepCopyCIDR(t *testing.T) { function TestDeepCopyMAC (line 504) | func TestDeepCopyMAC(t *testing.T) { function TestDeepCopyUUID (line 520) | func TestDeepCopyUUID(t *testing.T) { function TestDeepCopyUUID3 (line 537) | func TestDeepCopyUUID3(t *testing.T) { function TestDeepCopyUUID4 (line 554) | func TestDeepCopyUUID4(t *testing.T) { function TestDeepCopyUUID5 (line 571) | func TestDeepCopyUUID5(t *testing.T) { function TestDeepCopyISBN (line 588) | func TestDeepCopyISBN(t *testing.T) { function TestDeepCopyISBN10 (line 604) | func TestDeepCopyISBN10(t *testing.T) { function TestDeepCopyISBN13 (line 620) | func TestDeepCopyISBN13(t *testing.T) { function TestDeepCopyCreditCard (line 636) | func TestDeepCopyCreditCard(t *testing.T) { function TestDeepCopySSN (line 652) | func TestDeepCopySSN(t *testing.T) { function TestDeepCopyHexColor (line 668) | func TestDeepCopyHexColor(t *testing.T) { function TestDeepCopyRGBColor (line 684) | func TestDeepCopyRGBColor(t *testing.T) { function TestDeepCopyPassword (line 700) | func TestDeepCopyPassword(t *testing.T) { FILE: pkg/validation/strfmt/duration.go function init (line 26) | func init() { function IsDuration (line 59) | func IsDuration(str string) bool { type Duration (line 70) | type Duration method MarshalText (line 73) | func (d Duration) MarshalText() ([]byte, error) { method UnmarshalText (line 78) | func (d *Duration) UnmarshalText(data []byte) error { // validation is... method String (line 123) | func (d Duration) String() string { method MarshalJSON (line 128) | func (d Duration) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 133) | func (d *Duration) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 151) | func (d *Duration) DeepCopyInto(out *Duration) { method DeepCopy (line 156) | func (d *Duration) DeepCopy() *Duration { function ParseDuration (line 88) | func ParseDuration(cand string) (time.Duration, error) { FILE: pkg/validation/strfmt/duration_test.go function TestDuration (line 24) | func TestDuration(t *testing.T) { function testDurationParser (line 67) | func testDurationParser(t *testing.T, toParse string, expected time.Dura... function TestDurationParser_Failed (line 73) | func TestDurationParser_Failed(t *testing.T) { function TestIsDuration_Failed (line 78) | func TestIsDuration_Failed(t *testing.T) { function TestDurationParser (line 83) | func TestDurationParser(t *testing.T) { function TestIsDuration_Caveats (line 147) | func TestIsDuration_Caveats(t *testing.T) { function TestDeepCopyDuration (line 170) | func TestDeepCopyDuration(t *testing.T) { FILE: pkg/validation/strfmt/format.go type Validator (line 31) | type Validator type Format (line 37) | type Format interface type Registry (line 44) | type Registry interface type knownFormat (line 53) | type knownFormat struct type NameNormalizer (line 61) | type NameNormalizer function DefaultNameNormalizer (line 64) | func DefaultNameNormalizer(name string) string { type defaultFormats (line 68) | type defaultFormats struct method Add (line 93) | func (f *defaultFormats) Add(name string, strfmt Format, validator Val... method GetType (line 119) | func (f *defaultFormats) GetType(name string) (reflect.Type, bool) { method DelByName (line 132) | func (f *defaultFormats) DelByName(name string) bool { method DelByFormat (line 149) | func (f *defaultFormats) DelByFormat(strfmt Format) bool { method ContainsName (line 169) | func (f *defaultFormats) ContainsName(name string) bool { method ContainsFormat (line 182) | func (f *defaultFormats) ContainsFormat(strfmt Format) bool { method Validates (line 202) | func (f *defaultFormats) Validates(name, data string) bool { method Parse (line 217) | func (f *defaultFormats) Parse(name, data string) (interface{}, error) { function NewFormats (line 75) | func NewFormats() Registry { function NewSeededFormats (line 80) | func NewSeededFormats(seeds []knownFormat, normalizer NameNormalizer) Re... function unmarshalJSON (line 237) | func unmarshalJSON[T ~string](r *T, data []byte) error { function deepCopy (line 250) | func deepCopy[T ~string](r *T) *T { FILE: pkg/validation/strfmt/format_test.go type testFormat (line 24) | type testFormat method MarshalText (line 26) | func (t testFormat) MarshalText() ([]byte, error) { method UnmarshalText (line 30) | func (t *testFormat) UnmarshalText(b []byte) error { method String (line 35) | func (t testFormat) String() string { function isTestFormat (line 39) | func isTestFormat(s string) bool { type tf2 (line 43) | type tf2 method MarshalText (line 45) | func (t tf2) MarshalText() ([]byte, error) { method UnmarshalText (line 49) | func (t *tf2) UnmarshalText(b []byte) error { method String (line 58) | func (t tf2) String() string { function istf2 (line 54) | func istf2(s string) bool { type bf (line 62) | type bf method MarshalText (line 64) | func (t bf) MarshalText() ([]byte, error) { method UnmarshalText (line 68) | func (t *bf) UnmarshalText(b []byte) error { method String (line 73) | func (t bf) String() string { function isbf (line 77) | func isbf(s string) bool { function istf3 (line 81) | func istf3(s string) bool { function init (line 85) | func init() { function TestFormatRegistry (line 90) | func TestFormatRegistry(t *testing.T) { type testStruct (line 128) | type testStruct struct FILE: pkg/validation/strfmt/kubernetes-extensions.go constant k8sPrefix (line 22) | k8sPrefix = "k8s-" function init (line 24) | func init() { type ShortName (line 44) | type ShortName method MarshalText (line 46) | func (r ShortName) MarshalText() ([]byte, error) { method UnmarshalText (line 50) | func (r *ShortName) UnmarshalText(data []byte) error { // validation i... method String (line 55) | func (r ShortName) String() string { method MarshalJSON (line 59) | func (r ShortName) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 63) | func (r *ShortName) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 67) | func (r *ShortName) DeepCopyInto(out *ShortName) { method DeepCopy (line 71) | func (r *ShortName) DeepCopy() *ShortName { constant shortNameFmt (line 75) | shortNameFmt string = "[a-z0-9]([-a-z0-9]*[a-z0-9])?" constant ShortNameMaxLength (line 78) | ShortNameMaxLength int = 63 function IsShortName (line 83) | func IsShortName(value string) bool { type LongName (line 101) | type LongName method MarshalText (line 103) | func (r LongName) MarshalText() ([]byte, error) { method UnmarshalText (line 107) | func (r *LongName) UnmarshalText(data []byte) error { // validation is... method String (line 112) | func (r LongName) String() string { method MarshalJSON (line 116) | func (r LongName) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 120) | func (r *LongName) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 124) | func (r *LongName) DeepCopyInto(out *LongName) { method DeepCopy (line 128) | func (r *LongName) DeepCopy() *LongName { constant longNameFmt (line 132) | longNameFmt string = shortNameFmt + "(\\." + shortNameFmt + ")*" constant LongNameMaxLength (line 135) | LongNameMaxLength int = 253 function IsLongName (line 140) | func IsLongName(value string) bool { FILE: pkg/validation/strfmt/kubernetes-extensions_test.go function TestIsShortName (line 40) | func TestIsShortName(t *testing.T) { function TestFormatLongName (line 74) | func TestFormatLongName(t *testing.T) { FILE: pkg/validation/strfmt/time.go function init (line 24) | func init() { function IsDateTime (line 30) | func IsDateTime(str string) bool { constant RFC3339Millis (line 50) | RFC3339Millis = "2006-01-02T15:04:05.000Z07:00" constant RFC3339Micro (line 52) | RFC3339Micro = "2006-01-02T15:04:05.000000Z07:00" constant ISO8601LocalTime (line 54) | ISO8601LocalTime = "2006-01-02T15:04:05" constant DateTimePattern (line 56) | DateTimePattern = `^([0-9]{2}):([0-9]{2}):([0-9]{2})(.[0-9]+)?(z|([+-][0... function ParseDateTime (line 67) | func ParseDateTime(data string) (DateTime, error) { type DateTime (line 89) | type DateTime method String (line 97) | func (t DateTime) String() string { method MarshalText (line 102) | func (t DateTime) MarshalText() ([]byte, error) { method UnmarshalText (line 107) | func (t *DateTime) UnmarshalText(text []byte) error { method MarshalJSON (line 117) | func (t DateTime) MarshalJSON() ([]byte, error) { method UnmarshalJSON (line 122) | func (t *DateTime) UnmarshalJSON(data []byte) error { method DeepCopyInto (line 140) | func (t *DateTime) DeepCopyInto(out *DateTime) { method DeepCopy (line 145) | func (t *DateTime) DeepCopy() *DateTime { function NewDateTime (line 92) | func NewDateTime() DateTime { FILE: pkg/validation/strfmt/time_test.go function TestNewDateTime (line 43) | func TestNewDateTime(t *testing.T) { function TestParseDateTime_errorCases (line 47) | func TestParseDateTime_errorCases(t *testing.T) { function TestParseDateTime_fullCycle (line 54) | func TestParseDateTime_fullCycle(t *testing.T) { function TestDateTime_IsDateTime_errorCases (line 81) | func TestDateTime_IsDateTime_errorCases(t *testing.T) { function TestDateTime_UnmarshalText_errorCases (line 104) | func TestDateTime_UnmarshalText_errorCases(t *testing.T) { function TestDateTime_UnmarshalText (line 112) | func TestDateTime_UnmarshalText(t *testing.T) { function TestDateTime_UnmarshalJSON (line 121) | func TestDateTime_UnmarshalJSON(t *testing.T) { function esc (line 144) | func esc(v []byte) []byte { function TestDateTime_MarshalText (line 152) | func TestDateTime_MarshalText(t *testing.T) { function TestDateTime_MarshalJSON (line 161) | func TestDateTime_MarshalJSON(t *testing.T) { function TestDeepCopyDateTime (line 171) | func TestDeepCopyDateTime(t *testing.T) { FILE: pkg/validation/validate/debug.go function init (line 33) | func init() { function debugOptions (line 37) | func debugOptions() { function debugLog (line 41) | func debugLog(msg string, args ...interface{}) { FILE: pkg/validation/validate/debug_test.go function TestDebug (line 29) | func TestDebug(t *testing.T) { FILE: pkg/validation/validate/doc_test.go function ExampleAgainstSchema (line 29) | func ExampleAgainstSchema() { function TestValidate_Issue112 (line 72) | func TestValidate_Issue112(t *testing.T) { function getSimpleSchema (line 86) | func getSimpleSchema() *spec.Schema { FILE: pkg/validation/validate/formats.go type formatValidator (line 24) | type formatValidator struct method SetPath (line 31) | func (f *formatValidator) SetPath(path string) { method Applies (line 35) | func (f *formatValidator) Applies(source interface{}, kind reflect.Kin... method Validate (line 51) | func (f *formatValidator) Validate(val interface{}) *Result { FILE: pkg/validation/validate/formats_test.go function TestFormatValidator_EdgeCases (line 13) | func TestFormatValidator_EdgeCases(t *testing.T) { FILE: pkg/validation/validate/helpers.go constant swaggerExample (line 27) | swaggerExample = "example" constant swaggerExamples (line 28) | swaggerExamples = "examples" constant objectType (line 32) | objectType = "object" constant arrayType (line 33) | arrayType = "array" constant stringType (line 34) | stringType = "string" constant integerType (line 35) | integerType = "integer" constant numberType (line 36) | numberType = "number" constant booleanType (line 37) | booleanType = "boolean" constant nullType (line 38) | nullType = "null" constant jsonProperties (line 42) | jsonProperties = "properties" constant jsonDefault (line 43) | jsonDefault = "default" constant stringFormatDate (line 47) | stringFormatDate = "date" constant stringFormatDateTime (line 48) | stringFormatDateTime = "date-time" constant stringFormatPassword (line 49) | stringFormatPassword = "password" constant stringFormatByte (line 50) | stringFormatByte = "byte" constant stringFormatCreditCard (line 51) | stringFormatCreditCard = "creditcard" constant stringFormatDuration (line 52) | stringFormatDuration = "duration" constant stringFormatEmail (line 53) | stringFormatEmail = "email" constant stringFormatHexColor (line 54) | stringFormatHexColor = "hexcolor" constant stringFormatHostname (line 55) | stringFormatHostname = "hostname" constant stringFormatIPv4 (line 56) | stringFormatIPv4 = "ipv4" constant stringFormatIPv6 (line 57) | stringFormatIPv6 = "ipv6" constant stringFormatISBN (line 58) | stringFormatISBN = "isbn" constant stringFormatISBN10 (line 59) | stringFormatISBN10 = "isbn10" constant stringFormatISBN13 (line 60) | stringFormatISBN13 = "isbn13" constant stringFormatMAC (line 61) | stringFormatMAC = "mac" constant stringFormatRGBColor (line 62) | stringFormatRGBColor = "rgbcolor" constant stringFormatSSN (line 63) | stringFormatSSN = "ssn" constant stringFormatURI (line 64) | stringFormatURI = "uri" constant stringFormatUUID (line 65) | stringFormatUUID = "uuid" constant stringFormatUUID3 (line 66) | stringFormatUUID3 = "uuid3" constant stringFormatUUID4 (line 67) | stringFormatUUID4 = "uuid4" constant stringFormatUUID5 (line 68) | stringFormatUUID5 = "uuid5" constant integerFormatInt32 (line 70) | integerFormatInt32 = "int32" constant integerFormatInt64 (line 71) | integerFormatInt64 = "int64" constant integerFormatUInt32 (line 72) | integerFormatUInt32 = "uint32" constant integerFormatUInt64 (line 73) | integerFormatUInt64 = "uint64" constant numberFormatFloat32 (line 75) | numberFormatFloat32 = "float32" constant numberFormatFloat64 (line 76) | numberFormatFloat64 = "float64" constant numberFormatFloat (line 77) | numberFormatFloat = "float" constant numberFormatDouble (line 78) | numberFormatDouble = "double" type errorHelper (line 87) | type errorHelper struct method sErr (line 91) | func (h *errorHelper) sErr(err errors.Error) *Result { type valueHelper (line 96) | type valueHelper struct method asInt64 (line 100) | func (h *valueHelper) asInt64(val interface{}) int64 { method asUint64 (line 117) | func (h *valueHelper) asUint64(val interface{}) uint64 { method asFloat64 (line 135) | func (h *valueHelper) asFloat64(val interface{}) float64 { FILE: pkg/validation/validate/helpers_test.go function integerFactory (line 23) | func integerFactory(base int) []interface{} { function TestHelpers_asInt64 (line 41) | func TestHelpers_asInt64(t *testing.T) { function TestHelpers_asUint64 (line 55) | func TestHelpers_asUint64(t *testing.T) { function TestHelpers_asFloat64 (line 69) | func TestHelpers_asFloat64(t *testing.T) { FILE: pkg/validation/validate/jsonschema_test.go type schemaTestT (line 33) | type schemaTestT struct function enabled (line 47) | func enabled() []string { function isEnabled (line 94) | func isEnabled(nm string) bool { function isOptionalEnabled (line 98) | func isOptionalEnabled(nm string) bool { function isExtendedEnabled (line 102) | func isExtendedEnabled(nm string) bool { function TestJSONSchemaSuite (line 106) | func TestJSONSchemaSuite(t *testing.T) { function TestSchemaFixtures (line 139) | func TestSchemaFixtures(t *testing.T) { function TestOptionalJSONSchemaSuite (line 160) | func TestOptionalJSONSchemaSuite(t *testing.T) { function TestFormat_JSONSchemaExtended (line 187) | func TestFormat_JSONSchemaExtended(t *testing.T) { function doTestSchemaSuite (line 213) | func doTestSchemaSuite(t *testing.T, doc []byte) { FILE: pkg/validation/validate/object_validator.go type objectValidator (line 26) | type objectValidator struct method SetPath (line 40) | func (o *objectValidator) SetPath(path string) { method Applies (line 44) | func (o *objectValidator) Applies(source interface{}, kind reflect.Kin... method Validate (line 53) | func (o *objectValidator) Validate(data interface{}) *Result { method validatePatternProperty (line 156) | func (o *objectValidator) validatePatternProperty(key string, value in... FILE: pkg/validation/validate/object_validator_test.go function itemsFixture (line 26) | func itemsFixture() map[string]interface{} { function expectAllValid (line 33) | func expectAllValid(t *testing.T, ov ValueValidator, dataValid, dataInva... function expectOnlyInvalid (line 41) | func expectOnlyInvalid(t *testing.T, ov ValueValidator, dataValid, dataI... function TestItemsMustBeTypeArray (line 49) | func TestItemsMustBeTypeArray(t *testing.T) { function TestItemsMustHaveType (line 59) | func TestItemsMustHaveType(t *testing.T) { function TestTypeArrayMustHaveItems (line 68) | func TestTypeArrayMustHaveItems(t *testing.T) { function TestObjectValidator_EdgeCases (line 81) | func TestObjectValidator_EdgeCases(t *testing.T) { function TestMinPropertiesMaxPropertiesDontShortCircuit (line 87) | func TestMinPropertiesMaxPropertiesDontShortCircuit(t *testing.T) { function ptr (line 157) | func ptr[T any](v T) *T { FILE: pkg/validation/validate/options.go type Opts (line 22) | type Opts struct function SetContinueOnErrors (line 39) | func SetContinueOnErrors(c bool) { FILE: pkg/validation/validate/options_test.go function TestOptions_SetContinueOnErrors (line 9) | func TestOptions_SetContinueOnErrors(t *testing.T) { FILE: pkg/validation/validate/result.go type Result (line 36) | type Result struct method Merge (line 43) | func (r *Result) Merge(others ...*Result) *Result { method MergeAsErrors (line 57) | func (r *Result) MergeAsErrors(others ...*Result) *Result { method MergeAsWarnings (line 71) | func (r *Result) MergeAsWarnings(others ...*Result) *Result { method AddErrors (line 87) | func (r *Result) AddErrors(errors ...error) { method AddWarnings (line 105) | func (r *Result) AddWarnings(warnings ...error) { method keepRelevantErrors (line 122) | func (r *Result) keepRelevantErrors() *Result { method IsValid (line 156) | func (r *Result) IsValid() bool { method HasErrors (line 166) | func (r *Result) HasErrors() bool { method HasWarnings (line 176) | func (r *Result) HasWarnings() bool { method HasErrorsOrWarnings (line 187) | func (r *Result) HasErrorsOrWarnings() bool { method Inc (line 195) | func (r *Result) Inc() { method AsError (line 202) | func (r *Result) AsError() error { FILE: pkg/validation/validate/result_test.go function TestResult_AddError (line 25) | func TestResult_AddError(t *testing.T) { function TestResult_AddNilError (line 39) | func TestResult_AddNilError(t *testing.T) { function TestResult_AddWarnings (line 49) | func TestResult_AddWarnings(t *testing.T) { function TestResult_Merge (line 60) | func TestResult_Merge(t *testing.T) { function errorFixture (line 94) | func errorFixture() (Result, Result, Result) { function TestResult_MergeAsErrors (line 114) | func TestResult_MergeAsErrors(t *testing.T) { function TestResult_MergeAsWarnings (line 127) | func TestResult_MergeAsWarnings(t *testing.T) { function TestResult_IsValid (line 140) | func TestResult_IsValid(t *testing.T) { function TestResult_HasWarnings (line 155) | func TestResult_HasWarnings(t *testing.T) { function TestResult_HasErrorsOrWarnings (line 167) | func TestResult_HasErrorsOrWarnings(t *testing.T) { function TestResult_keepRelevantErrors (line 183) | func TestResult_keepRelevantErrors(t *testing.T) { function TestResult_AsError (line 193) | func TestResult_AsError(t *testing.T) { function TestResult_NilInstance (line 207) | func TestResult_NilInstance(t *testing.T) { FILE: pkg/validation/validate/rexp.go function compileRegexp (line 29) | func compileRegexp(pattern string) (*re.Regexp, error) { function mustCompileRegexp (line 44) | func mustCompileRegexp(pattern string) *re.Regexp { function cacheRegexp (line 56) | func cacheRegexp(r *re.Regexp) { FILE: pkg/validation/validate/rexp_test.go function Test_compileRegexp (line 25) | func Test_compileRegexp(t *testing.T) { function testPanic (line 44) | func testPanic() { function Test_mustCompileRegexp (line 48) | func Test_mustCompileRegexp(t *testing.T) { function TestRace_compileRegexp (line 61) | func TestRace_compileRegexp(t *testing.T) { function TestRace_mustCompileRegexp (line 85) | func TestRace_mustCompileRegexp(t *testing.T) { FILE: pkg/validation/validate/schema.go type SchemaValidator (line 34) | type SchemaValidator struct method NewValidatorForField (line 102) | func (s *SchemaValidator) NewValidatorForField(field string, schema *s... method NewValidatorForIndex (line 106) | func (s *SchemaValidator) NewValidatorForIndex(index int, schema *spec... method SetPath (line 111) | func (s *SchemaValidator) SetPath(path string) { method Applies (line 119) | func (s *SchemaValidator) Applies(source interface{}, kind reflect.Kin... method Validate (line 125) | func (s *SchemaValidator) Validate(data interface{}) *Result { method typeValidator (line 193) | func (s *SchemaValidator) typeValidator() ValueValidator { method commonValidator (line 197) | func (s *SchemaValidator) commonValidator() ValueValidator { method sliceValidator (line 205) | func (s *SchemaValidator) sliceValidator() ValueValidator { method numberValidator (line 220) | func (s *SchemaValidator) numberValidator() ValueValidator { method stringValidator (line 258) | func (s *SchemaValidator) stringValidator() ValueValidator { method formatValidator (line 268) | func (s *SchemaValidator) formatValidator() ValueValidator { method schemaPropsValidator (line 277) | func (s *SchemaValidator) schemaPropsValidator() ValueValidator { method objectValidator (line 282) | func (s *SchemaValidator) objectValidator() ValueValidator { function AgainstSchema (line 47) | func AgainstSchema(schema *spec.Schema, data interface{}, formats strfmt... function NewSchemaValidator (line 58) | func NewSchemaValidator(schema *spec.Schema, rootSchema interface{}, roo... FILE: pkg/validation/validate/schema_messages.go constant ArrayDoesNotAllowAdditionalItemsError (line 26) | ArrayDoesNotAllowAdditionalItemsError = "array doesn't allow for additio... constant HasDependencyError (line 29) | HasDependencyError = "%q has a dependency on %s" constant InvalidTypeConversionError (line 32) | InvalidTypeConversionError = "invalid type conversion in %s: %v " constant MustValidateAtLeastOneSchemaError (line 35) | MustValidateAtLeastOneSchemaError = "%q must validate at least one schem... constant MustValidateOnlyOneSchemaError (line 38) | MustValidateOnlyOneSchemaError = "%q must validate one and only one sche... constant MustValidateAllSchemasError (line 43) | MustValidateAllSchemasError = "%q must validate all the schemas (allOf)%s" constant MustNotValidateSchemaError (line 46) | MustNotValidateSchemaError = "%q must not validate the schema (not)" function invalidTypeConversionMsg (line 52) | func invalidTypeConversionMsg(path string, err error) errors.Error { function mustValidateOnlyOneSchemaMsg (line 55) | func mustValidateOnlyOneSchemaMsg(path, additionalMsg string) errors.Err... function mustValidateAtLeastOneSchemaMsg (line 58) | func mustValidateAtLeastOneSchemaMsg(path string) errors.Error { function mustValidateAllSchemasMsg (line 61) | func mustValidateAllSchemasMsg(path, additionalMsg string) errors.Error { function mustNotValidatechemaMsg (line 64) | func mustNotValidatechemaMsg(path string) errors.Error { function hasADependencyMsg (line 67) | func hasADependencyMsg(path, depkey string) errors.Error { function arrayDoesNotAllowAdditionalItemsMsg (line 70) | func arrayDoesNotAllowAdditionalItemsMsg() errors.Error { FILE: pkg/validation/validate/schema_option.go type SchemaValidatorOptions (line 23) | type SchemaValidatorOptions struct method Options (line 33) | func (svo SchemaValidatorOptions) Options() []Option { type Option (line 30) | type Option FILE: pkg/validation/validate/schema_props.go type schemaPropsValidator (line 25) | type schemaPropsValidator struct method SetPath (line 42) | func (s *schemaPropsValidator) SetPath(path string) { method Applies (line 102) | func (s *schemaPropsValidator) Applies(source interface{}, kind reflec... method Validate (line 108) | func (s *schemaPropsValidator) Validate(data interface{}) *Result { function newSchemaPropsValidator (line 58) | func newSchemaPropsValidator(path string, in string, allOf, oneOf, anyOf... FILE: pkg/validation/validate/schema_props_test.go function TestSchemaPropsValidator_EdgeCases (line 26) | func TestSchemaPropsValidator_EdgeCases(t *testing.T) { FILE: pkg/validation/validate/schema_test.go function TestSchemaValidator_Validate_Pattern (line 31) | func TestSchemaValidator_Validate_Pattern(t *testing.T) { function TestSchemaValidator_PatternProperties (line 66) | func TestSchemaValidator_PatternProperties(t *testing.T) { function TestSchemaValidator_ReferencePanic (line 109) | func TestSchemaValidator_ReferencePanic(t *testing.T) { function schemaRefValidator (line 113) | func schemaRefValidator() { function TestSchemaValidator_EdgeCases (line 133) | func TestSchemaValidator_EdgeCases(t *testing.T) { function TestNumericFormatEnforcement (line 187) | func TestNumericFormatEnforcement(t *testing.T) { FILE: pkg/validation/validate/slice_validator.go type schemaSliceValidator (line 25) | type schemaSliceValidator struct method SetPath (line 38) | func (s *schemaSliceValidator) SetPath(path string) { method Applies (line 42) | func (s *schemaSliceValidator) Applies(source interface{}, kind reflec... method Validate (line 48) | func (s *schemaSliceValidator) Validate(data interface{}) *Result { FILE: pkg/validation/validate/slice_validator_test.go function TestSliceValidator_EdgeCases (line 26) | func TestSliceValidator_EdgeCases(t *testing.T) { FILE: pkg/validation/validate/type.go type typeValidator (line 27) | type typeValidator struct method schemaInfoForType (line 35) | func (t *typeValidator) schemaInfoForType(data interface{}) (string, s... method SetPath (line 120) | func (t *typeValidator) SetPath(path string) { method Applies (line 124) | func (t *typeValidator) Applies(source interface{}, kind reflect.Kind)... method Validate (line 132) | func (t *typeValidator) Validate(data interface{}) *Result { FILE: pkg/validation/validate/type_test.go type expectedJSONType (line 25) | type expectedJSONType struct function TestType_schemaInfoForType (line 31) | func TestType_schemaInfoForType(t *testing.T) { FILE: pkg/validation/validate/validator.go type ValueValidator (line 25) | type ValueValidator interface type basicCommonValidator (line 37) | type basicCommonValidator struct method SetPath (line 44) | func (b *basicCommonValidator) SetPath(path string) { method Applies (line 48) | func (b *basicCommonValidator) Applies(source interface{}, kind reflec... method Validate (line 56) | func (b *basicCommonValidator) Validate(data interface{}) (res *Result) { type numberValidator (line 87) | type numberValidator struct method SetPath (line 101) | func (n *numberValidator) SetPath(path string) { method Applies (line 105) | func (n *numberValidator) Applies(source interface{}, kind reflect.Kin... method Validate (line 139) | func (n *numberValidator) Validate(val interface{}) *Result { type stringValidator (line 208) | type stringValidator struct method SetPath (line 216) | func (s *stringValidator) SetPath(path string) { method Applies (line 220) | func (s *stringValidator) Applies(source interface{}, kind reflect.Kin... method Validate (line 231) | func (s *stringValidator) Validate(val interface{}) *Result { FILE: pkg/validation/validate/validator_test.go function TestNumberValidator_EdgeCases (line 26) | func TestNumberValidator_EdgeCases(t *testing.T) { function testNumberApply (line 66) | func testNumberApply(t *testing.T, v *numberValidator, sources []interfa... function TestStringValidator_EdgeCases (line 87) | func TestStringValidator_EdgeCases(t *testing.T) { function testStringApply (line 104) | func testStringApply(t *testing.T, v *stringValidator, sources []interfa... function TestBasicCommonValidator_EdgeCases (line 114) | func TestBasicCommonValidator_EdgeCases(t *testing.T) { function testCommonApply (line 131) | func testCommonApply(t *testing.T, v *basicCommonValidator, sources []in... FILE: pkg/validation/validate/values.go function Enum (line 28) | func Enum(path, in string, data interface{}, enum interface{}) *errors.V... function MinItems (line 60) | func MinItems(path, in string, size, min int64) *errors.Validation { function MaxItems (line 68) | func MaxItems(path, in string, size, max int64) *errors.Validation { function UniqueItems (line 76) | func UniqueItems(path, in string, data interface{}) *errors.Validation { function MinLength (line 95) | func MinLength(path, in, data string, minLength int64) *errors.Validation { function MaxLength (line 104) | func MaxLength(path, in, data string, maxLength int64) *errors.Validation { function Required (line 113) | func Required(path, in string, data interface{}) *errors.Validation { function Pattern (line 125) | func Pattern(path, in, data, pattern string) *errors.Validation { function MaximumInt (line 137) | func MaximumInt(path, in string, data, max int64, exclusive bool) *error... function MaximumUint (line 145) | func MaximumUint(path, in string, data, max uint64, exclusive bool) *err... function Maximum (line 153) | func Maximum(path, in string, data, max float64, exclusive bool) *errors... function Minimum (line 161) | func Minimum(path, in string, data, min float64, exclusive bool) *errors... function MinimumInt (line 169) | func MinimumInt(path, in string, data, min int64, exclusive bool) *error... function MinimumUint (line 177) | func MinimumUint(path, in string, data, min uint64, exclusive bool) *err... function MultipleOf (line 185) | func MultipleOf(path, in string, data, factor float64) *errors.Validation { function MultipleOfInt (line 203) | func MultipleOfInt(path, in string, data int64, factor int64) *errors.Va... function MultipleOfUint (line 216) | func MultipleOfUint(path, in string, data, factor uint64) *errors.Valida... function FormatOf (line 229) | func FormatOf(path, in, format, data string, registry strfmt.Registry) *... function MaximumNativeType (line 252) | func MaximumNativeType(path, in string, val interface{}, max float64, ex... function MinimumNativeType (line 282) | func MinimumNativeType(path, in string, val interface{}, min float64, ex... function MultipleOfNativeType (line 312) | func MultipleOfNativeType(path, in string, val interface{}, multipleOf f... function IsValueValidAgainstRange (line 333) | func IsValueValidAgainstRange(val interface{}, typeName, format, prefix,... FILE: pkg/validation/validate/values_test.go function TestValues_ValidateIntEnum (line 26) | func TestValues_ValidateIntEnum(t *testing.T) { function TestValues_ValidateEnum (line 35) | func TestValues_ValidateEnum(t *testing.T) { function TestValues_Enum_EdgeCases (line 45) | func TestValues_Enum_EdgeCases(t *testing.T) { function TestValues_ValidateUniqueItems (line 58) | func TestValues_ValidateUniqueItems(t *testing.T) { function TestValues_ValidateMinLength (line 86) | func TestValues_ValidateMinLength(t *testing.T) { function TestValues_ValidateMaxLength (line 94) | func TestValues_ValidateMaxLength(t *testing.T) { function TestValues_ValidateRequired (line 102) | func TestValues_ValidateRequired(t *testing.T) { function TestValuMultipleOf (line 132) | func TestValuMultipleOf(t *testing.T) { function TestValues_Pattern_Edgecases (line 181) | func TestValues_Pattern_Edgecases(t *testing.T) { function TestValues_FormatOf_EdgeCases (line 204) | func TestValues_FormatOf_EdgeCases(t *testing.T) { function TestValues_MaximumNative (line 222) | func TestValues_MaximumNative(t *testing.T) { function TestValues_MinimumNative (line 277) | func TestValues_MinimumNative(t *testing.T) { function TestValues_MultipleOfNative (line 329) | func TestValues_MultipleOfNative(t *testing.T) { function TestValues_IsValueValidAgainstRange (line 376) | func TestValues_IsValueValidAgainstRange(t *testing.T) { FILE: test/integration/builder/main.go constant defaultSwaggerFile (line 31) | defaultSwaggerFile = "generated.json" function main (line 33) | func main() { FILE: test/integration/builder3/main.go constant defaultSwaggerFile (line 31) | defaultSwaggerFile = "generated.v3.json" function main (line 33) | func main() { FILE: test/integration/integration_suite_test.go constant headerFilePath (line 32) | headerFilePath = "../../boilerplate/boilerplate.go.txt" constant testdataDir (line 33) | testdataDir = "./testdata" constant testPkgRoot (line 34) | testPkgRoot = "k8s.io/kube-openapi/test/integration/... constant outputPkg (line 35) | outputPkg = testPkgRoot + "/pkg/generated" constant generatedCodeFileName (line 36) | generatedCodeFileName = "openapi_generated.go" constant generatedSchemaNameCodeFileName (line 37) | generatedSchemaNameCodeFileName = "zz_generated_model_name.go" constant goldenCodeFilePath (line 38) | goldenCodeFilePath = "pkg/generated/" + generatedCodeFileName constant generatedSwaggerFileName (line 39) | generatedSwaggerFileName = "generated.v2.json" constant goldenSwaggerFileName (line 40) | goldenSwaggerFileName = "golden.v2.json" constant generatedReportFileName (line 41) | generatedReportFileName = "generated.v2.report" constant goldenReportFileName (line 42) | goldenReportFileName = "golden.v2.report" constant generatedOpenAPIv3FileName (line 43) | generatedOpenAPIv3FileName = "generated.v3.json" constant goldenOpenAPIv3Filename (line 44) | goldenOpenAPIv3Filename = "golden.v3.json" constant timeoutSeconds (line 46) | timeoutSeconds = 60.0 function generatedFile (line 69) | func generatedFile(filename string) string { return filepath.Join(tempDi... function testdataFile (line 70) | func testdataFile(filename string) string { return filepath.Join(testda... function TestGenerators (line 72) | func TestGenerators(t *testing.T) { FILE: test/integration/naming_test.go function TestCanonicalTypeNames (line 29) | func TestCanonicalTypeNames(t *testing.T) { FILE: test/integration/openapiconv/convert_test.go function TestConvertGolden (line 33) | func TestConvertGolden(t *testing.T) { FILE: test/integration/pkg/generated/namedmodels/openapi_generated.go function GetOpenAPIDefinitions (line 30) | func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]comm... function schema_test_integration_testdata_namedmodels_AtomicStruct (line 38) | func schema_test_integration_testdata_namedmodels_AtomicStruct(ref commo... function schema_test_integration_testdata_namedmodels_ContainedStruct (line 59) | func schema_test_integration_testdata_namedmodels_ContainedStruct(ref co... function schema_test_integration_testdata_namedmodels_Struct (line 69) | func schema_test_integration_testdata_namedmodels_Struct(ref common.Refe... FILE: test/integration/pkg/generated/openapi_generated.go function GetOpenAPIDefinitions (line 34) | func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]comm... function schema_test_integration_testdata_custom_Bah (line 73) | func schema_test_integration_testdata_custom_Bah(ref common.ReferenceCal... function schema_test_integration_testdata_custom_FooV3OneOf (line 84) | func schema_test_integration_testdata_custom_FooV3OneOf(ref common.Refer... function schema_test_integration_testdata_defaults_Defaulted (line 104) | func schema_test_integration_testdata_defaults_Defaulted(ref common.Refe... function schema_test_integration_testdata_defaults_SubStruct (line 211) | func schema_test_integration_testdata_defaults_SubStruct(ref common.Refe... function schema_test_integration_testdata_dummytype_Bar (line 238) | func schema_test_integration_testdata_dummytype_Bar(ref common.Reference... function schema_test_integration_testdata_dummytype_Baz (line 265) | func schema_test_integration_testdata_dummytype_Baz(ref common.Reference... function schema_test_integration_testdata_dummytype_Foo (line 292) | func schema_test_integration_testdata_dummytype_Foo(ref common.Reference... function schema_test_integration_testdata_dummytype_StatusError (line 319) | func schema_test_integration_testdata_dummytype_StatusError(ref common.R... function schema_test_integration_testdata_dummytype_Waldo (line 346) | func schema_test_integration_testdata_dummytype_Waldo(ref common.Referen... function schema_test_integration_testdata_enumtype_FruitsBasket (line 373) | func schema_test_integration_testdata_enumtype_FruitsBasket(ref common.R... function schema_test_integration_testdata_listtype_AtomicList (line 403) | func schema_test_integration_testdata_listtype_AtomicList(ref common.Ref... function schema_test_integration_testdata_listtype_Item (line 435) | func schema_test_integration_testdata_listtype_Item(ref common.Reference... function schema_test_integration_testdata_listtype_MapList (line 482) | func schema_test_integration_testdata_listtype_MapList(ref common.Refere... function schema_test_integration_testdata_listtype_SetList (line 518) | func schema_test_integration_testdata_listtype_SetList(ref common.Refere... function schema_test_integration_testdata_listtype_UntypedList (line 550) | func schema_test_integration_testdata_listtype_UntypedList(ref common.Re... function schema_test_integration_testdata_maptype_AtomicMap (line 577) | func schema_test_integration_testdata_maptype_AtomicMap(ref common.Refer... function schema_test_integration_testdata_maptype_GranularMap (line 610) | func schema_test_integration_testdata_maptype_GranularMap(ref common.Ref... function schema_test_integration_testdata_structtype_AtomicStruct (line 643) | func schema_test_integration_testdata_structtype_AtomicStruct(ref common... function schema_test_integration_testdata_structtype_ContainedStruct (line 676) | func schema_test_integration_testdata_structtype_ContainedStruct(ref com... function schema_test_integration_testdata_structtype_DeclaredAtomicStruct (line 686) | func schema_test_integration_testdata_structtype_DeclaredAtomicStruct(re... function schema_test_integration_testdata_structtype_FieldLevelOverrideStruct (line 711) | func schema_test_integration_testdata_structtype_FieldLevelOverrideStruc... function schema_test_integration_testdata_structtype_GranularStruct (line 744) | func schema_test_integration_testdata_structtype_GranularStruct(ref comm... function schema_test_integration_testdata_uniontype_InlinedUnion (line 777) | func schema_test_integration_testdata_uniontype_InlinedUnion(ref common.... function schema_test_integration_testdata_uniontype_TopLevelUnion (line 873) | func schema_test_integration_testdata_uniontype_TopLevelUnion(ref common... function schema_test_integration_testdata_uniontype_Union (line 925) | func schema_test_integration_testdata_uniontype_Union(ref common.Referen... function schema_test_integration_testdata_uniontype_Union2 (line 969) | func schema_test_integration_testdata_uniontype_Union2(ref common.Refere... function schema_test_integration_testdata_valuevalidation_Foo (line 1014) | func schema_test_integration_testdata_valuevalidation_Foo(ref common.Ref... function schema_test_integration_testdata_valuevalidation_Foo2 (line 1102) | func schema_test_integration_testdata_valuevalidation_Foo2(ref common.Re... function schema_test_integration_testdata_valuevalidation_Foo3 (line 1120) | func schema_test_integration_testdata_valuevalidation_Foo3(ref common.Re... function schema_test_integration_testdata_valuevalidation_Foo5 (line 1152) | func schema_test_integration_testdata_valuevalidation_Foo5(ref common.Re... FILE: test/integration/testdata/custom/v2.go type Bak (line 25) | type Bak struct method OpenAPIDefinition (line 27) | func (_ Bak) OpenAPIDefinition() common.OpenAPIDefinition { FILE: test/integration/testdata/custom/v3.go type Bal (line 25) | type Bal struct method OpenAPIV3Definition (line 27) | func (_ Bal) OpenAPIV3Definition() common.OpenAPIDefinition { type Bac (line 38) | type Bac struct method OpenAPIV3Definition (line 40) | func (_ Bac) OpenAPIV3Definition() common.OpenAPIDefinition { method OpenAPIDefinition (line 50) | func (_ Bac) OpenAPIDefinition() common.OpenAPIDefinition { type Bah (line 61) | type Bah struct method OpenAPIV3Definition (line 63) | func (_ Bah) OpenAPIV3Definition() common.OpenAPIDefinition { method OpenAPISchemaType (line 73) | func (_ Bah) OpenAPISchemaType() []string { method OpenAPISchemaFormat (line 77) | func (_ Bah) OpenAPISchemaFormat() string { type FooV3OneOf (line 83) | type FooV3OneOf struct method OpenAPIV3OneOfTypes (line 85) | func (FooV3OneOf) OpenAPIV3OneOfTypes() []string { method OpenAPISchemaType (line 88) | func (FooV3OneOf) OpenAPISchemaType() []string { method OpenAPISchemaFormat (line 91) | func (FooV3OneOf) OpenAPISchemaFormat() string { FILE: test/integration/testdata/defaults/default.go type Defaulted (line 4) | type Defaulted struct constant ConstantValue (line 30) | ConstantValue string = "SymbolConstant" type DefaultedItem (line 33) | type DefaultedItem type Item (line 36) | type Item type SubStruct (line 39) | type SubStruct struct FILE: test/integration/testdata/dummytype/alpha.go type Foo (line 21) | type Foo struct type Bar (line 27) | type Bar struct type Baz (line 33) | type Baz struct type StatusError (line 39) | type StatusError struct FILE: test/integration/testdata/dummytype/beta.go type Waldo (line 21) | type Waldo struct FILE: test/integration/testdata/enumtype/enum.go type FruitType (line 5) | type FruitType constant FruitApple (line 8) | FruitApple FruitType = "apple" constant FruitBanana (line 11) | FruitBanana FruitType = "banana" constant FruitRiceBall (line 16) | FruitRiceBall FruitType = "onigiri" type FruitsBasket (line 20) | type FruitsBasket struct FILE: test/integration/testdata/listtype/atomic-list.go type AtomicList (line 4) | type AtomicList struct FILE: test/integration/testdata/listtype/map-list.go type MapList (line 4) | type MapList struct type Item (line 11) | type Item struct FILE: test/integration/testdata/listtype/set-list.go type SetList (line 4) | type SetList struct FILE: test/integration/testdata/listtype/untyped.go type UntypedList (line 4) | type UntypedList struct FILE: test/integration/testdata/maptype/atomic-map.go type AtomicMap (line 4) | type AtomicMap struct FILE: test/integration/testdata/maptype/granular-map.go type GranularMap (line 4) | type GranularMap struct FILE: test/integration/testdata/namedmodels/struct.go type Struct (line 4) | type Struct struct type ContainedStruct (line 9) | type ContainedStruct struct type AtomicStruct (line 11) | type AtomicStruct struct method OpenAPIModelName (line 16) | func (in AtomicStruct) OpenAPIModelName() string { FILE: test/integration/testdata/namedmodels/zz_generated_model_name.go method OpenAPIModelName (line 25) | func (in Struct) OpenAPIModelName() string { FILE: test/integration/testdata/structtype/atomic-struct.go type AtomicStruct (line 4) | type AtomicStruct struct type ContainedStruct (line 11) | type ContainedStruct struct type DeclaredAtomicStruct (line 15) | type DeclaredAtomicStruct struct FILE: test/integration/testdata/structtype/field-level-override.go type FieldLevelOverrideStruct (line 4) | type FieldLevelOverrideStruct struct FILE: test/integration/testdata/structtype/granular-struct.go type GranularStruct (line 4) | type GranularStruct struct FILE: test/integration/testdata/uniontype/union.go type TopLevelUnion (line 4) | type TopLevelUnion struct type Union (line 12) | type Union struct type Union2 (line 22) | type Union2 struct type InlinedUnion (line 32) | type InlinedUnion struct FILE: test/integration/testdata/valuevalidation/alpha.go type Foo (line 17) | type Foo struct type Foo2 (line 52) | type Foo2 struct method OpenAPIV3Definition (line 54) | func (Foo2) OpenAPIV3Definition() common.OpenAPIDefinition { method OpenAPISchemaType (line 64) | func (Foo2) OpenAPISchemaType() []string { method OpenAPISchemaFormat (line 68) | func (Foo2) OpenAPISchemaFormat() string { type Foo3 (line 78) | type Foo3 struct method OpenAPIV3OneOfTypes (line 80) | func (Foo3) OpenAPIV3OneOfTypes() []string { method OpenAPISchemaType (line 83) | func (Foo3) OpenAPISchemaType() []string { method OpenAPISchemaFormat (line 86) | func (Foo3) OpenAPISchemaFormat() string { type Foo4 (line 95) | type Foo4 struct method OpenAPIDefinition (line 97) | func (Foo4) OpenAPIDefinition() common.OpenAPIDefinition { type Foo5 (line 112) | type Foo5 struct method OpenAPIV3Definition (line 114) | func (Foo5) OpenAPIV3Definition() common.OpenAPIDefinition { method OpenAPISchemaType (line 124) | func (Foo5) OpenAPISchemaType() []string { method OpenAPISchemaFormat (line 128) | func (Foo5) OpenAPISchemaFormat() string { FILE: test/integration/testutil/testutil.go function CreateOpenAPIBuilderConfig (line 32) | func CreateOpenAPIBuilderConfig() *common.Config { function CreateOpenAPIV3BuilderConfig (line 55) | func CreateOpenAPIV3BuilderConfig() *common.OpenAPIV3Config { function CreateWebServices (line 82) | func CreateWebServices(includeV2SchemaAnnotation bool) []*restful.WebSer... function addRoutes (line 114) | func addRoutes(ws *restful.WebService, routes ...*restful.RouteBuilder) { type typeNamer (line 123) | type typeNamer struct method OpenAPICanonicalTypeName (line 128) | func (t *typeNamer) OpenAPICanonicalTypeName() string { function buildRouteForType (line 132) | func buildRouteForType(ws *restful.WebService, pkg, name string) []*rest...