You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gavin (JIRA)" <ji...@apache.org> on 2019/04/29 09:27:22 UTC

[jira] [Issue Comment Deleted] (MESOS-7467) Update Module interface to accept master/agent flags and return a managed pointer.

     [ https://issues.apache.org/jira/browse/MESOS-7467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gavin updated MESOS-7467:
-------------------------
    Comment: was deleted

(was: www.rtat.net)

> Update Module interface to accept master/agent flags and return a managed pointer.
> ----------------------------------------------------------------------------------
>
>                 Key: MESOS-7467
>                 URL: https://issues.apache.org/jira/browse/MESOS-7467
>             Project: Mesos
>          Issue Type: Task
>          Components: modules
>            Reporter: Kapil Arya
>            Assignee: Kapil Arya
>            Priority: Major
>              Labels: mesosphere
>
> Currently, the module create signature looks like
> {code}
> T* create(const Parameters&);
> {code}
> The proposal is to change the signature to look like:
> {code}
> struct ModuleInfo {
>   Option<Parameters> parameters;
>   Option<master::Flags> masterFlags;
>   Option<slave::Flags> slaveFlags;
> };
> shared_ptr<T> create(const ModuleInfo&);
> {code}
> As a side effect, it would require us to expose master/agent flags in public headers.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)