Documentation
¶
Index ¶
- Variables
- func AnnotateHash(o client.Object, key string, hash string)
- func Apply(ctx context.Context, cc client.Client, o client.Object) error
- func IsReloadMatch(o client.Object, key string, n string) bool
- func IsSupportedGroupKind(o client.Object) bool
- func RangeWorkload(ctx context.Context, c client.Client, namespace string, ...) error
- func SetupWithManager(mgr ctrl.Manager, options Options) error
- type ConfigMapReloadReconciler
- type HostOptions
- type KubePkgApplyReconciler
- type KubePkgStatusReconciler
- type Options
- type Reconciler
- type SecretReloadReconciler
- type ServiceReconciler
- func (r *ServiceReconciler) Endpoint(hostname string) string
- func (r *ServiceReconciler) ExternalHost(nn types.NamespacedName) (string, bool)
- func (r *ServiceReconciler) InternalHost(nn types.NamespacedName) (string, bool)
- func (r *ServiceReconciler) Reconcile(ctx context.Context, request reconcile.Request) (reconcile.Result, error)
- func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
View Source
var FieldOwner = client.FieldOwner("kubepkg")
Functions ¶
func IsSupportedGroupKind ¶
func RangeWorkload ¶
Types ¶
type ConfigMapReloadReconciler ¶
func (*ConfigMapReloadReconciler) SetupWithManager ¶
func (r *ConfigMapReloadReconciler) SetupWithManager(mgr ctrl.Manager) error
type HostOptions ¶
type HostOptions struct { InternalHost string `flag:"internal-host" env:"INTERNAL_HOST" desc:"cluster hostname or ip for internal access"` ExternalHost string `flag:"external-host" env:"EXTERNAL_HOST" desc:"cluster hostname or ip for external access"` EnableHttps bool `flag:"enable-https" env:"ENABLE_HTTPS" desc:"https enabled or not"` EnableAutoInternalHost bool `` /* 129-byte string literal not displayed */ }
type KubePkgApplyReconciler ¶
func (*KubePkgApplyReconciler) SetupWithManager ¶
func (r *KubePkgApplyReconciler) SetupWithManager(mgr ctrl.Manager) error
type KubePkgStatusReconciler ¶
func (*KubePkgStatusReconciler) SetupWithManager ¶
func (r *KubePkgStatusReconciler) SetupWithManager(mgr ctrl.Manager) error
type Options ¶
type Options struct {
HostOptions
}
type Reconciler ¶
type SecretReloadReconciler ¶
func (*SecretReloadReconciler) SetupWithManager ¶
func (r *SecretReloadReconciler) SetupWithManager(mgr ctrl.Manager) error
type ServiceReconciler ¶
type ServiceReconciler struct { ctrl.Manager HostOptions HostOptions // contains filtered or unexported fields }
func (*ServiceReconciler) Endpoint ¶
func (r *ServiceReconciler) Endpoint(hostname string) string
func (*ServiceReconciler) ExternalHost ¶
func (r *ServiceReconciler) ExternalHost(nn types.NamespacedName) (string, bool)
func (*ServiceReconciler) InternalHost ¶
func (r *ServiceReconciler) InternalHost(nn types.NamespacedName) (string, bool)
func (*ServiceReconciler) SetupWithManager ¶
func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.