Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComponentRun ¶ added in v0.38.114
func ComponentRun()
Fetches and updates the selected component for components
func Run ¶
func Run(opts TopologyRunOptions, s v1.SystemTemplate) []*pkg.System
Types ¶
type SystemContext ¶
type SystemContext struct { *context.KubernetesContext SystemAPI v1.SystemTemplate ComponentAPI v1.Component System *pkg.System // Components keep track of the components that properties can apply to, // properties can return a map of component names to properties to facilitate // queries that are more efficient to perform for all components rather than a component at a time Components *pkg.Components // Properties can either be looked up on an individual component, or act as a summary across all components CurrentComponent *pkg.Component }
func NewSystemContext ¶
func NewSystemContext(client *kommons.Client, system v1.SystemTemplate) *SystemContext
func (*SystemContext) Clone ¶
func (c *SystemContext) Clone() *SystemContext
func (*SystemContext) WithComponents ¶
func (c *SystemContext) WithComponents(components *pkg.Components, current *pkg.Component) *SystemContext
type TopologyParams ¶
type TopologyParams struct { Id string TopologyId string ComponentId string Status string Depth int }
nolint
func NewTopologyParams ¶
func NewTopologyParams(values url.Values) TopologyParams
func (TopologyParams) GetComponentWhereClause ¶
func (p TopologyParams) GetComponentWhereClause() string
func (TopologyParams) GetSystemWhereClause ¶
func (p TopologyParams) GetSystemWhereClause() string
func (TopologyParams) String ¶
func (p TopologyParams) String() string
Click to show internal directories.
Click to hide internal directories.