Documentation ¶
Index ¶
- func PostToSlack(slackUrl, slackChannel, msg string) error
- type CertRequest
- func (req *CertRequest) BuildWebRequest(signedCert []byte) url.Values
- func (req *CertRequest) EncodeAsCertificate() (*ssh.Certificate, error)
- func (req *CertRequest) PostToWeb(requestParameters url.Values) (string, bool, error)
- func (req *CertRequest) SetConfig(config ssh_ca_util.RequesterConfig) error
- func (req *CertRequest) SetEnvironment(environment string) error
- func (req *CertRequest) SetPrincipalsFromString(principalsStr string) error
- func (req *CertRequest) SetPublicKey(pubKey ssh.PublicKey, keyID string) error
- func (req *CertRequest) SetReason(reason string) error
- func (req *CertRequest) SetValidAfter(validAfter time.Duration) error
- func (req *CertRequest) SetValidBefore(validBefore time.Duration) error
- func (req *CertRequest) Validate() error
- type SigningRequest
- type SlackWebhookInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostToSlack ¶
Types ¶
type CertRequest ¶
type CertRequest struct {
// contains filtered or unexported fields
}
func MakeCertRequest ¶
func MakeCertRequest() CertRequest
func (*CertRequest) BuildWebRequest ¶
func (req *CertRequest) BuildWebRequest(signedCert []byte) url.Values
func (*CertRequest) EncodeAsCertificate ¶
func (req *CertRequest) EncodeAsCertificate() (*ssh.Certificate, error)
func (*CertRequest) SetConfig ¶
func (req *CertRequest) SetConfig(config ssh_ca_util.RequesterConfig) error
func (*CertRequest) SetEnvironment ¶
func (req *CertRequest) SetEnvironment(environment string) error
func (*CertRequest) SetPrincipalsFromString ¶
func (req *CertRequest) SetPrincipalsFromString(principalsStr string) error
func (*CertRequest) SetPublicKey ¶
func (req *CertRequest) SetPublicKey(pubKey ssh.PublicKey, keyID string) error
func (*CertRequest) SetReason ¶
func (req *CertRequest) SetReason(reason string) error
func (*CertRequest) SetValidAfter ¶
func (req *CertRequest) SetValidAfter(validAfter time.Duration) error
func (*CertRequest) SetValidBefore ¶
func (req *CertRequest) SetValidBefore(validBefore time.Duration) error
func (*CertRequest) Validate ¶
func (req *CertRequest) Validate() error
type SigningRequest ¶
type SigningRequest struct {
// contains filtered or unexported fields
}
func MakeSigningRequest ¶
func MakeSigningRequest(cert ssh.Certificate, requestID string, config ssh_ca_util.SignerConfig) SigningRequest
func (*SigningRequest) BuildWebRequest ¶
func (req *SigningRequest) BuildWebRequest() url.Values
func (*SigningRequest) DeleteToWeb ¶
func (req *SigningRequest) DeleteToWeb(requestParameters url.Values) error
type SlackWebhookInput ¶
Click to show internal directories.
Click to hide internal directories.