MCPcopy Create free account
hub / github.com/apache/mesos / create

Method create

src/authorizer/local/authorizer.cpp:1691–1701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1689
1690
1691Try<Authorizer*> LocalAuthorizer::create(const ACLs& acls)
1692{
1693 Option<Error> validationError = validate(acls);
1694 if (validationError.isSome()) {
1695 return validationError.get();
1696 }
1697
1698 Authorizer* local = new LocalAuthorizer(acls);
1699
1700 return local;
1701}
1702
1703
1704Try<Authorizer*> LocalAuthorizer::create(const Parameters& parameters)

Callers

nothing calls this directly

Calls 7

validateFunction · 0.50
ErrorFunction · 0.50
createFunction · 0.50
isSomeMethod · 0.45
getMethod · 0.45
isNoneMethod · 0.45
isErrorMethod · 0.45

Tested by

no test coverage detected