servicegroups_handler

package
v0.0.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(server *server.Server, grp *huma.Group)

Types

type CreateServiceGroupInput

type CreateServiceGroupInput struct {
	server.BaseAuthInput
	Body *models.CreateServiceGroupInput
}

type CreateServiceGroupResponse

type CreateServiceGroupResponse struct {
	Body struct {
		Data *models.ServiceGroupResponse `json:"data"`
	}
}

type DeleteServiceGroupInput

type DeleteServiceGroupInput struct {
	server.BaseAuthInput
	Body *models.DeleteServiceGroupInput
}

type DeleteServiceGroupResponse

type DeleteServiceGroupResponse struct {
	Body struct {
		Data server.DeletedResponse `json:"data"`
	}
}

type GetServiceGroupInput

type GetServiceGroupInput struct {
	server.BaseAuthInput
	models.GetServiceGroupInput
}

Get a single service group by ID

type GetServiceGroupResponse

type GetServiceGroupResponse struct {
	Body struct {
		Data *models.ServiceGroupResponse `json:"data"`
	}
}

type HandlerGroup

type HandlerGroup struct {
	// contains filtered or unexported fields
}

func (*HandlerGroup) CreateServiceGroup

func (self *HandlerGroup) CreateServiceGroup(ctx context.Context, input *CreateServiceGroupInput) (*CreateServiceGroupResponse, error)

func (*HandlerGroup) DeleteServiceGroup

func (self *HandlerGroup) DeleteServiceGroup(ctx context.Context, input *DeleteServiceGroupInput) (*DeleteServiceGroupResponse, error)

func (*HandlerGroup) GetServiceGroup

func (self *HandlerGroup) GetServiceGroup(ctx context.Context, input *GetServiceGroupInput) (*GetServiceGroupResponse, error)

GetServiceGroup handles GET /service_groups/get

func (*HandlerGroup) ListServiceGroups

func (self *HandlerGroup) ListServiceGroups(ctx context.Context, input *ListServiceGroupInput) (*ListServiceGroupResponse, error)

ListServiceGroups handles GET /service_groups/list

func (*HandlerGroup) UpdateServiceGroup

func (self *HandlerGroup) UpdateServiceGroup(ctx context.Context, input *UpdateServiceGroupInput) (*UpdateServiceGroupResponse, error)

type ListServiceGroupInput

type ListServiceGroupInput struct {
	server.BaseAuthInput
	models.ListServiceGroupsInput
}

type ListServiceGroupResponse

type ListServiceGroupResponse struct {
	Body struct {
		Data []*models.ServiceGroupResponse `json:"data" nullable:"false"`
	}
}

type UpdateServiceGroupInput

type UpdateServiceGroupInput struct {
	server.BaseAuthInput
	Body *models.UpdateServiceGroupInput
}

type UpdateServiceGroupResponse

type UpdateServiceGroupResponse struct {
	Body struct {
		Data *models.ServiceGroupResponse `json:"data"`
	}
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL