multicluster-scheduler: Index | Files

package agent

import ""


Package Files


type Config Uses

type Config struct {
    Targets []Target

func NewFromCRD Uses

func NewFromCRD(ctx context.Context) Config

until we watch targets at runtime, we can already load them from objects at startup

type Target Uses

type Target struct {
    Name         string
    ClientConfig *rest.Config
    Self         bool // optimization to re-use clients, informers, etc.
    Namespace    string

func (Target) GetKey Uses

func (t Target) GetKey() string

Package agent imports 12 packages (graph) and is imported by 2 packages. Updated 2020-09-24. Refresh now. Tools for package owners.