Documentation ¶
Index ¶
- Constants
- Variables
- func NewBaseNode(id string) (*baseNode, v1.Status)
- func ParseExternalSecretDataRef(dataRefStr string) (*apiv1.ExternalSecretRef, error)
- 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)
- type ExecutableNode
- type ResourceNode
- type RootNode
Constants ¶
View Source
const (
ImplicitRefPrefix = "$kusion_path."
)
View Source
const (
SecretRefPrefix = "ref://"
)
Variables ¶
Functions ¶
func NewBaseNode ¶
func ParseExternalSecretDataRef ¶ added in v0.12.1
func ParseExternalSecretDataRef(dataRefStr string) (*apiv1.ExternalSecretRef, error)
ParseExternalSecretDataRef knows how to parse the remote data ref string, returns the corresponding ExternalSecretRef object.
func ReplaceImplicitRef ¶ added in v0.7.4
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 ¶ added in v0.7.4
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.