kubefed

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultFederatedGroup   = "types.kubefed.k8s.io"
	DefaultFederatedVersion = "v1beta1"
	SpecField               = "spec"
	TemplateField           = "template"
	PlacementField          = "placement"
	MatchLabelsField        = "matchLabels"
	ClusterSelectorField    = "clusterSelector"
	ApiEndpointField        = "apiEndpoint"
	SecretRefField          = "secretRef"
	NameField               = "name"
	CaBundleField           = "caBundle"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Federator

type Federator struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(kubeFedConfig *rest.Config, stopChan <-chan struct{}) (*Federator, error)

New creates a new Federator instance.

func (*Federator) AddHandler

func (f *Federator) AddHandler(handler federate.ClusterEventHandler) error

func (*Federator) Delete

func (f *Federator) Delete(resource runtime.Object) error

func (*Federator) Distribute

func (f *Federator) Distribute(resource runtime.Object) error

func (*Federator) OnAdd

func (f *Federator) OnAdd(obj interface{})

func (*Federator) OnDelete

func (f *Federator) OnDelete(obj interface{})

func (*Federator) OnUpdate

func (f *Federator) OnUpdate(oldObj, newObj interface{})

type UnstructuredConversionError

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

func (*UnstructuredConversionError) Error

func (err *UnstructuredConversionError) Error() string

Jump to

Keyboard shortcuts

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