bytebase

package
v0.0.0-...-675700b Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Protocol            = "https://"
	FinalizerName       = "bytebase.sealos.io/finalizer"
	HostnameLength      = 8
	KeepaliveAnnotation = "lastUpdateTime"
	LetterBytes         = "abcdefghijklmnopqrstuvwxyz0123456789"
)
View Source
const (
	CPURequest    = "0.05"
	MemoryRequest = "64Mi"
	CPULimit      = "0.5"
	MemoryLimit   = "128Mi"
)
View Source
const (
	DefaultDomainSuffix = ".cloud.sealos.io"
	AuthType            = "basicAuth"
)
View Source
const (
	ManagedByLabel        string = "app.kubernetes.io/managed-by"
	InstanceLabel         string = "app.kubernetes.io/instance"
	ComponentLabel        string = "apps.kubeblocks.io/component-name"
	KbManagedByLabelValue string = "kubeblocks"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme          *runtime.Scheme
	Recorder        record.EventRecorder
	Logger          logr.Logger // the manager's default logger
	Config          *rest.Config
	SecretName      string
	SecretNamespace string
	Bc              api.Client // bytebase client
	DefaultEmail    string
	RootDomain      string
}

Reconciler reconciles a Bytebase object

func (*Reconciler) Reconcile

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

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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