Skip to content

Is there a way to provide TLAs when evaluating the file? #26

@pddg

Description

@pddg

I want to evaluate the jsonnet file that requires some TLAs like this.

function(name)
  {
    value: std.format("Hello %s", name)、
  }

However, there seems to be no way to provide these information when evaluating the file.
And the evaluation fails due to RUNTIME ERROR: Missing argument: name Top-level function call.

Currently I need to put a dummy file that calls this function to evaluate this. Also, due to this specification, all jsonnet and libsonnet files containing such function declarations are marked with a warning.

Is there some mechanism to provide the TLAs at the time of evaluation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions