Documentation
¶
Index ¶
- type ControllerOperator
- type DisplayObjectFunc
- type DisplayTextFunc
- type Loader
- type Manager
- type ObjectSelectedAction
- type ObjectSelectedCallback
- type ObjectSelectedData
- type ObjectSelectedDataSlice
- type ObjectSummaryProvider
- type Option
- func Client(c *k8s.Client) Option
- func DisplayObject(f DisplayObjectFunc) Option
- func DisplayText(f DisplayTextFunc) Option
- func PickFrom(f PickFromFunc) Option
- func RegisterObjectSelectAction(f RegisterObjectSelectActionFunc) Option
- func RegisterObjectSummaryProvider(f RegisterObjectSummaryProviderFunc) Option
- type PickFromFunc
- type RegisterObjectSelectActionFunc
- type RegisterObjectSummaryProviderFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerOperator ¶
type ControllerOperator struct { Factory func(goja.FunctionCall) goja.Value List k8s.ControllerList Watch func(goja.FunctionCall) goja.Value Update k8s.ControllerUpdate Delete k8s.ControllerDelete }
type DisplayObjectFunc ¶
type DisplayObjectFunc func(k8s.ObjectMetaGetter)
type DisplayTextFunc ¶
type DisplayTextFunc func(string)
type ObjectSelectedAction ¶
type ObjectSelectedAction func(k8s.ObjectMetaGetter) (ObjectSelectedData, error)
type ObjectSelectedCallback ¶
type ObjectSelectedCallback func() error
type ObjectSelectedData ¶
type ObjectSelectedData struct { Label string Callback ObjectSelectedCallback }
func (ObjectSelectedData) Valid ¶
func (d ObjectSelectedData) Valid() bool
type ObjectSelectedDataSlice ¶
type ObjectSelectedDataSlice []ObjectSelectedData
func (ObjectSelectedDataSlice) FindForLabel ¶
func (s ObjectSelectedDataSlice) FindForLabel(label string) ObjectSelectedData
func (ObjectSelectedDataSlice) Labels ¶
func (s ObjectSelectedDataSlice) Labels() []string
func (ObjectSelectedDataSlice) SortByLabel ¶
func (s ObjectSelectedDataSlice) SortByLabel()
type ObjectSummaryProvider ¶
type ObjectSummaryProvider func(k8s.ObjectMetaGetter) (string, error)
type Option ¶
type Option struct {
// contains filtered or unexported fields
}
func DisplayObject ¶
func DisplayObject(f DisplayObjectFunc) Option
func DisplayText ¶
func DisplayText(f DisplayTextFunc) Option
func PickFrom ¶
func PickFrom(f PickFromFunc) Option
func RegisterObjectSelectAction ¶
func RegisterObjectSelectAction(f RegisterObjectSelectActionFunc) Option
func RegisterObjectSummaryProvider ¶
func RegisterObjectSummaryProvider(f RegisterObjectSummaryProviderFunc) Option
type PickFromFunc ¶
type RegisterObjectSelectActionFunc ¶
type RegisterObjectSelectActionFunc func( callback ObjectSelectedAction, )
type RegisterObjectSummaryProviderFunc ¶
type RegisterObjectSummaryProviderFunc func( typeName string, provider ObjectSummaryProvider, )
Click to show internal directories.
Click to hide internal directories.