configmap

package
v0.27.6 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Name      string
	Namespace string
	Logger    logr.Logger
	Scheme    *runtime.Scheme
}

func (*Config) InitFlags

func (c *Config) InitFlags(fs *flag.FlagSet)

type ConfigMapCheckpointer

type ConfigMapCheckpointer struct {
	Name   string
	NS     string
	Client client.Client
}

func New

func New(checkpointerConfig *Config) (*ConfigMapCheckpointer, manager.Manager, error)

func (*ConfigMapCheckpointer) GetOrCreate

func (p *ConfigMapCheckpointer) GetOrCreate(hookID int64) (*hookdeliveryforwarder.State, error)

func (*ConfigMapCheckpointer) Update

Jump to

Keyboard shortcuts

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