trclosure

package
v1.33.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(ctx context.Context, cl cloud.Cloud, gr *rgraph.Builder, opts ...Option) error

Do traverses and fetches the graph, adding all the dependencies into the graph, pulling the resource from Cloud as needed.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

Config for the algorithm.

type Option

type Option func(c *Config)

Option for TransitiveClosure.

func OnGetFunc

func OnGetFunc(f func(n rnode.Builder) error) Option

OnGetFunc is called on the Node after getting the resource from Cloud. This can modify properties of the Node, for example, set the appropriate Ownership state.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL