Documentation ¶
Index ¶
- Constants
- Variables
- func Loader(ctx context.Context, config engines.Config) (engines.Engine, error)
- func NamedLoader() (string, engines.Loader)
- func NewTopologyLabeler() *topologyLabeler
- type K8sEngine
- func (eng *K8sEngine) AddNodeLabels(ctx context.Context, nodeName string, labels map[string]string) error
- func (eng *K8sEngine) GenerateOutput(ctx context.Context, tree *topology.Vertex, params map[string]any) ([]byte, error)
- func (eng *K8sEngine) GetComputeInstances(ctx context.Context, environment engines.Environment) ([]topology.ComputeInstances, error)
- func (eng *K8sEngine) UpdateTopologyConfigmap(ctx context.Context, name, namespace string, data map[string]string) error
- type Labeler
- type Params
Constants ¶
View Source
const NAME = "k8s"
Variables ¶
View Source
var ErrEnvironmentUnsupported = std_errors.New("environment must implement k8sNodeInfo")
Functions ¶
func NamedLoader ¶
func NewTopologyLabeler ¶
func NewTopologyLabeler() *topologyLabeler
Types ¶
type K8sEngine ¶
type K8sEngine struct {
// contains filtered or unexported fields
}
func (*K8sEngine) AddNodeLabels ¶
func (*K8sEngine) GenerateOutput ¶
func (*K8sEngine) GetComputeInstances ¶
func (eng *K8sEngine) GetComputeInstances(ctx context.Context, environment engines.Environment) ([]topology.ComputeInstances, error)
Click to show internal directories.
Click to hide internal directories.