Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ListPluginOption ¶
type ListPluginOption func(*ListPluginOptions)
func WithHealthy ¶
func WithHealthy(b bool) ListPluginOption
type ListPluginOptions ¶
type ListPluginOptions struct {
WithHealthy bool
}
type PluginState ¶
type PluginState struct { Annotations map[string]string `json:"annotations"` Enabled bool `json:"enabled"` Description string `json:"description"` Healthy bool `json:"healthy"` Name string `json:"name"` Namespace string `json:"namespace"` Version string `json:"version"` AppVersion string `json:"appVersion"` Message string `json:"message"` Values map[string]interface{} `json:"values"` }
func ListPlugins ¶
func ListPlugins(ctx context.Context, cli client.Client, options ...ListPluginOption) (map[string]string, []PluginState, error)
Click to show internal directories.
Click to hide internal directories.