storage

package
v1.10.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 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