Documentation ¶
Index ¶
Constants ¶
View Source
const ( ViewContextLabel = "cms.kyma-project.io/view-context" GroupNameLabel = "cms.kyma-project.io/group-name" DocsTopicLabel = "cms.kyma-project.io/docs-topic" OrderLabel = "cms.kyma-project.io/order" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PluggableContainer ¶
type PluggableContainer struct { *module.Pluggable Resolver Resolver CmsRetriever *cmsRetriever // contains filtered or unexported fields }
func New ¶
func New(restConfig *rest.Config, informerResyncPeriod time.Duration, assetStoreRetriever shared.AssetStoreRetriever) (*PluggableContainer, error)
func (*PluggableContainer) Disable ¶
func (r *PluggableContainer) Disable() error
func (*PluggableContainer) Enable ¶
func (r *PluggableContainer) Enable() error
type Resolver ¶
type Resolver interface { ClusterDocsTopicsQuery(ctx context.Context, viewContext *string, groupName *string) ([]gqlschema.ClusterDocsTopic, error) ClusterDocsTopicEventSubscription(ctx context.Context) (<-chan gqlschema.ClusterDocsTopicEvent, error) DocsTopicEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.DocsTopicEvent, error) ClusterDocsTopicAssetsField(ctx context.Context, obj *gqlschema.ClusterDocsTopic, types []string) ([]gqlschema.ClusterAsset, error) DocsTopicAssetsField(ctx context.Context, obj *gqlschema.DocsTopic, types []string) ([]gqlschema.Asset, error) }
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 |
automock
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0
|
Code generated by mockery v1.0.0 Code generated by mockery v1.0.0 |
Click to show internal directories.
Click to hide internal directories.