addPodButton

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ComponentAddPodButton

type ComponentAddPodButton struct {
	base.DefaultProvider

	Type       string                 `json:"type,omitempty"`
	Props      Props                  `json:"props"`
	Operations map[string]interface{} `json:"operations,omitempty"`
	// contains filtered or unexported fields
}

func (*ComponentAddPodButton) InitComponent

func (b *ComponentAddPodButton) InitComponent(ctx context.Context)

func (*ComponentAddPodButton) Render

func (*ComponentAddPodButton) Transfer

func (b *ComponentAddPodButton) Transfer(component *cptype.Component)

type Operation

type Operation struct {
	Key    string `json:"key,omitempty"`
	Reload bool   `json:"reload"`
}

type Props

type Props struct {
	Text       string `json:"text,omitempty"`
	Type       string `json:"type,omitempty"`
	PrefixIcon string `json:"prefixIcon,omitempty"`
}

Jump to

Keyboard shortcuts

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