handler

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandler added in v0.3.0

func RegisterHandler(mgr ctrl.Manager, s *scheduler.Scheduler) error

Types

type ReplicateHandler

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

ReplicateHandler contains objects to use in handle function

func NewReplicateHandler

func NewReplicateHandler(k8sClient client.Client, scheme *runtime.Scheme) *ReplicateHandler

NewReplicateHandler returns a new handler to replicate image

func (*ReplicateHandler) GetReplicate

func (h *ReplicateHandler) GetReplicate(image *v1.ImageInfo) (base.Replicatable, string, error)

GetReplicate returns replicable registry client

func (*ReplicateHandler) Handle

func (h *ReplicateHandler) Handle(object types.NamespacedName) error

Handle synchronizes external registry repository list

Jump to

Keyboard shortcuts

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