Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtmosApiResponse ¶
type ExchangeGitHubOIDCTokenRequest ¶
type ExchangeGitHubOIDCTokenRequest struct {
Token string `json:"token"`
WorkspaceID string `json:"workspaceId"`
}
ExchangeGitHubOIDCTokenRequest represents the request to exchange OIDC token for Atmos token.
type ExchangeGitHubOIDCTokenResponse ¶
type ExchangeGitHubOIDCTokenResponse struct {
AtmosApiResponse
Data struct {
Token string `json:"token"`
} `json:"data"`
}
ExchangeGitHubOIDCTokenResponse represents the response from Atmos Pro's OIDC auth endpoint.
type GetGitHubOIDCResponse ¶
type GetGitHubOIDCResponse struct {
Value string `json:"value"`
}
GetGitHubOIDCResponse represents the response from GitHub's OIDC token endpoint when requesting an OIDC token.
type LockStackRequest ¶
type LockStackResponse ¶
type LockStackResponse struct {
AtmosApiResponse
Data struct {
ID string `json:"id,omitempty"`
WorkspaceId string `json:"workspaceId,omitempty"`
Key string `json:"key,omitempty"`
LockMessage string `json:"lockMessage,omitempty"`
ExpiresAt time.Time `json:"expiresAt,omitempty"`
CreatedAt time.Time `json:"createdAt,omitempty"`
UpdatedAt time.Time `json:"updatedAt,omitempty"`
DeletedAt time.Time `json:"deletedAt,omitempty"`
} `json:"data"`
}
type UnlockStackRequest ¶
type UnlockStackRequest struct {
Key string `json:"key"`
}
type UnlockStackResponse ¶
type UnlockStackResponse struct {
AtmosApiResponse
Data struct{} `json:"data"`
}
Click to show internal directories.
Click to hide internal directories.