Documentation

Overview

    Package impl holds code to initialize the server environment.

    Index

    Constants

    This section is empty.

    Variables

    This section is empty.

    Functions

    func Main

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

      Main initializes and runs the server.

      Types

      type Services

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

        Services carries concrete implementation of all Token Server RPC services.

        Source Files

        Directories

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