Documentation
¶
Index ¶
- func RegisterHandlers(server *server.Server, grp *huma.Group)
- type CreateBuildInput
- type CreateBuildOutput
- type GetDeploymentInput
- type GetDeploymentResponse
- type HandlerGroup
- func (self *HandlerGroup) CreateDeployment(ctx context.Context, input *CreateBuildInput) (*CreateBuildOutput, error)
- func (self *HandlerGroup) CreateNewRedeployment(ctx context.Context, input *RedeployInput) (*RedeployOutput, error)
- func (self *HandlerGroup) GetDeploymentByID(ctx context.Context, input *GetDeploymentInput) (*GetDeploymentResponse, error)
- func (self *HandlerGroup) ListDeployments(ctx context.Context, input *ListDeploymentsInput) (*ListDeploymentsResponse, error)
- type ListDeploymentResponseData
- type ListDeploymentsInput
- type ListDeploymentsResponse
- type RedeployInput
- type RedeployOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateBuildInput ¶
type CreateBuildInput struct {
server.BaseAuthInput
Body struct {
models.CreateDeploymentInput
}
}
type CreateBuildOutput ¶
type CreateBuildOutput struct {
Body struct {
Data *models.DeploymentResponse `json:"data"`
}
}
type GetDeploymentInput ¶
type GetDeploymentInput struct {
server.BaseAuthInput
models.GetDeploymentByIDInput
}
Get by ID
type GetDeploymentResponse ¶
type GetDeploymentResponse struct {
Body struct {
Data *models.DeploymentResponse `json:"data"`
}
}
type HandlerGroup ¶
type HandlerGroup struct {
// contains filtered or unexported fields
}
func (*HandlerGroup) CreateDeployment ¶
func (self *HandlerGroup) CreateDeployment(ctx context.Context, input *CreateBuildInput) (*CreateBuildOutput, error)
func (*HandlerGroup) CreateNewRedeployment ¶
func (self *HandlerGroup) CreateNewRedeployment(ctx context.Context, input *RedeployInput) (*RedeployOutput, error)
func (*HandlerGroup) GetDeploymentByID ¶
func (self *HandlerGroup) GetDeploymentByID(ctx context.Context, input *GetDeploymentInput) (*GetDeploymentResponse, error)
func (*HandlerGroup) ListDeployments ¶
func (self *HandlerGroup) ListDeployments(ctx context.Context, input *ListDeploymentsInput) (*ListDeploymentsResponse, error)
type ListDeploymentResponseData ¶
type ListDeploymentResponseData struct {
Deployments []*models.DeploymentResponse `json:"deployments"`
CurrentDeployment *models.DeploymentResponse `json:"current_deployment,omitempty"`
Metadata *models.PaginationResponseMetadata `json:"metadata"`
}
type ListDeploymentsInput ¶
type ListDeploymentsInput struct {
server.BaseAuthInput
models.GetDeploymentsInput
}
type ListDeploymentsResponse ¶
type ListDeploymentsResponse struct {
Body struct {
Data *ListDeploymentResponseData `json:"data"`
}
}
type RedeployInput ¶
type RedeployInput struct {
server.BaseAuthInput
Body struct {
models.RedeployExistingDeploymentInput
}
}
type RedeployOutput ¶
type RedeployOutput struct {
Body struct {
Data *models.DeploymentResponse `json:"data"`
}
}
Click to show internal directories.
Click to hide internal directories.