Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - type AddonSyncer
 - func (*AddonSyncer) Name() string
 - func (r *AddonSyncer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
 - func (r *AddonSyncer) Register(ctx *synccontext.RegisterContext) error
 - func (*AddonSyncer) Resource() client.Object
 - func (r *AddonSyncer) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error
 
- type CertificateSyncer
 - type DockerConfigJSON
 - type RoleBindingSyncer
 - func (*RoleBindingSyncer) Name() string
 - func (r *RoleBindingSyncer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
 - func (r *RoleBindingSyncer) Register(ctx *synccontext.RegisterContext) error
 - func (*RoleBindingSyncer) Resource() client.Object
 - func (r *RoleBindingSyncer) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error
 
- type SecretSyncer
 - func (*SecretSyncer) Name() string
 - func (r *SecretSyncer) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
 - func (r *SecretSyncer) Register(ctx *synccontext.RegisterContext) error
 - func (*SecretSyncer) Resource() client.Object
 - func (r *SecretSyncer) SafeUpdate(ctx context.Context, old, new client.Object, option ...client.UpdateOption) error
 
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) 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.
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) Register ¶
func (r *CertificateSyncer) Register(ctx *synccontext.RegisterContext) error
func (*CertificateSyncer) Resource ¶
func (*CertificateSyncer) Resource() client.Object
type DockerConfigJSON ¶
type DockerConfigJSON struct {
	Auths map[string]authn.AuthConfig `json:"auths,omitempty"`
}
    type RoleBindingSyncer ¶
func NewRBACSyncer ¶
func NewRBACSyncer() *RoleBindingSyncer
func (*RoleBindingSyncer) Name ¶
func (*RoleBindingSyncer) Name() string
func (*RoleBindingSyncer) Register ¶
func (r *RoleBindingSyncer) Register(ctx *synccontext.RegisterContext) error
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.
type SecretSyncer ¶
func NewSecretSyncer ¶
func NewSecretSyncer(clusterName, namespace string) *SecretSyncer
func (*SecretSyncer) Name ¶
func (*SecretSyncer) Name() string
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.
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.