provider

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(service *Service) *Handler

func (*Handler) Capabilities

func (h *Handler) Capabilities(c *gin.Context)

Capabilities handles the request to get provider capabilities

func (*Handler) Delete

func (h *Handler) Delete(c *gin.Context)

Delete handles the request to delete a provider

func (*Handler) Descriptors

func (h *Handler) Descriptors(c *gin.Context)

Descriptors handles the request to get provider descriptors

func (*Handler) Detail

func (h *Handler) Detail(c *gin.Context)

Detail handles the request to get provider details

func (*Handler) Entities

func (h *Handler) Entities(c *gin.Context)

Entities handles the request to get provider entities

func (*Handler) Get

func (h *Handler) Get(c *gin.Context)

Get alias for route compatibility

func (*Handler) List

func (h *Handler) List(c *gin.Context)

List handles the request to list providers

func (*Handler) Reload

func (h *Handler) Reload(c *gin.Context)

Reload handles the request to reload a provider

type ProviderActionRequest

type ProviderActionRequest struct {
	ID string `uri:"id"`
}

Provider DTOs - Data Transfer Objects for provider API operations

type ProviderDeleteResponse

type ProviderDeleteResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

type ProviderDetailRequest

type ProviderDetailRequest struct {
	ID string `uri:"id"`
}

type ProviderDetailResponse

type ProviderDetailResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

type ProviderReloadResponse

type ProviderReloadResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

type ProvidersCapabilitiesRequest

type ProvidersCapabilitiesRequest struct{}

type ProvidersCapabilitiesResponse

type ProvidersCapabilitiesResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

type ProvidersDescriptorsRequest

type ProvidersDescriptorsRequest struct{}

type ProvidersDescriptorsResponse

type ProvidersDescriptorsResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

type ProvidersEntitiesRequest

type ProvidersEntitiesRequest struct {
	ID string `uri:"id"`
}

type ProvidersEntitiesResponse

type ProvidersEntitiesResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

type ProvidersListRequest

type ProvidersListRequest struct {
	Page     int `form:"page"`
	PageSize int `form:"pageSize"`
}

type ProvidersListResponse

type ProvidersListResponse struct {
	Code    int         `json:"code"`
	Message string      `json:"message"`
	Data    interface{} `json:"data,omitempty"`
}

type Service

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

func NewService

func NewService(svcCtx *svc.ServiceContext) *Service

func (*Service) Capabilities

Capabilities returns the capabilities of all providers

func (*Service) Delete

Delete deletes a provider

func (*Service) Descriptors

Descriptors returns the OpenAPI descriptors of all providers

func (*Service) Detail

Detail returns the details of a provider

func (*Service) Entities

Entities returns the entities of providers

func (*Service) List

List returns the list of providers

func (*Service) Reload

Reload reloads a provider

Jump to

Keyboard shortcuts

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