Searched refs:server (Results 1 - 23 of 23) sorted by relevance

/pkg/src/modules/server/
H A Dface.py27 server"""
39 import pkg.server.api as api namespace
40 import pkg.server.api_errors as sae namespace
41 import pkg.server.feed namespace
57 pkg.server.feed.init(depot)
63 "Operation not supported in current server mode.")
67 return pkg.server.feed.handle(depot, request, response, pub)
138 "server api: {error}".format(path=path,
H A Dapi.py40 import pkg.server.api_errors as api_errors namespace
41 import pkg.server.repository as srepo namespace
42 import pkg.server.query_parser as qp namespace
52 server to clients. A base API object is required when creating
54 the server to provide a set of private object references that are
59 # A protected reference to a pkg.server.depot object.
83 """This class presents an interface to server catalog objects that
99 over the contents of the server's catalog.
451 one provided by the pkg.server.query_parser.Query class.
615 during the current server sessio
[all...]
H A Ddepot.py81 import pkg.server.face as face namespace
82 import pkg.server.repository as srepo namespace
85 from pkg.server.query_parser import Query, ParseError, BooleanQueryException
100 pkg.depotd server provides to HTTP-based clients."""
412 object will be handled by the "externally facing" server
424 "Operation not supported in current server mode.")
483 versions = "pkg-server {0}\n".format(pkg.VERSION)
550 # talking to a valid search server.
810 # that to mean that the server doesn't support this
850 # that to mean that the server does
[all...]
H A Drepository.py64 import pkg.server.query_parser as sqp namespace
65 import pkg.server.transaction as trans namespace
851 # if this represents a change in status of the server.
929 # If a writable root was specified, but the server is
1928 " svc:/application/pkg/server\n"
/pkg/src/tests/api/
H A Dt_async_rpc.py119 server = pkg.pipeutils.PipedRPCServer(server_pipefd,
121 server.register_introspection_functions()
122 server.register_function(self.__nop, "nop")
123 server.register_function(self.__add, "add")
124 server.register_function(self.__raise_ex, "raise_ex")
125 server.register_function(self.__sleep, "sleep")
126 server.serve_forever()
129 """Setup an rpc server."""
131 # create a pipe to communicate between the client and server
134 # check if the server shoul
[all...]
/pkg/src/util/log-rotate/
H A Dturn-logs.sh26 # This relatively basic script looks for pkg(7) depot server instances
55 LOGS=$(svcprop -c -p pkg/log_access -p pkg/log_errors pkg/server |
/pkg/src/util/apache2/depot/
H A Ddepot_index.py44 import pkg.server.api namespace
45 import pkg.server.repository as sr namespace
46 import pkg.server.depot as sd namespace
47 import pkg.server.face as face namespace
64 # a lock used during server startup to ensure we don't try to index the same
129 "the svc:/application/pkg/server instance does not have " \
207 request to the server."""
220 """A data object that pkg.server.face can use for configuration.
221 This object should look like a pkg.server.depot.DepotHTTP to
222 pkg.server
[all...]
/pkg/src/tests/cli/
H A Dt_util_merge.py36 import pkg.server.repository as repo namespace
H A Dt_pkgmerge.py36 import pkg.server.repository as repo namespace
H A Dt_pkg_depotd.py51 import pkg.server.repository as sr namespace
142 depot server after each one is sent, to ensure that
366 """Verify that starting a depot server in readonly mode with
455 """Verify that the depot server accepts a link to a
462 # the depot server allows it.
819 daemonizer make the daemonized depot server indenpendent from
1229 # Issue a bad request to trigger the server logging
H A Dt_pkgrepo.py32 from pkg.server.query_parser import Query
41 import pkg.server.repository as sr namespace
3925 # Add the trust anchor needed to verify the server's identity.
H A Dt_pkgrecv.py44 import pkg.server.repository as repo namespace
1594 # Add the trust anchor needed to verify the server's identity.
/pkg/src/modules/
H A Dpipeutils.py57 A RPC server can be implemented as follows:
59 server = PipedRPCServer(server_pipe_fd)
60 server.register_introspection_functions()
61 server.register_function(lambda x,y: x+y, 'add')
62 server.serve_forever()
448 """Create a new PipedHTTP connection to the server. This
450 to the server, and then wrapping the local end of the pipe
472 """Send a request to the server."""
489 self.__pipe_file = PipeFile(fd, "server-transport")
502 """Trigger a shutdown of the RPC server
[all...]
H A Ddepotcontroller.py40 import pkg.server.repository as sr namespace
/pkg/src/
H A Ddepot.py29 # XXX The prototype pkg.depotd combines both the version management server that
30 # answers to pkgsend(1) sessions and the HTTP file server that answers to the
34 # to a special purpose HTTP/HTTPS server explicitly for the version management
37 # only a basic HTTP/HTTPS server in place.
40 # client, we should probably provide a query API to do same on the server, for
46 # server should abort requests with REQUEST_ENTITY_TOO_LARGE when the request
61 # The default server socket timeout in seconds. We want this to be longer than
109 import pkg.server.depot as ds namespace
110 import pkg.server.repository as sr namespace
166 -d inst_root The file system path at which the server shoul
[all...]
H A Ddepot-config.py53 import pkg.server.repository as sr namespace
84 PKG_SERVER_SVC = "svc:/application/pkg/server"
88 pkg-server {0}
207 sroot the prefix into the server namespace,
210 (i.e. a partial server configuration)
215 The URI namespace we create on the web server looks like this:
220 'sroot' is only used when the Apache server is serving other content
227 'ssl_cert_file' the location of the server certificate file.
229 'ssl_key_file' the location of the server key file.
232 the server certificat
[all...]
H A Dpull.py54 import pkg.server.repository as sr namespace
1104 # Prefetch requires an intent which it sends to the server. Here
1632 # server, the fmri can't be
H A Dpkgrepo.py82 import pkg.server.repository as sr namespace
/pkg/src/util/publish/
H A Dpkgsurf.py92 import pkg.server.repository as sr namespace
419 # Prefetch requires an intent which it sends to the server. Here
/pkg/src/modules/publish/
H A Dtransaction.py50 import pkg.server.repository as sr namespace
286 # If the server supports it, we'll upload the manifest as-is
551 otherwise the server will discard the current transaction and
/pkg/src/modules/client/transport/
H A Drepo.py49 import pkg.server.repository as svr_repo namespace
50 import pkg.server.query_parser as sqp namespace
283 # XXX this is specific to the depot server's current
322 module doing entitlement checks on the server side. Let the user
349 Repository access rights can currently not be verified due to server
759 Returns a fileobject. If server returns 401 (Unauthorized)
1129 # assume the server doesn't have the file.
1135 # If caller requests hashes and server supports providing them
1365 # talking to a valid search server.
1699 buf.write("pkg-server {
[all...]
H A Dtransport.py64 import pkg.server.repository as sr namespace
2031 # try to retrieve it from the server.
2219 if key == "pkg-server":
2441 points to a valid packaging server."""
2446 # Failure when contacting server. Report
2547 not contain pkg-server, or versions 0 then we're not
2550 if "pkg-server" in versdict:
3298 # If server doesn't have file, assume it will be
/pkg/src/tests/
H A Dpkg5unittest.py84 import pkg.server.repository as sr namespace
2953 not have a catalog or search indices, so a depot server
3157 repository. Returns a pkg.server.repository.Repository
3162 import pkg.server.repository as sr namespace
3175 pkg.server.repository.Repository object for a given
3180 import pkg.server.repository as sr namespace
3229 # need the depot server (yet).
3850 # Create a <Location> tag for each publisher. The server
3859 "server-path":dc_pub,
3860 "server
[all...]

Completed in 562 milliseconds