Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,10 @@ void processArguments() throws Exception {}
*/
@Getter
abstract class NamespaceCommand extends BaseCommand {
@Option(names = "--tenant", description = "The tenant of a Pulsar Function",
defaultValue = PUBLIC_TENANT)
@Option(names = "--tenant", description = "The tenant of a Pulsar Function")
protected String tenant;

@Option(names = "--namespace", description = "The namespace of a Pulsar Function",
defaultValue = DEFAULT_NAMESPACE)
@Option(names = "--namespace", description = "The namespace of a Pulsar Function")
protected String namespace;
}

Expand All @@ -117,12 +115,10 @@ abstract class FunctionCommand extends BaseCommand {
@Option(names = "--fqfn", description = "The Fully Qualified Function Name (FQFN) for the function")
protected String fqfn;

@Option(names = "--tenant", description = "The tenant of a Pulsar Function",
defaultValue = PUBLIC_TENANT)
@Option(names = "--tenant", description = "The tenant of a Pulsar Function")
protected String tenant;

@Option(names = "--namespace", description = "The namespace of a Pulsar Function",
defaultValue = DEFAULT_NAMESPACE)
@Option(names = "--namespace", description = "The namespace of a Pulsar Function")
protected String namespace;

@Option(names = "--name", description = "The name of a Pulsar Function")
Expand Down Expand Up @@ -170,11 +166,9 @@ abstract class FunctionDetailsCommand extends BaseCommand {
@Option(names = "--fqfn", description = "The Fully Qualified Function Name (FQFN) for the function"
+ " #Java, Python")
protected String fqfn;
@Option(names = "--tenant", description = "The tenant of a Pulsar Function #Java, Python, Go",
defaultValue = PUBLIC_TENANT)
@Option(names = "--tenant", description = "The tenant of a Pulsar Function #Java, Python, Go")
protected String tenant;
@Option(names = "--namespace", description = "The namespace of a Pulsar Function #Java, Python, Go",
defaultValue = DEFAULT_NAMESPACE)
@Option(names = "--namespace", description = "The namespace of a Pulsar Function #Java, Python, Go")
protected String namespace;
@Option(names = "--name", description = "The name of a Pulsar Function #Java, Python, Go")
protected String functionName;
Expand Down