datasource

package
v0.53.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2026 License: Apache-2.0 Imports: 2 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	v1.Datasource `json:",inline" yaml:",inline"`
}

func New

func New(name string, options ...Option) (Builder, error)

type Option

type Option func(datasource *Builder) error

func Default

func Default(isDefault bool) Option

func Name

func Name(name string) Option

func Plugin

func Plugin(plugin common.Plugin) Option

func ProjectName

func ProjectName(name string) Option

type Selector

type Selector struct {
	Kind string `json:"kind" yaml:"kind"`
	Name string `json:"name,omitempty" yaml:"name,omitempty"`
}

Jump to

Keyboard shortcuts

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