storage

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Help

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

Help provides functionality to persist the information about sent help messages.

func NewForHelp

func NewForHelp(ns, name string, k8sCli kubernetes.Interface) *Help

NewForHelp returns a new Help instance.

func (*Help) GetSentHelpDetails

func (a *Help) GetSentHelpDetails(ctx context.Context) (HelpEntries, error)

GetSentHelpDetails returns details about sent help messages.

func (*Help) MarkHelpAsSent

func (a *Help) MarkHelpAsSent(ctx context.Context, sent []string) error

MarkHelpAsSent marks a given sent keys as sent.

type HelpEntries

type HelpEntries map[string]bool

HelpEntries defines the help persistence model.

Jump to

Keyboard shortcuts

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