Documentation
¶
Index ¶
- Constants
- Variables
- func NewBaseNode(id string) (*baseNode, v1.Status)
- func ReplaceImplicitRef(v reflect.Value, resourceIndex map[string]*apiv1.Resource, ...) ([]string, reflect.Value, v1.Status)
- func ReplaceRef(v reflect.Value, resourceIndex map[string]*apiv1.Resource, ...) ([]string, reflect.Value, v1.Status)
- func ReplaceSecretRef(v reflect.Value) ([]string, reflect.Value, v1.Status)
- type ExecutableNode
- type ResourceNode
- type RootNode
Constants ¶
View Source
const (
ImplicitRefPrefix = "$kusion_path."
)
Variables ¶
Functions ¶
func NewBaseNode ¶
func ReplaceImplicitRef ¶
func ReplaceRef ¶
Types ¶
type ExecutableNode ¶
type ResourceNode ¶
type ResourceNode struct { Action models.ActionType // contains filtered or unexported fields }
func NewResourceNode ¶
func NewResourceNode(key string, state *apiv1.Resource, action models.ActionType) (*ResourceNode, v1.Status)
func (*ResourceNode) Execute ¶
func (rn *ResourceNode) Execute(operation *models.Operation) (s v1.Status)
func (*ResourceNode) PreExecute ¶
func (rn *ResourceNode) PreExecute(o *models.Operation) v1.Status
func (*ResourceNode) State ¶
func (rn *ResourceNode) State() *apiv1.Resource
Click to show internal directories.
Click to hide internal directories.