Documentation ¶
Index ¶
Constants ¶
View Source
const ( Namespace_AssetGroupName_Index = "namespace/assetGroupName" Namespace_AssetGroupName_Type_Index = "namespace/assetGroupName/type" )
View Source
const ( AssetGroupName_Index = "assetGroupName" AssetGroupName_Type_Index = "assetGroupName/type" )
View Source
const ( ViewContext_GroupName_Index = "viewContext/groupName" ViewContext_Index = "viewContext" GroupName_Index = "groupName" )
View Source
const ( ViewContextLabel = "rafter.kyma-project.io/view-context" GroupNameLabel = "rafter.kyma-project.io/group-name" AssetGroupLabel = "rafter.kyma-project.io/asset-group" OrderLabel = "rafter.kyma-project.io/order" TypeLabel = "rafter.kyma-project.io/type" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type File ¶
type File struct { URL string Metadata *runtime.RawExtension }
type PluggableContainer ¶
type PluggableContainer struct { *module.Pluggable Resolver Retriever *retriever // contains filtered or unexported fields }
func New ¶
func New(serviceFactory *resource.ServiceFactory, reCfg Config) (*PluggableContainer, error)
func (*PluggableContainer) Disable ¶
func (r *PluggableContainer) Disable() error
func (*PluggableContainer) Enable ¶
func (r *PluggableContainer) Enable() error
type Resolver ¶
type Resolver interface { ClusterAssetGroupsQuery(ctx context.Context, viewContext *string, groupName *string) ([]gqlschema.ClusterAssetGroup, error) ClusterAssetGroupEventSubscription(ctx context.Context) (<-chan gqlschema.ClusterAssetGroupEvent, error) AssetGroupEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.AssetGroupEvent, error) ClusterAssetGroupAssetsField(ctx context.Context, obj *gqlschema.ClusterAssetGroup, types []string) ([]gqlschema.ClusterAsset, error) AssetGroupAssetsField(ctx context.Context, obj *gqlschema.AssetGroup, types []string) ([]gqlschema.Asset, error) ClusterAssetEventSubscription(ctx context.Context) (<-chan gqlschema.ClusterAssetEvent, error) AssetEventSubscription(ctx context.Context, namespace string) (<-chan gqlschema.AssetEvent, error) ClusterAssetFilesField(ctx context.Context, obj *gqlschema.ClusterAsset, filterExtensions []string) ([]gqlschema.File, error) AssetFilesField(ctx context.Context, obj *gqlschema.Asset, filterExtensions []string) ([]gqlschema.File, error) }
Source Files ¶
- asset_converter.go
- asset_resolver.go
- asset_service.go
- assetgroup_converter.go
- assetgroup_resolver.go
- assetgroup_service.go
- clusterasset_converter.go
- clusterasset_resolver.go
- clusterasset_service.go
- clusterassetgroup_converter.go
- clusterassetgroup_resolver.go
- clusterassetgroup_service.go
- file_converter.go
- file_service.go
- rafter.go
- retriever.go
- specification_service.go
Click to show internal directories.
Click to hide internal directories.