sync

package
v0.0.0-...-28812bd Latest Latest
Warning

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

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	LastSync atomic.Pointer[time.Time]
	// contains filtered or unexported fields
}

func NewController

func NewController(c *conf.Env, cli *client.Client, kc *keycloak.Keycloak) *Controller

func (*Controller) EnsureWebhook

func (c *Controller) EnsureWebhook(ctx context.Context) error

func (*Controller) Run

func (c *Controller) Run(ctx context.Context)

func (*Controller) ServeHTTP

func (c *Controller) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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