Documentation ¶
Index ¶
- func HardcodedPatchLoader(version string) groupversion.PatchLoaderFn
- func NewComposite(clients ...openapi.Client) openapi.Client
- func NewFallback(clients ...openapi.Client) openapi.Client
- func NewGitHubBuiltins(k8sVersion string) openapi.Client
- func NewHardcodedBuiltins(version string) openapi.Client
- func NewKubeConfig(overrides clientcmd.ConfigOverrides) openapi.Client
- func NewLocalCRDFiles(fs fs.FS, dirPath string) openapi.Client
- func NewLocalSchemaFiles(fs fs.FS, dirPath string) openapi.Client
- func NewOverlay(patchLoader groupversion.PatchLoaderFn, delegate openapi.Client) openapi.Client
- func PatchLoaderFromDirectory(filesystem fs.FS, dir string) groupversion.PatchLoaderFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HardcodedPatchLoader ¶
func HardcodedPatchLoader(version string) groupversion.PatchLoaderFn
func NewComposite ¶
client which tries multiple clients in a priority order for an openapi spec
func NewFallback ¶
Creates an OpenAPI client which forwards calls to the first argument which does not return an error
func NewGitHubBuiltins ¶
func NewHardcodedBuiltins ¶
func NewKubeConfig ¶
func NewKubeConfig(overrides clientcmd.ConfigOverrides) openapi.Client
func NewLocalCRDFiles ¶
Dir should have openapi files following directory layout: myCRD.yaml (groupversions read from file)
func NewLocalSchemaFiles ¶
Dir should have openapi files following directory layout: /<apis>/<group>/<version>.json /api/<version>.json
func NewOverlay ¶
func NewOverlay(patchLoader groupversion.PatchLoaderFn, delegate openapi.Client) openapi.Client
func PatchLoaderFromDirectory ¶
func PatchLoaderFromDirectory(filesystem fs.FS, dir string) groupversion.PatchLoaderFn
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.