apimachinery: k8s.io/apimachinery/pkg/util/strategicpatch/testing Index | Files

package testing

import "k8s.io/apimachinery/pkg/util/strategicpatch/testing"

Index

Package Files

openapi.go

func GetSchemaOrDie Uses

func GetSchemaOrDie(f *Fake, model string) openapi.Schema

GetSchemaOrDie returns the openapi schema.

type Fake Uses

type Fake struct {
    Path string
    // contains filtered or unexported fields
}

Fake opens and returns a openapi swagger from a file Path. It will parse only once and then return the same copy everytime.

func (*Fake) OpenAPISchema Uses

func (f *Fake) OpenAPISchema() (*openapi_v2.Document, error)

OpenAPISchema returns the openapi document and a potential error.

Package testing imports 7 packages (graph). Updated 2018-12-20. Refresh now. Tools for package owners.