Documentation
¶
Index ¶
- func RegisterHandlers(server *server.Server, grp *huma.Group)
- type CreateEnvironmentInput
- type CreateEnvironmentResponse
- type DeleteEnvironmentInput
- type DeleteEnvironmentResponse
- type GetEnvironmentInput
- type GetEnvironmentOutput
- type HandlerGroup
- func (self *HandlerGroup) CreateEnvironment(ctx context.Context, input *CreateEnvironmentInput) (*CreateEnvironmentResponse, error)
- func (self *HandlerGroup) DeleteEnvironment(ctx context.Context, input *DeleteEnvironmentInput) (*DeleteEnvironmentResponse, error)
- func (self *HandlerGroup) GetEnvironment(ctx context.Context, input *GetEnvironmentInput) (*GetEnvironmentOutput, error)
- func (self *HandlerGroup) ListEnvironments(ctx context.Context, input *ListEnvironmentInput) (*ListEnvironmentsOutput, error)
- func (self *HandlerGroup) UpdateEnvironment(ctx context.Context, input *UpdateEnvironmentInput) (*UpdateEnvironmentResponse, error)
- type ListEnvironmentInput
- type ListEnvironmentsOutput
- type UpdateEnvironmentInput
- type UpdateEnvironmentResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHandlers ¶
Types ¶
type CreateEnvironmentInput ¶
type CreateEnvironmentInput struct { server.BaseAuthInput Body *environment_service.CreateEnvironmentInput }
type CreateEnvironmentResponse ¶
type CreateEnvironmentResponse struct { Body struct { Data *models.EnvironmentResponse `json:"data"` } }
type DeleteEnvironmentInput ¶
type DeleteEnvironmentResponse ¶
type DeleteEnvironmentResponse struct { Body struct { Data server.DeletedResponse `json:"data"` } }
type GetEnvironmentInput ¶
type GetEnvironmentOutput ¶
type GetEnvironmentOutput struct { Body struct { Data *models.EnvironmentResponse `json:"data" nullable:"false"` } }
type HandlerGroup ¶
type HandlerGroup struct {
// contains filtered or unexported fields
}
func (*HandlerGroup) CreateEnvironment ¶
func (self *HandlerGroup) CreateEnvironment(ctx context.Context, input *CreateEnvironmentInput) (*CreateEnvironmentResponse, error)
func (*HandlerGroup) DeleteEnvironment ¶
func (self *HandlerGroup) DeleteEnvironment(ctx context.Context, input *DeleteEnvironmentInput) (*DeleteEnvironmentResponse, error)
func (*HandlerGroup) GetEnvironment ¶
func (self *HandlerGroup) GetEnvironment(ctx context.Context, input *GetEnvironmentInput) (*GetEnvironmentOutput, error)
func (*HandlerGroup) ListEnvironments ¶
func (self *HandlerGroup) ListEnvironments(ctx context.Context, input *ListEnvironmentInput) (*ListEnvironmentsOutput, error)
func (*HandlerGroup) UpdateEnvironment ¶
func (self *HandlerGroup) UpdateEnvironment(ctx context.Context, input *UpdateEnvironmentInput) (*UpdateEnvironmentResponse, error)
type ListEnvironmentInput ¶
type ListEnvironmentInput struct { server.BaseAuthInput TeamID uuid.UUID `query:"team_id" required:"true"` ProjectID uuid.UUID `query:"project_id" required:"true"` }
Get all in a project
type ListEnvironmentsOutput ¶
type ListEnvironmentsOutput struct { Body struct { Data []*models.EnvironmentResponse `json:"data" nullable:"false"` } }
type UpdateEnvironmentInput ¶
type UpdateEnvironmentInput struct { server.BaseAuthInput Body *environment_service.UpdateEnvironmentInput }
type UpdateEnvironmentResponse ¶
type UpdateEnvironmentResponse struct { Body struct { Data *models.EnvironmentResponse `json:"data"` } }
Click to show internal directories.
Click to hide internal directories.