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) RouteApply(req RouteApplyRequest) error
- func (h Handler) RouteClone(req RouteCloneEnvironmentRequest) (*RouteCloneEnvironmentResponse, error)
- func (h Handler) RouteExport(req RouteExportRequest) error
- func (h Handler) RouteGetGraph(req RouteGetGraphRequest) (*RouteGetGraphResponse, error)
- func (h Handler) RouteGetResourceDefinitions(req RouteGetResourceDefinitionsRequest) (RouteGetResourceDefinitionsResponse, error)
- func (h Handler) RouteStart(req RouteStartRequest) error
- func (h Handler) RouteStop(req RouteStopRequest) error
- func (h Handler) SubResourceHandlers() []runtime.IResourceHandler
- func (h Handler) Update(req UpdateRequest) error
- type RouteApplyRequest
- type RouteCloneEnvironmentRequest
- type RouteCloneEnvironmentResponse
- type RouteExportRequest
- type RouteGetGraphRequest
- type RouteGetGraphResponse
- type RouteGetResourceDefinitionsRequest
- type RouteGetResourceDefinitionsResponse
- type RouteStartRequest
- type RouteStopRequest
- type UpdateRequest
- type WalrusFile
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"` IncludeSummary bool `query:"includeSummary,omitempty"` Stream *runtime.RequestUnidiStream }
func (*CollectionGetRequest) SetStream ¶ added in v0.4.1
func (r *CollectionGetRequest) SetStream(stream runtime.RequestUnidiStream)
type CollectionGetResponse ¶
type CollectionGetResponse = []*environmentOutput
type CreateRequest ¶
type CreateRequest struct { model.EnvironmentCreateInput `path:",inline" json:",inline"` Preview bool `json:"preview,default=false"` }
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"` IncludeSummary bool `query:"includeSummary,omitempty"` }
type GetResponse ¶
type GetResponse = *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) RouteApply ¶ added in v0.5.0
func (h Handler) RouteApply(req RouteApplyRequest) error
func (Handler) RouteClone ¶ added in v0.5.0
func (h Handler) RouteClone(req RouteCloneEnvironmentRequest) (*RouteCloneEnvironmentResponse, error)
func (Handler) RouteExport ¶ added in v0.5.0
func (h Handler) RouteExport(req RouteExportRequest) 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) RouteStart ¶ added in v0.4.0
func (h Handler) RouteStart(req RouteStartRequest) error
func (Handler) RouteStop ¶ added in v0.4.0
func (h Handler) RouteStop(req RouteStopRequest) error
func (Handler) SubResourceHandlers ¶
func (h Handler) SubResourceHandlers() []runtime.IResourceHandler
func (Handler) Update ¶
func (h Handler) Update(req UpdateRequest) error
type RouteApplyRequest ¶ added in v0.5.0
type RouteApplyRequest struct { model.EnvironmentQueryInput `path:",inline"` YAML string `json:"yaml"` // contains filtered or unexported fields }
func (*RouteApplyRequest) Validate ¶ added in v0.5.0
func (r *RouteApplyRequest) Validate() error
type RouteCloneEnvironmentRequest ¶ added in v0.4.0
type RouteCloneEnvironmentRequest struct { model.EnvironmentCreateInput `path:",inline" json:",inline"` CloneEnvironmentId object.ID `path:"environment"` // When draft is true, clone given resources as undeployed draft in target environment. Draft bool `json:"draft,default=false"` // When preview is true, the resource runs will be planned and wait to be approved. Preview bool `json:"preview,default=false"` // 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 RouteExportRequest ¶ added in v0.5.0
type RouteExportRequest struct { model.EnvironmentQueryInput `path:",inline"` Names []string `query:"name,omitempty"` IDs []object.ID `query:"id,omitempty"` // contains filtered or unexported fields }
func (*RouteExportRequest) Validate ¶ added in v0.5.0
func (r *RouteExportRequest) Validate() error
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 RouteStartRequest ¶ added in v0.4.0
type RouteStartRequest struct { model.EnvironmentQueryInput `path:",inline"` // When preview is true, the resource runs will be planned and wait to be approved. Preview bool `json:"preview,default=false"` // contains filtered or unexported fields }
func (*RouteStartRequest) Validate ¶ added in v0.4.0
func (r *RouteStartRequest) Validate() error
type RouteStopRequest ¶ added in v0.4.0
type RouteStopRequest struct { model.EnvironmentQueryInput `path:",inline"` // When preview is true, the resource runs will be planned and wait to be approved. Preview bool `json:"preview,default=false"` // contains filtered or unexported fields }
func (*RouteStopRequest) Validate ¶ added in v0.4.0
func (r *RouteStopRequest) Validate() error
type UpdateRequest ¶
type UpdateRequest struct {
model.EnvironmentUpdateInput `path:",inline" json:",inline"`
}
func (*UpdateRequest) Validate ¶
func (r *UpdateRequest) Validate() error
type WalrusFile ¶ added in v0.5.0
type WalrusFile struct {
model.ResourceCreateInput
}
Click to show internal directories.
Click to hide internal directories.