modals

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2025 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 CreateKey

type CreateKey struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewCreateKey

func NewCreateKey() *CreateKey

func (*CreateKey) SetCancelFunc

func (wg *CreateKey) SetCancelFunc(f func()) *CreateKey

func (*CreateKey) SetDoneFunc

func (wg *CreateKey) SetDoneFunc(f func(func(*kmipclient.Client) (kmip.OperationPayload, error))) *CreateKey

type KeyMaterial

type KeyMaterial struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewKeyMaterial

func NewKeyMaterial() *KeyMaterial

func (*KeyMaterial) Draw

func (f *KeyMaterial) Draw(screen tcell.Screen)

func (*KeyMaterial) InputHandler

func (wg *KeyMaterial) InputHandler() func(event *tcell.EventKey, setFocus func(p tview.Primitive))

func (*KeyMaterial) OnDone

func (wg *KeyMaterial) OnDone(cb func()) *KeyMaterial

func (*KeyMaterial) SetContent

func (wg *KeyMaterial) SetContent(obj kmip.Object)

type Register

type Register struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewRegister

func NewRegister() *Register

func (*Register) OnCancel

func (wg *Register) OnCancel(f func()) *Register

func (*Register) OnDone

func (wg *Register) OnDone(cb func(func(*kmipclient.Client) (*payloads.RegisterResponsePayload, error))) *Register

type Rekey

type Rekey struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewRekey

func NewRekey() *Rekey

func (*Rekey) OnCancel

func (md *Rekey) OnCancel(cb func()) *Rekey

func (*Rekey) OnDone

func (md *Rekey) OnDone(cb func(func(*kmipclient.Client, string) (*payloads.RekeyResponsePayload, error))) *Rekey

type Revoke

type Revoke struct {
	*tview.Flex
	// contains filtered or unexported fields
}

func NewRevoke

func NewRevoke() *Revoke

func (*Revoke) OnCancel

func (md *Revoke) OnCancel(cb func()) *Revoke

func (*Revoke) OnDone

func (md *Revoke) OnDone(cb func(func(*kmipclient.Client, string) (*payloads.RevokeResponsePayload, error))) *Revoke

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳