operator

package
v0.7.12 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2024 License: AGPL-3.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FINALIZER_URL = "b3scale.infra.run/finalizer"

Functions

func GetKubernetesConfig

func GetKubernetesConfig(config *config2.Kubernetes) (*rest.Config, error)

Types

type B3ScaleOperator

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

func NewB3ScaleOperator

func NewB3ScaleOperator(config *config2.Config) (*B3ScaleOperator, error)

func (*B3ScaleOperator) Reconcile

func (o *B3ScaleOperator) Reconcile(ctx context.Context, op *skop.Operator, res skop.Resource) error

func (*B3ScaleOperator) Run

func (o *B3ScaleOperator) Run() error

type OperatorKubernetesClient

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

func NewOperatorKubernetesClient

func NewOperatorKubernetesClient(cs *kubernetes.Clientset) *OperatorKubernetesClient

func (*OperatorKubernetesClient) AddFinalizerToBBBFrontend

func (o *OperatorKubernetesClient) AddFinalizerToBBBFrontend(ctx context.Context, bbb *v1.BBBFrontend, finalizer string) error

func (*OperatorKubernetesClient) RemoveFinalizerFromBBBFrontend

func (o *OperatorKubernetesClient) RemoveFinalizerFromBBBFrontend(ctx context.Context, bbb *v1.BBBFrontend, finalizer string) error

func (*OperatorKubernetesClient) RemoveFinalizerFromConfigMap

func (o *OperatorKubernetesClient) RemoveFinalizerFromConfigMap(ctx context.Context, configMap *corev1.ConfigMap, finalizer string) error

func (*OperatorKubernetesClient) SetReadyStatusCondition

func (o *OperatorKubernetesClient) SetReadyStatusCondition(ctx context.Context, bbb *v1.BBBFrontend, isReady bool, err error) error

func (*OperatorKubernetesClient) UpdateBBBFrontend

func (o *OperatorKubernetesClient) UpdateBBBFrontend(ctx context.Context, bbb *v1.BBBFrontend) error

func (*OperatorKubernetesClient) UpdateBBBFrontendStatus

func (o *OperatorKubernetesClient) UpdateBBBFrontendStatus(ctx context.Context, bbb *v1.BBBFrontend) error

Jump to

Keyboard shortcuts

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