Documentation ¶
Overview ¶
Package provider contains methods implementing virtual-kubelet provider
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InitConfig ¶ added in v0.3.1
type InitConfig struct { HomeConfig *rest.Config RemoteConfig *rest.Config HomeCluster discoveryv1alpha1.ClusterIdentity RemoteCluster discoveryv1alpha1.ClusterIdentity Namespace string NodeName string NodeIP string LiqoIpamServer string InformerResyncPeriod time.Duration PodWorkers uint ServiceWorkers uint EndpointSliceWorkers uint PersistenVolumeClaimWorkers uint ConfigMapWorkers uint SecretWorkers uint EnableStorage bool VirtualStorageClassName string RemoteRealStorageClassName string }
InitConfig is the config passed to initialize the LiqoPodProvider.
type LiqoProvider ¶
type LiqoProvider struct {
// contains filtered or unexported fields
}
LiqoProvider implements the virtual-kubelet provider interface and stores pods in memory.
func NewLiqoProvider ¶
func NewLiqoProvider(ctx context.Context, cfg *InitConfig, eb record.EventBroadcaster) (*LiqoProvider, error)
NewLiqoProvider creates a new NewLiqoProvider instance.
func (*LiqoProvider) PodHandler ¶ added in v0.3.2
func (p *LiqoProvider) PodHandler() workload.PodHandler
PodHandler returns an handler to interact with the pods offloaded to the remote cluster.
Click to show internal directories.
Click to hide internal directories.