v1

package
v0.2.0-rc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StandardSourcesFile = ".crd-sources.yaml"
	DefaultSourcesDir   = ".crds"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CRDSource

type CRDSource struct {
	Runtime CRDSourceRuntime `json:"runtime"`
	Offline CRDSourceOffline `json:"offline"`
}

CRDSource provides a source for loading CRDs.

type CRDSourceOffline

type CRDSourceOffline struct {
	CacheDir string   `json:"cache-dir"`
	Images   []string `json:"images"`
}

CRDSourceOffline is the section used by tooling to download CRDs from remote packages to the local filesystem.

type CRDSourceRuntime

type CRDSourceRuntime struct {
	Scope Scope    `json:"scope,omitempty"`
	Paths []string `json:"paths"`
}

CRDSourceRuntime is used by the language server at runtime to load schemas from filesystem paths.

type Scope

type Scope = resource.Scope

Scope represents a resource scope for processing CRDs.

const (
	ScopeNamespaced Scope = resource.ScopeNamespaced
	ScopeCluster    Scope = resource.ScopeCluster
	ScopeBoth       Scope = resource.ScopeBoth
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL