scheme

package
v1.27.1 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2025 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package scheme offers a builder capable of generating a scheme with the resources known by the CNP manager

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildWithAllKnownScheme

func BuildWithAllKnownScheme() *runtime.Scheme

BuildWithAllKnownScheme registers all the API used by the manager

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

Builder contains the fluent methods to build a schema

func New

func New() *Builder

New creates a new builder

func (*Builder) Build

func (b *Builder) Build() *runtime.Scheme

Build returns the built scheme

func (*Builder) WithAPIExtensionV1

func (b *Builder) WithAPIExtensionV1() *Builder

WithAPIExtensionV1 adds apiextensions/v1

func (*Builder) WithAPIV1

func (b *Builder) WithAPIV1() *Builder

WithAPIV1 adds the v1 scheme

func (*Builder) WithClientGoScheme

func (b *Builder) WithClientGoScheme() *Builder

WithClientGoScheme adds the kubernetes/scheme

func (*Builder) WithMonitoringV1

func (b *Builder) WithMonitoringV1() *Builder

WithMonitoringV1 adds prometheus-operator scheme

func (*Builder) WithVolumeSnapshotV1 added in v1.25.4

func (b *Builder) WithVolumeSnapshotV1() *Builder

WithVolumeSnapshotV1 adds volumesnapshotv1

Jump to

Keyboard shortcuts

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