regctl

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PodName

func PodName(c client.Client, reg *regv1.Registry) (string, error)

PodName returns registry pod name

Types

type RegistryConfigMap

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

RegistryConfigMap contains things to handle deployment resource

func NewRegistryConfigMap added in v0.3.2

func NewRegistryConfigMap(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryConfigMap

NewRegistryConfigMap creates new registry configmap controller

func (*RegistryConfigMap) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryConfigMap) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryConfigMap) Require added in v0.4.0

type RegistryCrendentialSecret added in v0.4.0

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

func NewRegistryCrendentialSecret added in v0.4.0

func NewRegistryCrendentialSecret(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryCrendentialSecret

func (*RegistryCrendentialSecret) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryCrendentialSecret) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryCrendentialSecret) Require added in v0.4.0

type RegistryDeployment

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

func NewRegistryDeployment added in v0.3.2

func NewRegistryDeployment(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryDeployment

func (*RegistryDeployment) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryDeployment) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryDeployment) Require added in v0.4.0

type RegistryDockerConfigSecret added in v0.4.0

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

RegistryDockerConfigSecret contains things to handle docker config json secret resource

func NewRegistryDCJSecret added in v0.3.2

func NewRegistryDCJSecret(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryDockerConfigSecret

NewRegistryDCJSecret creates new registry docker config json secret controller deps: service

func (*RegistryDockerConfigSecret) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryDockerConfigSecret) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryDockerConfigSecret) Require added in v0.4.0

type RegistryIngress

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

RegistryIngress contains things to handle ingress resource

func NewRegistryIngress added in v0.3.2

func NewRegistryIngress(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryIngress

NewRegistryIngress creates new registry ingress controller deps: cert

func (*RegistryIngress) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryIngress) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryIngress) Require added in v0.4.0

type RegistryNotary

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

RegistryNotary contains things to handle notary resource

func NewRegistryNotary added in v0.3.2

func NewRegistryNotary(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryNotary

NewRegistryNotary creates new registry notary controller

func (*RegistryNotary) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryNotary) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryNotary) Require added in v0.4.0

type RegistryPVC

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

RegistryPVC things to handle pvc resource

func NewRegistryPVC added in v0.3.2

func NewRegistryPVC(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryPVC

NewRegistryPVC creates new registry pvc controller

func (*RegistryPVC) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryPVC) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryPVC) Require added in v0.4.0

type RegistryPod

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

RegistryPod contains things to handle pod resource

func NewRegistryPod added in v0.3.2

func NewRegistryPod(cli client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryPod

NewRegistryPod creates new registry pod controller deps: deployment

func (*RegistryPod) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryPod) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryPod) Require added in v0.4.0

type RegistryService

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

RegistryService things to handle service resource

func NewRegistryService added in v0.3.2

func NewRegistryService(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryService

NewRegistryService creates new registry service

func (*RegistryService) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryService) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

Ready checks that service is ready

func (*RegistryService) Require added in v0.4.0

type RegistryTlsSecret added in v0.4.0

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

RegistryTlsSecret contains things to handle tls and opaque secret resource

func NewRegistryTlsCertSecret added in v0.4.0

func NewRegistryTlsCertSecret(client client.Client, manifest func() (interface{}, error), cond status.ConditionType, logger logr.Logger) *RegistryTlsSecret

func (*RegistryTlsSecret) ReconcileByConditionStatus added in v0.4.0

func (r *RegistryTlsSecret) ReconcileByConditionStatus(reg *regv1.Registry) (bool, error)

func (*RegistryTlsSecret) Require added in v0.4.0

type ResourceController added in v0.4.0

type ResourceController interface {
	//ReconcileByConditionStatus
	ReconcileByConditionStatus(*regv1.Registry) (bool, error)
	Require(status.ConditionType) ResourceController
}

Jump to

Keyboard shortcuts

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