Documentation ¶
Index ¶
- type MemoryGraphProvider
- func (i *MemoryGraphProvider) GetChain(ctx context.Context, request graph.GetRequest) (graph.GetSetResponse, error)
- func (i *MemoryGraphProvider) GetChains(ctx context.Context, request graph.ListRequest) (graph.GetSetsResponse, error)
- func (i *MemoryGraphProvider) GetGraph(ctx context.Context, request graph.GetRequest) (graph.GetGraphResponse, error)
- func (i *MemoryGraphProvider) GetGraphs(ctx context.Context, request graph.ListRequest) (graph.GetGraphsResponse, error)
- func (i *MemoryGraphProvider) GetSet(ctx context.Context, request graph.GetRequest) (graph.GetSetResponse, error)
- func (i *MemoryGraphProvider) GetSets(ctx context.Context, request graph.ListRequest) (graph.GetSetsResponse, error)
- func (i *MemoryGraphProvider) GetTree(ctx context.Context, request graph.GetRequest) (graph.GetSetResponse, error)
- func (i *MemoryGraphProvider) GetTrees(ctx context.Context, request graph.ListRequest) (graph.GetSetsResponse, error)
- func (g *MemoryGraphProvider) Init(config providers.IProviderConfig) error
- func (i *MemoryGraphProvider) InitWithMap(properties map[string]string) error
- func (i *MemoryGraphProvider) IsPure() bool
- func (s *MemoryGraphProvider) SetContext(ctx *contexts.ManagerContext)
- func (i *MemoryGraphProvider) SetData(data []v1alpha2.INode) error
- type MemoryGraphProviderConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryGraphProvider ¶
type MemoryGraphProvider struct { Config MemoryGraphProviderConfig Context *contexts.ManagerContext Data []v1alpha2.INode }
func (*MemoryGraphProvider) GetChain ¶
func (i *MemoryGraphProvider) GetChain(ctx context.Context, request graph.GetRequest) (graph.GetSetResponse, error)
func (*MemoryGraphProvider) GetChains ¶
func (i *MemoryGraphProvider) GetChains(ctx context.Context, request graph.ListRequest) (graph.GetSetsResponse, error)
func (*MemoryGraphProvider) GetGraph ¶
func (i *MemoryGraphProvider) GetGraph(ctx context.Context, request graph.GetRequest) (graph.GetGraphResponse, error)
func (*MemoryGraphProvider) GetGraphs ¶
func (i *MemoryGraphProvider) GetGraphs(ctx context.Context, request graph.ListRequest) (graph.GetGraphsResponse, error)
func (*MemoryGraphProvider) GetSet ¶
func (i *MemoryGraphProvider) GetSet(ctx context.Context, request graph.GetRequest) (graph.GetSetResponse, error)
func (*MemoryGraphProvider) GetSets ¶
func (i *MemoryGraphProvider) GetSets(ctx context.Context, request graph.ListRequest) (graph.GetSetsResponse, error)
func (*MemoryGraphProvider) GetTree ¶
func (i *MemoryGraphProvider) GetTree(ctx context.Context, request graph.GetRequest) (graph.GetSetResponse, error)
func (*MemoryGraphProvider) GetTrees ¶
func (i *MemoryGraphProvider) GetTrees(ctx context.Context, request graph.ListRequest) (graph.GetSetsResponse, error)
func (*MemoryGraphProvider) Init ¶
func (g *MemoryGraphProvider) Init(config providers.IProviderConfig) error
func (*MemoryGraphProvider) InitWithMap ¶
func (i *MemoryGraphProvider) InitWithMap(properties map[string]string) error
func (*MemoryGraphProvider) IsPure ¶
func (i *MemoryGraphProvider) IsPure() bool
func (*MemoryGraphProvider) SetContext ¶
func (s *MemoryGraphProvider) SetContext(ctx *contexts.ManagerContext)
type MemoryGraphProviderConfig ¶
type MemoryGraphProviderConfig struct { }
func MemoryhGraphProviderConfigFromMap ¶
func MemoryhGraphProviderConfigFromMap(properties map[string]string) (MemoryGraphProviderConfig, error)
Click to show internal directories.
Click to hide internal directories.