Documentation ¶
Overview ¶
Package core handles the main operations of the Red October server.
Copyright (c) 2013 CloudFlare, Inc.
Index ¶
- func Create(jsonIn []byte) ([]byte, error)
- func CreateUser(jsonIn []byte) ([]byte, error)
- func Decrypt(jsonIn []byte) ([]byte, error)
- func Delegate(jsonIn []byte) ([]byte, error)
- func Encrypt(jsonIn []byte) ([]byte, error)
- func Export(jsonIn []byte) ([]byte, error)
- func Init(path string, config *config.Config) error
- func Modify(jsonIn []byte) ([]byte, error)
- func Order(jsonIn []byte) (out []byte, err error)
- func OrderCancel(jsonIn []byte) (out []byte, err error)
- func OrderInfo(jsonIn []byte) (out []byte, err error)
- func OrdersOutstanding(jsonIn []byte) (out []byte, err error)
- func Owners(jsonIn []byte) ([]byte, error)
- func Password(jsonIn []byte) ([]byte, error)
- func Purge(jsonIn []byte) ([]byte, error)
- func ReEncrypt(jsonIn []byte) ([]byte, error)
- func ResetPersisted(jsonIn []byte) (out []byte, err error)
- func Restore(jsonIn []byte) (out []byte, err error)
- func SSHSignWith(jsonIn []byte) ([]byte, error)
- func Status(jsonIn []byte) (out []byte, err error)
- func Summary(jsonIn []byte) ([]byte, error)
- type ActiveUser
- type CreateRequest
- type CreateUserRequest
- type DecryptRequest
- type DecryptWithDelegates
- type DelegateRequest
- type EncryptRequest
- type ExportRequest
- type ModifyRequest
- type OrderCancelRequest
- type OrderInfoRequest
- type OrderOutstandingRequest
- type OrderRequest
- type OwnersData
- type OwnersRequest
- type PasswordRequest
- type PurgeRequest
- type ReEncryptRequest
- type ResponseData
- type SSHSignWithRequest
- type SSHSignatureWithDelegates
- type StatusData
- type StatusRequest
- type SummaryData
- type SummaryRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateUser ¶
CreateUser processes a create-user request.
func OrderCancel ¶
OrderCancel will cancel an order given an order num
func OrdersOutstanding ¶
OrdersOutstanding will return a list of currently outstanding orders.
func ResetPersisted ¶
ResetPersisted clears the persisted user data from the server. This request requires an admin.
func SSHSignWith ¶
SSHSignWith signs a message with an SSH key
Types ¶
type ActiveUser ¶
type CreateRequest ¶
type CreateUserRequest ¶
type DecryptRequest ¶
type DecryptWithDelegates ¶
type DelegateRequest ¶
type EncryptRequest ¶
type ExportRequest ¶
type ModifyRequest ¶
type OrderCancelRequest ¶
type OrderInfoRequest ¶
type OrderOutstandingRequest ¶
type OrderRequest ¶
type OwnersData ¶
type OwnersRequest ¶
type OwnersRequest struct {
Data []byte
}
type PasswordRequest ¶
type PurgeRequest ¶
type ReEncryptRequest ¶
type ReEncryptRequest EncryptRequest
type ResponseData ¶
type SSHSignWithRequest ¶
type StatusData ¶
type StatusData struct {
Status string
}
type StatusRequest ¶
type SummaryData ¶
type SummaryRequest ¶
Click to show internal directories.
Click to hide internal directories.