Documentation
¶
Index ¶
- type AtmosApiResponse
- type DeploymentStatusUploadRequest
- type DeploymentsUploadRequest
- type ExchangeGitHubOIDCTokenRequest
- type ExchangeGitHubOIDCTokenResponse
- type GetGitHubOIDCResponse
- type LockStackRequest
- type LockStackResponse
- type UnlockStackRequest
- type UnlockStackResponse
- type UploadAffectedStacksRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AtmosApiResponse ¶
type DeploymentStatusUploadRequest ¶
type DeploymentStatusUploadRequest struct {
AtmosProRunID string `json:"atmos_pro_run_id"`
GitSHA string `json:"git_sha"`
RepoURL string `json:"repo_url"`
RepoName string `json:"repo_name"`
RepoOwner string `json:"repo_owner"`
RepoHost string `json:"repo_host"`
Component string `json:"component"`
Stack string `json:"stack"`
HasDrift bool `json:"has_drift"`
}
DeploymentStatusUploadRequest represents the data structure for uploading a single deployment's status.
type DeploymentsUploadRequest ¶
type DeploymentsUploadRequest struct {
RepoURL string `json:"repo_url"`
RepoName string `json:"repo_name"`
RepoOwner string `json:"repo_owner"`
RepoHost string `json:"repo_host"`
Deployments []schema.Deployment `json:"stacks"`
}
DeploymentsUploadRequest represents the data structure for uploading components for drift detection. We call this from "atmos list deployments".
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.