server

package
v0.0.0-...-463fbbd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 21, 2018 License: MIT Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	ConfigPath          string
	Depsim              string
	PubClient           pubsub.PublishSubscriber
	DB                  *bolt.DB
	PushCert            pushServiceCert
	ServerPublicURL     string
	SCEPChallenge       string
	APNSPrivateKeyPath  string
	APNSCertificatePath string
	APNSPrivateKeyPass  string
	TLSCertPath         string
	SCEPDepot           *boltdepot.Depot
	ProfileDB           profile.Store
	ConfigDB            config.Store
	RemoveDB            block.Store
	CommandWebhookURL   string
	DEPClient           dep.Client

	// TODO: refactor enroll service and remove the need to reference
	// this on-disk cert. but it might be useful to keep the PEM
	// around for anyone who will need to export the CA.
	SCEPCACertPath string

	PushService     *push.Service // bufford push
	APNSPushService apns.Service
	CommandService  command.Service
	MDMService      mdm.Service
	EnrollService   enroll.Service
	SCEPService     scep.Service
	ConfigService   config.Service

	WebhooksHTTPClient *http.Client
}

func (*Server) CreateDEPSyncer

func (c *Server) CreateDEPSyncer(logger log.Logger) (depsync.Syncer, error)

func (*Server) Setup

func (c *Server) Setup(logger log.Logger) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL