syncers

package
v0.0.0-...-5897a89 Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EnvClusterName = "VCLUSTER_CLUSTER_NAME"
	EnvNamespace   = "KUBERNETES_NAMESPACE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AddonSyncer

type AddonSyncer struct {
	Scheme      *runtime.Scheme
	ClusterName string
	// contains filtered or unexported fields
}

func NewAddonSyncer

func NewAddonSyncer(clusterName string) *AddonSyncer

func (*AddonSyncer) Name

func (*AddonSyncer) Name() string

func (*AddonSyncer) Reconcile

func (r *AddonSyncer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*AddonSyncer) Register

func (r *AddonSyncer) Register(ctx *synccontext.RegisterContext) error

func (*AddonSyncer) Resource

func (*AddonSyncer) Resource() client.Object

func (*AddonSyncer) SafeUpdate

func (r *AddonSyncer) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error

SafeUpdate calls Update with hacks required to ensure that the update is applied correctly.

https://github.com/argoproj/argo-cd/issues/3657

type CertificateSyncer

type CertificateSyncer struct {
	Scheme      *runtime.Scheme
	ClusterName string
	// contains filtered or unexported fields
}

func NewCertificateSyncer

func NewCertificateSyncer(clusterName string) *CertificateSyncer

func (*CertificateSyncer) Name

func (*CertificateSyncer) Name() string

func (*CertificateSyncer) Reconcile

func (r *CertificateSyncer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*CertificateSyncer) Register

func (*CertificateSyncer) Resource

func (*CertificateSyncer) Resource() client.Object

type DockerConfigJSON

type DockerConfigJSON struct {
	Auths map[string]authn.AuthConfig `json:"auths,omitempty"`
}

type RoleBindingSyncer

type RoleBindingSyncer struct {
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

func NewRBACSyncer

func NewRBACSyncer() *RoleBindingSyncer

func (*RoleBindingSyncer) Name

func (*RoleBindingSyncer) Name() string

func (*RoleBindingSyncer) Reconcile

func (r *RoleBindingSyncer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*RoleBindingSyncer) Register

func (*RoleBindingSyncer) Resource

func (*RoleBindingSyncer) Resource() client.Object

func (*RoleBindingSyncer) SafeUpdate

func (r *RoleBindingSyncer) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error

SafeUpdate calls Update with hacks required to ensure that the update is applied correctly.

https://github.com/argoproj/argo-cd/issues/3657

type SecretSyncer

type SecretSyncer struct {
	Scheme *runtime.Scheme
	// contains filtered or unexported fields
}

func NewSecretSyncer

func NewSecretSyncer(clusterName, namespace string) *SecretSyncer

func (*SecretSyncer) Name

func (*SecretSyncer) Name() string

func (*SecretSyncer) Reconcile

func (r *SecretSyncer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*SecretSyncer) Register

func (r *SecretSyncer) Register(ctx *synccontext.RegisterContext) error

func (*SecretSyncer) Resource

func (*SecretSyncer) Resource() client.Object

func (*SecretSyncer) SafeUpdate

func (r *SecretSyncer) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error

SafeUpdate calls Update with hacks required to ensure that the update is applied correctly.

https://github.com/argoproj/argo-cd/issues/3657

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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