replicatectl

package
v0.2.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateImageReplicateStatus

func UpdateImageReplicateStatus(c client.Client, repl *regv1.ImageReplicate) (bool, error)

UpdateImageReplicateStatus ... If image replicate status is updated, return true.

Types

type RegistryJob

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

func (*RegistryJob) Handle

func (r *RegistryJob) Handle(c client.Client, repl *regv1.ImageReplicate, patchExreg *regv1.ImageReplicate, scheme *runtime.Scheme) error

Handle is to create image replicate job.

func (*RegistryJob) Ready

func (r *RegistryJob) Ready(c client.Client, repl *regv1.ImageReplicate, patchRepl *regv1.ImageReplicate, useGet bool) error

Ready is to check if the image replicate registry job is ready

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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