luci: Index | Files | Directories

package impl

import ""

Package impl holds code to initialize the server environment.


Package Files


func Main Uses

func Main(init func(srv *server.Server, services *Services) error)

Main initializes and runs the server.

type Services Uses

type Services struct {
    Admin  admin.AdminServer
    Certs  admin.CertificateAuthoritiesServer
    Minter minter.TokenMinterServer

Services carries concrete implementation of all Token Server RPC services.


certcheckerPackage certchecker contains implementation of CertChecker.
certconfigPackage certconfig contains code to work with imported CAs and their CRLs.
machinetokenPackage machinetoken implements generation of LUCI machine tokens.
serviceaccountsv2Package serviceaccountsv2 implements MintServiceAccountToken RPC.
services/admin/adminsrvPackage adminsrv implements Admin API.
services/admin/certauthoritiesPackage certauthorities implements CertificateAuthorities API.
services/minter/tokenminterPackage tokenminter implements TokenMinter API.
utilsPackage utils contains a variety of small utility functions used by other tokenserver packages.
utils/bqPackage bq contains helpers for uploading rows to BigQuery.
utils/identitysetPackage identityset implements a set-like structure for identity.Identity.
utils/policyPackage policy contains implementation of Policy parsing and querying.
utils/revocationPackage revocation contains utilities for implementing token revocation.
utils/shardsPackage shards provides a low level support for implementing sharded set of []byte blobs.
utils/tokensigningPackage tokensigning implements utilities for RSA-signing of proto messages.

Package impl imports 14 packages (graph) and is imported by 1 packages. Updated 2021-01-25. Refresh now. Tools for package owners.