Documentation ¶
Index ¶
- 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) 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) RouteCloneEnvironment(req RouteCloneEnvironmentRequest) (*RouteCloneEnvironmentResponse, error)
- func (h Handler) RouteGetGraph(req RouteGetGraphRequest) (*RouteGetGraphResponse, error)
- func (h Handler) RouteGetResourceDefinitions(req RouteGetResourceDefinitionsRequest) (RouteGetResourceDefinitionsResponse, error)
- func (h Handler) SubResourceHandlers() []runtime.IResourceHandler
- func (h Handler) Update(req UpdateRequest) error
- type RouteCloneEnvironmentRequest
- type RouteCloneEnvironmentResponse
- type RouteGetGraphRequest
- type RouteGetGraphResponse
- type RouteGetResourceDefinitionsRequest
- type RouteGetResourceDefinitionsResponse
- type UpdateRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionDeleteRequest ¶
type CollectionDeleteRequest = model.EnvironmentDeleteInputs
type CollectionGetRequest ¶
type CollectionGetRequest struct { model.EnvironmentQueryInputs `path:",inline" query:",inline"` runtime.RequestCollection[ predicate.Environment, environment.OrderOption, ] `query:",inline"` }
type CollectionGetResponse ¶
type CollectionGetResponse = []*model.EnvironmentOutput
type CreateRequest ¶
type CreateRequest struct {
model.EnvironmentCreateInput `path:",inline" json:",inline"`
}
func (*CreateRequest) Validate ¶
func (r *CreateRequest) Validate() error
type CreateResponse ¶
type CreateResponse = *model.EnvironmentOutput
type DeleteRequest ¶
type DeleteRequest = model.EnvironmentDeleteInput
type GetRequest ¶
type GetRequest struct {
model.EnvironmentQueryInput `path:",inline"`
}
type GetResponse ¶
type GetResponse = *model.EnvironmentOutput
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) 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) RouteCloneEnvironment ¶ added in v0.4.0
func (h Handler) RouteCloneEnvironment(req RouteCloneEnvironmentRequest) (*RouteCloneEnvironmentResponse, error)
func (Handler) RouteGetGraph ¶
func (h Handler) RouteGetGraph(req RouteGetGraphRequest) (*RouteGetGraphResponse, error)
func (Handler) RouteGetResourceDefinitions ¶ added in v0.4.0
func (h Handler) RouteGetResourceDefinitions( req RouteGetResourceDefinitionsRequest, ) (RouteGetResourceDefinitionsResponse, error)
func (Handler) SubResourceHandlers ¶
func (h Handler) SubResourceHandlers() []runtime.IResourceHandler
func (Handler) Update ¶
func (h Handler) Update(req UpdateRequest) error
type RouteCloneEnvironmentRequest ¶ added in v0.4.0
type RouteCloneEnvironmentRequest struct { CloneEnvironmentId object.ID `path:"environment"` model.EnvironmentCreateInput `path:",inline" json:",inline"` // contains filtered or unexported fields }
func (*RouteCloneEnvironmentRequest) Validate ¶ added in v0.4.0
func (r *RouteCloneEnvironmentRequest) Validate() error
type RouteCloneEnvironmentResponse ¶ added in v0.4.0
type RouteCloneEnvironmentResponse = model.EnvironmentOutput
type RouteGetGraphRequest ¶
type RouteGetGraphRequest struct { model.EnvironmentQueryInput `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 RouteGetResourceDefinitionsRequest ¶ added in v0.4.0
type RouteGetResourceDefinitionsRequest struct { model.EnvironmentQueryInput `path:",inline"` // contains filtered or unexported fields }
type RouteGetResourceDefinitionsResponse ¶ added in v0.4.0
type RouteGetResourceDefinitionsResponse = []*model.ResourceDefinitionOutput
type UpdateRequest ¶
type UpdateRequest struct {
model.EnvironmentUpdateInput `path:",inline" json:",inline"`
}
func (*UpdateRequest) Validate ¶
func (r *UpdateRequest) Validate() error
Click to show internal directories.
Click to hide internal directories.