cluster

package
v0.7.48 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2026 License: Apache-2.0 Imports: 25 Imported by: 3 modules, 1 package

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddApply

func AddApply(apiSchemas *types.APISchemas, schema *types.APISchema)

func Register

func Register(ctx context.Context, apiSchemas *types.APISchemas, cg proxy.ClientGetter, schemaFactory steveschema.Factory)

Types

type Apply

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

func (*Apply) ServeHTTP

func (a *Apply) ServeHTTP(rw http.ResponseWriter, req *http.Request)

type ApplyInput

type ApplyInput struct {
	DefaultNamespace string `json:"defaultNamespace,omitempty"`
	YAML             string `json:"yaml,omitempty"`
}

type ApplyOutput

type ApplyOutput struct {
	Resources []runtime.Object `json:"resources,omitempty"`
}

type Cluster

type Cluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`
	Spec              Spec   `json:"spec"`
	Status            Status `json:"status"`
}

type Spec

type Spec struct {
	DisplayName string `json:"displayName" norman:"required"`
	Internal    bool   `json:"internal,omitempty"`
	Description string `json:"description"`
}

type Status

type Status struct {
	Conditions []genericcondition.GenericCondition `json:"conditions,omitempty"`
	Driver     string                              `json:"driver,omitempty"`
	Provider   string                              `json:"provider"`
	Version    *version.Info                       `json:"version,omitempty"`
}

type Store

type Store struct {
	empty.Store
	// contains filtered or unexported fields
}

func (*Store) ByID

func (s *Store) ByID(apiOp *types.APIRequest, schema *types.APISchema, id string) (types.APIObject, error)

func (*Store) List

func (s *Store) List(apiOp *types.APIRequest, schema *types.APISchema) (types.APIObjectList, error)

func (*Store) Watch

func (s *Store) Watch(apiOp *types.APIRequest, schema *types.APISchema, w types.WatchRequest) (chan types.APIEvent, error)

Jump to

Keyboard shortcuts

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