Documentation
¶
Overview ¶
Package api provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.12.4 DO NOT EDIT.
Index ¶
Constants ¶
View Source
const ( Pat_basicScopes = "pat_basic.Scopes" Pat_bearerScopes = "pat_bearer.Scopes" )
Variables ¶
View Source
var (
ErrSignedOut = errors.New("sign in required")
)
Functions ¶
Types ¶
type Cert ¶
type Cert struct { // Algorithm Algorithm used to sign certificate Algorithm *interface{} `json:"algorithm,omitempty"` // CreatedAt UTC time when certificate was created. CreatedAt *time.Time `json:"created_at,omitempty"` // Name name of certificate Name *string `json:"name,omitempty"` // Revision Current revision of certificate. Revision *int64 `json:"revision,omitempty"` // RevokedAt UTC time after which certificate was revoked. RevokedAt *time.Time `json:"revoked_at"` // Serial serial id for certificate. Serial *string `json:"serial,omitempty"` // Status current status of certificate. Status *CertStatus `json:"status,omitempty"` // TextualEncoding base64 textual encoding of certificate based on RFC7468. TextualEncoding *string `json:"textual_encoding,omitempty"` // ValidAfter UTC time after which certificate will be valid. ValidAfter *time.Time `json:"valid_after,omitempty"` // ValidBefore UTC time after which certificate will no longer be valid. ValidBefore *time.Time `json:"valid_before,omitempty"` }
Cert defines model for cert.
type CertStatus ¶
type CertStatus string
CertStatus current status of certificate.
const ( Expired CertStatus = "expired" Online CertStatus = "online" Revoked CertStatus = "revoked" )
Defines values for CertStatus.
type Error ¶
type Error struct { // Detail A human-readable description of this occurrence of the problem. Detail *string `json:"detail,omitempty"` // Status HTTP status code of this occurrence of the problem. Status *int32 `json:"status,omitempty"` // Title A human-readable description of this problem type. Title *string `json:"title,omitempty"` // Type URI identifying problem. Type *string `json:"type,omitempty"` }
Error defines model for error.
type GetCertsParams ¶
type GetCertsParams struct { // CaParam ca for operation CaParam *QueryCaParam `form:"ca_param,omitempty" json:"ca_param,omitempty"` }
GetCertsParams defines parameters for GetCerts.
type PathRealmParam ¶
type PathRealmParam = string
PathRealmParam defines model for path_realm_param.
Click to show internal directories.
Click to hide internal directories.