exregctl

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: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateRegistryStatus

func UpdateRegistryStatus(c client.Client, exreg *regv1.ExternalRegistry) (bool, error)

UpdateRegistryStatus ... If registry status is updated, return true.

Types

type ExternalRegistrySubresource

type ExternalRegistrySubresource interface {
	Handle(client.Client, *regv1.ExternalRegistry, *regv1.ExternalRegistry, *runtime.Scheme) error
	Ready(client.Client, *regv1.ExternalRegistry, *regv1.ExternalRegistry, bool) error
	// contains filtered or unexported methods
}

type LoginSecret

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

LoginSecret ...

func (*LoginSecret) Handle

func (r *LoginSecret) Handle(c client.Client, exreg *regv1.ExternalRegistry, patchExreg *regv1.ExternalRegistry, scheme *runtime.Scheme) error

Handle creates login secret if not exists

func (*LoginSecret) Ready

func (r *LoginSecret) Ready(c client.Client, exreg *regv1.ExternalRegistry, patchExreg *regv1.ExternalRegistry, useGet bool) error

Ready is to check if the external registry login secret is ready

type RegistryCronJob

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

func (*RegistryCronJob) Handle

func (r *RegistryCronJob) Handle(c client.Client, exreg *regv1.ExternalRegistry, patchExreg *regv1.ExternalRegistry, scheme *runtime.Scheme) error

Handle is to create external registry cron job.

func (*RegistryCronJob) Ready

func (r *RegistryCronJob) Ready(c client.Client, exreg *regv1.ExternalRegistry, patchExreg *regv1.ExternalRegistry, useGet bool) error

Ready is to check if the external registry cron job is ready

type RegistryJob

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

func (*RegistryJob) Handle

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

Handle is to create external registry job.

func (*RegistryJob) Ready

func (r *RegistryJob) Ready(c client.Client, exreg *regv1.ExternalRegistry, patchExreg *regv1.ExternalRegistry, useGet bool) error

Ready is to check if the external 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