Documentation ¶
Index ¶
- type AccessEndpoint
- type CollectionCreateRequest
- type CollectionCreateResponse
- type CollectionDeleteRequest
- type CollectionGetRequest
- type CollectionGetResponse
- type CreateRequest
- type CreateResponse
- type DeleteRequest
- type GetRequest
- type GetResponse
- type GraphEdge
- type GraphVertex
- type GraphVertexID
- type Handler
- func (h Handler) CollectionCreate(req CollectionCreateRequest) (CollectionCreateResponse, error)
- 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) (err error)
- func (h Handler) Get(req GetRequest) (GetResponse, error)
- func (Handler) Kind() string
- func (h Handler) RouteGetAccessEndpoints(req RouteGetAccessEndpointsRequest) (RouteGetAccessEndpointsResponse, error)
- func (h Handler) RouteGetGraph(req RouteGetGraphRequest) (*RouteGetGraphResponse, error)
- func (h Handler) RouteGetOutputs(req RouteGetOutputsRequest) (RouteGetOutputsResponse, error)
- func (h Handler) RouteRollback(req RouteRollbackRequest) error
- func (h Handler) RouteUpgrade(req RouteUpgradeRequest) error
- func (h Handler) SubResourceHandlers() []runtime.IResourceHandler
- type RouteGetAccessEndpointsRequest
- type RouteGetAccessEndpointsResponse
- type RouteGetGraphRequest
- type RouteGetGraphResponse
- type RouteGetOutputsRequest
- type RouteGetOutputsResponse
- type RouteRollbackRequest
- type RouteUpgradeRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessEndpoint ¶
type CollectionCreateRequest ¶
type CollectionCreateRequest struct {
model.ServiceCreateInputs `path:",inline" json:",inline"`
}
func (*CollectionCreateRequest) Validate ¶
func (r *CollectionCreateRequest) Validate() error
type CollectionCreateResponse ¶
type CollectionCreateResponse = []*model.ServiceOutput
type CollectionDeleteRequest ¶
type CollectionDeleteRequest struct { model.ServiceDeleteInputs `path:",inline" json:",inline"` WithoutCleanup bool `query:"withoutCleanup,omitempty"` }
func (*CollectionDeleteRequest) Validate ¶
func (r *CollectionDeleteRequest) Validate() error
type CollectionGetRequest ¶
type CollectionGetRequest struct { model.ServiceQueryInputs `path:",inline" query:",inline"` runtime.RequestCollection[ predicate.Service, service.OrderOption, ] `query:",inline"` WithSchema bool `query:"withSchema,omitempty"` Stream *runtime.RequestUnidiStream }
func (*CollectionGetRequest) SetStream ¶
func (r *CollectionGetRequest) SetStream(stream runtime.RequestUnidiStream)
type CollectionGetResponse ¶
type CollectionGetResponse = []*model.ServiceOutput
type CreateRequest ¶
type CreateRequest struct {
model.ServiceCreateInput `path:",inline" json:",inline"`
}
func (*CreateRequest) Validate ¶
func (r *CreateRequest) Validate() error
type CreateResponse ¶
type CreateResponse = *model.ServiceOutput
type DeleteRequest ¶
type DeleteRequest struct { model.ServiceDeleteInput `path:",inline"` WithoutCleanup bool `query:"withoutCleanup,omitempty"` }
func (*DeleteRequest) Validate ¶
func (r *DeleteRequest) Validate() error
type GetRequest ¶
type GetRequest = model.ServiceQueryInput
type GetResponse ¶
type GetResponse = *model.ServiceOutput
type GraphVertexID ¶
type GraphVertexID = types.GraphVertexID
GraphVertexID defines the identifier of the vertex, which uniquely represents an API resource.
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CollectionCreate ¶
func (h Handler) CollectionCreate(req CollectionCreateRequest) (CollectionCreateResponse, error)
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) (err error)
func (Handler) Get ¶
func (h Handler) Get(req GetRequest) (GetResponse, error)
func (Handler) RouteGetAccessEndpoints ¶
func (h Handler) RouteGetAccessEndpoints(req RouteGetAccessEndpointsRequest) (RouteGetAccessEndpointsResponse, error)
func (Handler) RouteGetGraph ¶
func (h Handler) RouteGetGraph(req RouteGetGraphRequest) (*RouteGetGraphResponse, error)
func (Handler) RouteGetOutputs ¶
func (h Handler) RouteGetOutputs(req RouteGetOutputsRequest) (RouteGetOutputsResponse, error)
func (Handler) RouteRollback ¶
func (h Handler) RouteRollback(req RouteRollbackRequest) error
func (Handler) RouteUpgrade ¶
func (h Handler) RouteUpgrade(req RouteUpgradeRequest) error
func (Handler) SubResourceHandlers ¶
func (h Handler) SubResourceHandlers() []runtime.IResourceHandler
type RouteGetAccessEndpointsRequest ¶
type RouteGetAccessEndpointsRequest struct { model.ServiceQueryInput `path:",inline"` Stream *runtime.RequestUnidiStream // contains filtered or unexported fields }
func (*RouteGetAccessEndpointsRequest) SetStream ¶
func (r *RouteGetAccessEndpointsRequest) SetStream(stream runtime.RequestUnidiStream)
type RouteGetAccessEndpointsResponse ¶
type RouteGetAccessEndpointsResponse = []AccessEndpoint
type RouteGetGraphRequest ¶
type RouteGetGraphRequest struct { model.ServiceQueryInput `path:",inline"` WithoutKeys bool `query:"withoutKeys,omitempty"` // contains filtered or unexported fields }
type RouteGetGraphResponse ¶
type RouteGetGraphResponse struct { Vertices []GraphVertex `json:"vertices"` Edges []GraphEdge `json:"edges"` }
type RouteGetOutputsRequest ¶
type RouteGetOutputsRequest struct { model.ServiceQueryInput `path:",inline"` Stream *runtime.RequestUnidiStream // contains filtered or unexported fields }
func (*RouteGetOutputsRequest) SetStream ¶
func (r *RouteGetOutputsRequest) SetStream(stream runtime.RequestUnidiStream)
type RouteGetOutputsResponse ¶
type RouteGetOutputsResponse = []types.OutputValue
type RouteRollbackRequest ¶
type RouteRollbackRequest struct { model.ServiceQueryInput `path:",inline"` RevisionID object.ID `query:"revisionID"` // contains filtered or unexported fields }
func (*RouteRollbackRequest) Validate ¶
func (r *RouteRollbackRequest) Validate() error
type RouteUpgradeRequest ¶
type RouteUpgradeRequest struct { model.ServiceUpdateInput `path:",inline" json:",inline"` // contains filtered or unexported fields }
func (*RouteUpgradeRequest) Validate ¶
func (r *RouteUpgradeRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.