core

package
v0.0.0-...-9e9d5e8 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ErrCreatingKubernetesComponentsCode = "1545"
)

Variables

This section is empty.

Functions

func ErrCreatingKubernetesComponents

func ErrCreatingKubernetesComponents(err error, ctxID string) error

func GetK8sMeshModelComponents

func GetK8sMeshModelComponents(kubeconfig []byte) ([]v1alpha1.ComponentDefinition, error)

move to meshmodel

func RegisterK8sMeshModelComponents

func RegisterK8sMeshModelComponents(provider *models.Provider, _ context.Context, config []byte, ctxID string, connectionID string, userID string, meshplayInstanceID uuid.UUID, reg *meshmodel.RegistryManager, ec *models.Broadcast, ctxName string) (err error)

func RegisterMeshmodelComponentsForCRDS

func RegisterMeshmodelComponentsForCRDS(reg meshmodel.RegistryManager, k8sYaml []byte, contextID string, version string)

Types

type Entry

type Entry struct {
	URL string `json:"serverRelativeURL"`
}

type OpenAPIV3Response

type OpenAPIV3Response struct {
	Paths map[string]Entry `json:"paths"`
}

Jump to

Keyboard shortcuts

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