projectTipWithoutOrg

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderCreator

func RenderCreator() protocol.CompRender

Types

type Command

type Command struct {
	Key     string `json:"key"`
	Target  string `json:"target"`
	JumpOut bool   `json:"jumpOut"`
	Visible bool   `json:"visible"`
}

type Operation

type Operation struct {
	Command Command `json:"command"`
	Key     string  `json:"key"`
	Reload  bool    `json:"reload"`
	Show    bool    `json:"show"`
}

type ProjectTipWithoutOrg

type ProjectTipWithoutOrg struct {
	Type       string               `json:"type"`
	Props      Props                `json:"props"`
	Operations map[string]Operation `json:"operations"`
	State      State                `json:"state"`
	// contains filtered or unexported fields
}

func (*ProjectTipWithoutOrg) GenComponentState

func (this *ProjectTipWithoutOrg) GenComponentState(c *apistructs.Component) error

func (*ProjectTipWithoutOrg) SetCtxBundle

func (this *ProjectTipWithoutOrg) SetCtxBundle(ctx context.Context) error

type Props

type Props struct {
	Visible    bool                   `json:"visible"`
	RenderType string                 `json:"renderType"`
	Value      map[string]interface{} `json:"value"`
}

type State

type State struct {
	ProsNum int `json:"prosNum"`
}

Jump to

Keyboard shortcuts

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