replicatectl

package
Version: 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: 17 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 ImageSignRequest added in v0.3.0

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

ImageSignRequest ...

func NewImageSignRequest added in v0.3.0

func NewImageSignRequest(dependentJob *RegistryJob) *ImageSignRequest

NewImageSignRequest ...

func (*ImageSignRequest) Handle added in v0.3.0

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

Handle is to create image sign request.

func (*ImageSignRequest) Ready added in v0.3.0

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

Ready is to check if image sign request is ready

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) IsSuccessfullyCompleted added in v0.3.0

func (r *RegistryJob) IsSuccessfullyCompleted(c client.Client, repl *regv1.ImageReplicate) bool

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

type RegistrySyncJob added in v0.3.2

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

RegistrySyncJob is a registry job to synchronize external registry repository list

func NewRegistrySyncJob added in v0.3.2

func NewRegistrySyncJob(dependentJob *RegistryJob) *RegistrySyncJob

NewRegistrySyncJob ...

func (*RegistrySyncJob) Handle added in v0.3.2

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

Handle is to create image replicate job.

func (*RegistrySyncJob) Ready added in v0.3.2

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

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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