Documentation
¶
Index ¶
- type Certificate
- type CertificatesAllRequest
- type CertificatesAllResponse
- type CertificatesCreateRequest
- type CertificatesCreateResponse
- type Client
- func (c *Client) CertificatesAll(req *CertificatesAllRequest) (*CertificatesAllResponse, error)
- func (c *Client) CertificatesAllWithContext(ctx context.Context, req *CertificatesAllRequest) (*CertificatesAllResponse, error)
- func (c *Client) CertificatesCreate(req *CertificatesCreateRequest) (*CertificatesCreateResponse, error)
- func (c *Client) CertificatesCreateWithContext(ctx context.Context, req *CertificatesCreateRequest) (*CertificatesCreateResponse, error)
- func (c *Client) SetTLSConfig(config *tls.Config) *Client
- func (c *Client) SetTimeout(timeout time.Duration) *Client
- func (c *Client) UserGet(req *UserGetRequest) (*UserGetResponse, error)
- func (c *Client) UserGetWithContext(ctx context.Context, req *UserGetRequest) (*UserGetResponse, error)
- type UserGetRequest
- type UserGetResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
type Certificate struct {
CertificateId string `json:"certificateId"`
Name string `json:"name"`
CertificateData string `json:"certificateData"`
PrivateKey string `json:"privateKey"`
CertificatePath string `json:"certificatePath,omitempty"`
OrganizationId string `json:"organizationId,omitempty"`
ServerId string `json:"serverId,omitempty"`
}
type CertificatesAllRequest ¶
type CertificatesAllRequest struct{}
type CertificatesAllResponse ¶
type CertificatesAllResponse = []*Certificate
type CertificatesCreateRequest ¶
type CertificatesCreateRequest struct {
CertificateId *string `json:"certificateId,omitempty"`
Name *string `json:"name,omitempty"`
CertificateData *string `json:"certificateData,omitempty"`
PrivateKey *string `json:"privateKey,omitempty"`
OrganizationId *string `json:"organizationId,omitempty"`
ServerId *string `json:"serverId,omitempty"`
}
type CertificatesCreateResponse ¶
type CertificatesCreateResponse = Certificate
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CertificatesAll ¶
func (c *Client) CertificatesAll(req *CertificatesAllRequest) (*CertificatesAllResponse, error)
func (*Client) CertificatesAllWithContext ¶
func (c *Client) CertificatesAllWithContext(ctx context.Context, req *CertificatesAllRequest) (*CertificatesAllResponse, error)
func (*Client) CertificatesCreate ¶
func (c *Client) CertificatesCreate(req *CertificatesCreateRequest) (*CertificatesCreateResponse, error)
func (*Client) CertificatesCreateWithContext ¶
func (c *Client) CertificatesCreateWithContext(ctx context.Context, req *CertificatesCreateRequest) (*CertificatesCreateResponse, error)
func (*Client) UserGet ¶
func (c *Client) UserGet(req *UserGetRequest) (*UserGetResponse, error)
func (*Client) UserGetWithContext ¶
func (c *Client) UserGetWithContext(ctx context.Context, req *UserGetRequest) (*UserGetResponse, error)
type UserGetRequest ¶
type UserGetRequest struct{}
type UserGetResponse ¶
type UserGetResponse struct {
Id string `json:"id"`
OrganizationId string `json:"organizationId"`
UserId string `json:"userId"`
Role string `json:"role"`
CreatedAt string `json:"createdAt"`
TeamId string `json:"teamId,omitempty"`
IsDefault bool `json:"isDefault"`
User *struct {
Id string `json:"id"`
FirstName string `json:"firstName"`
LastName string `json:"lastName"`
Email string `json:"email"`
EmailVerified bool `json:"emailVerified"`
Role string `json:"role"`
CreatedAt string `json:"createdAt"`
} `json:"user,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.