backend

package
v0.0.0-...-8e96d1b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrefixedFS

func NewPrefixedFS(fs http.FileSystem, prefix string) http.FileSystem

func NewRouter

func NewRouter(data *Controller, debug bool) *echo.Echo

Types

type CRDMap

type CRDMap = map[string][]*v1.CustomResourceDefinition

type ConditionedObject

type ConditionedObject interface {
	schema.ObjectKind
	resource.Object
	resource.Conditioned
}

type ControlChan

type ControlChan = chan struct{}

type Controller

type Controller struct {
	StatusInfo StatusInfo
	APIv1      crossplane.APIv1
	ExtV1      crossplane.ExtensionsV1
	Events     crossplane.EventsInterface
	CRDs       crossplane.CRDInterface
	// contains filtered or unexported fields
}

func NewController

func NewController(ctx context.Context, cfg *rest.Config, ns string, version string) (*Controller, error)

func (*Controller) GetClaim

func (c *Controller) GetClaim(ec echo.Context) error

func (*Controller) GetClaims

func (c *Controller) GetClaims(ec echo.Context) error

func (*Controller) GetComposite

func (c *Controller) GetComposite(ec echo.Context) error

func (*Controller) GetComposites

func (c *Controller) GetComposites(ec echo.Context) error

func (*Controller) GetCompositions

func (c *Controller) GetCompositions(ec echo.Context) error

func (*Controller) GetEvents

func (c *Controller) GetEvents(ec echo.Context) error

func (*Controller) GetManaged

func (c *Controller) GetManaged(ec echo.Context) error

func (*Controller) GetManageds

func (c *Controller) GetManageds(ec echo.Context) error

func (*Controller) GetProvider

func (c *Controller) GetProvider(ec echo.Context) error

func (*Controller) GetProviderConfigs

func (c *Controller) GetProviderConfigs(ec echo.Context) error

func (*Controller) GetProviderConfigsInner

func (c *Controller) GetProviderConfigsInner(ec echo.Context, provName string) (*unstructured.UnstructuredList, error)

func (*Controller) GetProviderEvents

func (c *Controller) GetProviderEvents(ec echo.Context) error

func (*Controller) GetProviders

func (c *Controller) GetProviders(ec echo.Context) error

func (*Controller) GetStatus

func (c *Controller) GetStatus() StatusInfo

func (*Controller) GetXRDs

func (c *Controller) GetXRDs(ec echo.Context) error

func (*Controller) LoadCRDs

func (c *Controller) LoadCRDs(ec echo.Context) (CRDMap, error)

type FieldGetter

type FieldGetter = func(spec cpext.CompositeResourceDefinitionSpec) *string // pointer str to signal skip

type ManagedUnstructured

type ManagedUnstructured struct {
	uxres.Unstructured
}

func NewManagedUnstructured

func NewManagedUnstructured() *ManagedUnstructured

func (*ManagedUnstructured) GetProviderConfigReference

func (m *ManagedUnstructured) GetProviderConfigReference() *xpv1.Reference

func (*ManagedUnstructured) SetProviderConfigReference

func (m *ManagedUnstructured) SetProviderConfigReference(_ *xpv1.Reference)

type Ref

type Ref struct {
	Namespace  string
	Name       string
	Kind       string
	APIVersion string
}

type Server

type Server struct {
	Version    string
	Namespace  string
	Address    string
	Debug      bool
	NoTracking bool
}

func (*Server) StartServer

func (s *Server) StartServer(ctx context.Context) (string, ControlChan, error)

type StatusInfo

type StatusInfo struct {
	CurVer              string
	LatestVer           string
	Analytics           bool
	CrossplaneInstalled bool
}

type UnstructuredWithCompositionRef

type UnstructuredWithCompositionRef interface {
	runtime.Unstructured
	resource.CompositionReferencer
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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