Documentation ¶
Index ¶
- type CollectionDeleteRequest
- type CollectionGetRequest
- type CollectionGetResponse
- type CreateRequest
- type CreateResponse
- type DeleteRequest
- type GetRequest
- type GetResponse
- type Handler
- func (h Handler) CollectionDelete(req CollectionDeleteRequest) error
- func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)
- func (h Handler) Create(req CreateRequest) (CreateResponse, error)
- func (h Handler) Delete(req DeleteRequest) error
- func (h Handler) Get(req GetRequest) (GetResponse, error)
- func (Handler) Kind() string
- func (h Handler) RouteApplyCostTools(req RouteApplyCostToolsRequest) error
- func (h Handler) RouteGetRepositories(req RouteGetRepositoriesRequest) (RouteGetRepositoriesResponse, error)
- func (h Handler) RouteGetRepositoryBranches(req RouteGetRepositoryBranchesRequest) (RouteGetRepositoryBranchesResponse, error)
- func (h Handler) RouteSyncCostData(req RouteSyncCostDataRequest) error
- func (h Handler) Update(req UpdateRequest) error
- type RouteApplyCostToolsRequest
- type RouteGetRepositoriesRequest
- type RouteGetRepositoriesResponse
- type RouteGetRepositoryBranchesRequest
- type RouteGetRepositoryBranchesResponse
- type RouteSyncCostDataRequest
- type UpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionDeleteRequest ¶
type CollectionDeleteRequest = model.ConnectorDeleteInputs
type CollectionGetRequest ¶
type CollectionGetRequest struct { model.ConnectorQueryInputs `path:",inline" query:",inline"` runtime.RequestCollection[ predicate.Connector, connector.OrderOption, ] `query:",inline"` WithGlobal bool `query:"withGlobal,omitempty"` Stream *runtime.RequestUnidiStream }
func (*CollectionGetRequest) SetStream ¶
func (r *CollectionGetRequest) SetStream(stream runtime.RequestUnidiStream)
type CollectionGetResponse ¶
type CollectionGetResponse = []*model.ConnectorOutput
type CreateRequest ¶
type CreateRequest struct {
model.ConnectorCreateInput `path:",inline" json:",inline"`
}
func (*CreateRequest) Validate ¶
func (r *CreateRequest) Validate() error
type CreateResponse ¶
type CreateResponse = *model.ConnectorOutput
type DeleteRequest ¶
type DeleteRequest = model.ConnectorDeleteInput
type GetRequest ¶
type GetRequest struct {
model.ConnectorQueryInput `path:",inline"`
}
type GetResponse ¶
type GetResponse = *model.ConnectorOutput
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CollectionDelete ¶
func (h Handler) CollectionDelete(req CollectionDeleteRequest) error
func (Handler) CollectionGet ¶
func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)
func (Handler) Create ¶
func (h Handler) Create(req CreateRequest) (CreateResponse, error)
func (Handler) Delete ¶
func (h Handler) Delete(req DeleteRequest) error
func (Handler) Get ¶
func (h Handler) Get(req GetRequest) (GetResponse, error)
func (Handler) RouteApplyCostTools ¶
func (h Handler) RouteApplyCostTools( req RouteApplyCostToolsRequest, ) error
func (Handler) RouteGetRepositories ¶
func (h Handler) RouteGetRepositories( req RouteGetRepositoriesRequest, ) (RouteGetRepositoriesResponse, error)
func (Handler) RouteGetRepositoryBranches ¶
func (h Handler) RouteGetRepositoryBranches( req RouteGetRepositoryBranchesRequest, ) (RouteGetRepositoryBranchesResponse, error)
func (Handler) RouteSyncCostData ¶
func (h Handler) RouteSyncCostData( req RouteSyncCostDataRequest, ) error
func (Handler) Update ¶
func (h Handler) Update(req UpdateRequest) error
type RouteApplyCostToolsRequest ¶
type RouteApplyCostToolsRequest struct { model.ConnectorQueryInput `path:",inline"` // contains filtered or unexported fields }
func (*RouteApplyCostToolsRequest) Validate ¶
func (r *RouteApplyCostToolsRequest) Validate() error
type RouteGetRepositoriesRequest ¶
type RouteGetRepositoriesRequest struct { model.ConnectorQueryInput `path:",inline"` Query *string `query:"query,omitempty"` Page int `query:"page,default=1"` PerPage int `query:"perPage,default=10"` // contains filtered or unexported fields }
type RouteGetRepositoriesResponse ¶
type RouteGetRepositoriesResponse = []*scm.Repository
type RouteSyncCostDataRequest ¶
type RouteSyncCostDataRequest struct { model.ConnectorQueryInput `path:",inline"` // contains filtered or unexported fields }
func (*RouteSyncCostDataRequest) Validate ¶
func (r *RouteSyncCostDataRequest) Validate() error
type UpdateRequest ¶
type UpdateRequest struct {
model.ConnectorUpdateInput `path:",inline" json:",inline"`
}
func (*UpdateRequest) Validate ¶
func (r *UpdateRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.