Versions in this module Expand all Collapse all v0 v0.7.0 Sep 28, 2019 Changes in this version + const ActionDeleteObject + func CRDAPIVersions(crd *unstructured.Unstructured) ([]schema.GroupVersion, error) + type CRDPathGenFunc func(namespace, crdName, name string) (string, error) + type ClientRequestHandler struct + Handler func(state State, payload action.Payload) error + RequestType string + type ContainerEditor struct + func NewContainerEditor(objectStore store.Store) *ContainerEditor + func (e *ContainerEditor) ActionName() string + func (e *ContainerEditor) Handle(ctx context.Context, alerter action.Alerter, payload action.Payload) error + type ContentPathUpdateFunc func(contentPath string) + type DeploymentConfigurationEditor struct + func NewDeploymentConfigurationEditor(logger log.Logger, objectStore store.Store) *DeploymentConfigurationEditor + func (e *DeploymentConfigurationEditor) ActionName() string + func (e *DeploymentConfigurationEditor) Handle(ctx context.Context, alerter action.Alerter, payload action.Payload) error + type EntriesFunc func(ctx context.Context, prefix, namespace string, objectStore store.Store, ...) ([]navigation.Navigation, bool, error) + type Event struct + Data interface{} + Err error + Type EventType + type EventType string + const EventTypeAlert + const EventTypeContent + const EventTypeContentPath + const EventTypeContext + const EventTypeCurrentNamespace + const EventTypeFilters + const EventTypeKubeConfig + const EventTypeNamespace + const EventTypeNamespaces + const EventTypeNavigation + const EventTypeObjectNotFound + const EventTypeUnknown + type Filter struct + Key string + Value string + func (f *Filter) IsEqual(other Filter) bool + func (f *Filter) String() string + func (f *Filter) ToQueryParam() string + type Generator interface + Event func(ctx context.Context) (Event, error) + Name func() string + ScheduleDelay func() time.Duration + type NamespaceUpdateFunc func(namespace string) + type NavigationEntries struct + EntriesFuncs map[string]EntriesFunc + Lookup map[string]string + Order []string + type NavigationFactory struct + func NewNavigationFactory(namespace string, root string, objectStore store.Store, ...) *NavigationFactory + func (nf *NavigationFactory) Generate(ctx context.Context, title string, iconName, iconSource string, ...) (*navigation.Navigation, error) + func (nf *NavigationFactory) Root() string + type ObjectPath struct + func NewObjectPath(config ObjectPathConfig) (*ObjectPath, error) + func (op *ObjectPath) AddCRD(ctx context.Context, crd *unstructured.Unstructured) error + func (op *ObjectPath) GroupVersionKindPath(namespace, apiVersion, kind, name string) (string, error) + func (op *ObjectPath) RemoveCRD(ctx context.Context, crd *unstructured.Unstructured) error + func (op *ObjectPath) ResetCRDs(ctx context.Context) error + func (op *ObjectPath) SupportedGroupVersionKind() []schema.GroupVersionKind + type ObjectPathConfig struct + CRDPathGenFunc CRDPathGenFunc + ModuleName string + PathLookupFunc PathLookupFunc + SupportedGVKs []schema.GroupVersionKind + func (opc *ObjectPathConfig) Validate() error + type PathLookupFunc func(namespace, apiVersion, kind, name string) (string, error) + type ServiceConfigurationEditor struct + func NewServiceConfigurationEditor(objectStore store.Store) *ServiceConfigurationEditor + func (s *ServiceConfigurationEditor) ActionName() string + func (s *ServiceConfigurationEditor) Handle(ctx context.Context, alerter action.Alerter, payload action.Payload) error + type State interface + AddFilter func(filter Filter) + Dispatch func(ctx context.Context, actionName string, payload action.Payload) error + GetContentPath func() string + GetFilters func() []Filter + GetNamespace func() string + GetQueryParams func() map[string][]string + OnContentPathUpdate func(fn ContentPathUpdateFunc) UpdateCancelFunc + OnNamespaceUpdate func(fun NamespaceUpdateFunc) UpdateCancelFunc + RemoveFilter func(filter Filter) + SendAlert func(alert action.Alert) + SetContentPath func(string) + SetContext func(requestedContext string) + SetFilters func(filters []Filter) + SetNamespace func(namespace string) + type UpdateCancelFunc func()