Documentation ¶
Index ¶
- type CollectionGetRequest
- type CollectionGetResponse
- type Handler
- func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)
- func (Handler) Kind() string
- func (h Handler) RouteExec(req RouteExecRequest) error
- func (h Handler) RouteGetKeys(req RouteGetKeysRequest) (RouteGetKeysResponse, error)
- func (h Handler) RouteLog(req RouteLogRequest) error
- type Request
- type RouteExecRequest
- type RouteGetKeysRequest
- type RouteGetKeysResponse
- type RouteLogRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionGetRequest ¶
type CollectionGetRequest struct { model.ResourceComponentQueryInputs `path:",inline" query:",inline"` runtime.RequestCollection[ predicate.ResourceComponent, resourcecomponent.OrderOption, ] `query:",inline"` WithoutKeys bool `query:"withoutKeys,omitempty"` Stream *runtime.RequestUnidiStream }
func (*CollectionGetRequest) SetStream ¶
func (r *CollectionGetRequest) SetStream(stream runtime.RequestUnidiStream)
type CollectionGetResponse ¶
type CollectionGetResponse = []*model.ResourceComponentOutput
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func (Handler) CollectionGet ¶
func (h Handler) CollectionGet(req CollectionGetRequest) (CollectionGetResponse, int, error)
func (Handler) RouteExec ¶
func (h Handler) RouteExec(req RouteExecRequest) error
func (Handler) RouteGetKeys ¶
func (h Handler) RouteGetKeys(req RouteGetKeysRequest) (RouteGetKeysResponse, error)
func (Handler) RouteLog ¶
func (h Handler) RouteLog(req RouteLogRequest) error
type Request ¶
type Request struct { model.ResourceComponentQueryInput `path:",inline"` Entity *model.ResourceComponent }
type RouteExecRequest ¶
type RouteExecRequest struct { Request ` path:",inline"` Key string `query:"key"` Shell string `query:"shell,omitempty"` Width int32 `query:"width,omitempty"` Height int32 `query:"height,omitempty"` Stream *runtime.RequestBidiStream // contains filtered or unexported fields }
func (*RouteExecRequest) SetStream ¶
func (r *RouteExecRequest) SetStream(stream runtime.RequestBidiStream)
func (*RouteExecRequest) Validate ¶
func (r *RouteExecRequest) Validate() error
type RouteGetKeysRequest ¶
type RouteGetKeysRequest struct { Request `path:",inline"` // contains filtered or unexported fields }
type RouteGetKeysResponse ¶
type RouteGetKeysResponse = *types.ResourceComponentOperationKeys
type RouteLogRequest ¶
type RouteLogRequest struct { Request ` path:",inline"` Key string `query:"key"` Previous bool `query:"previous,omitempty"` SinceSeconds *int64 `query:"sinceSeconds,omitempty"` TailLines *int64 `query:"tailLines,omitempty"` Timestamps bool `query:"timestamps,omitempty"` Stream *runtime.RequestUnidiStream // contains filtered or unexported fields }
func (*RouteLogRequest) SetStream ¶
func (r *RouteLogRequest) SetStream(stream runtime.RequestUnidiStream)
func (*RouteLogRequest) Validate ¶
func (r *RouteLogRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.