Documentation ¶
Index ¶
- type CollectionDeleteRequest
- type CollectionFieldQuery
- type CollectionGetRequest
- type CollectionGetResponse
- 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) Get(req GetRequest) (GetResponse, error)
- func (Handler) Kind() string
- func (h Handler) RouteApply(req RouteApplyRequest) error
- func (h Handler) RouteGetDiffLatest(req RouteGetDiffLatestRequest) (*RouteGetDiffLatestResponse, error)
- func (h Handler) RouteGetDiffPrevious(req RouteGetDiffPreviousRequest) (*RouteGetDiffPreviousResponse, error)
- func (h Handler) RouteGetPlan(req RouteGetPlanRequest) error
- func (h Handler) RouteGetTerraformStates(req RouteGetTerraformStatesRequest) (RouteGetTerraformStatesResponse, error)
- func (h Handler) RouteLog(req RouteLogRequest) error
- func (h Handler) RouteSetPlan(req RouteSetPlanRequest) error
- func (h Handler) RouteUpdateTerraformStates(req RouteUpdateTerraformStatesRequest) (err error)
- type RouteApplyRequest
- type RouteGetDiffLatestRequest
- type RouteGetDiffLatestResponse
- type RouteGetDiffPreviousRequest
- type RouteGetDiffPreviousResponse
- type RouteGetPlanRequest
- type RouteGetTerraformStatesRequest
- type RouteGetTerraformStatesResponse
- type RouteLogRequest
- type RouteSetPlanRequest
- type RouteUpdateTerraformStatesRequest
- type RunDiff
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionDeleteRequest ¶
type CollectionDeleteRequest struct {
model.ResourceRunDeleteInputs `path:",inline" json:",inline"`
}
func (*CollectionDeleteRequest) Validate ¶
func (r *CollectionDeleteRequest) Validate() error
type CollectionFieldQuery ¶
type CollectionFieldQuery struct { QueryID object.ID `query:"id"` QueryType string `query:"type"` QueryStatus string `query:"status"` QueryPreview *bool `query:"preview"` QueryLabels []string `query:"labels"` }
func (*CollectionFieldQuery) Queries ¶
func (q *CollectionFieldQuery) Queries() (queries []predicate.ResourceRun, ok bool)
type CollectionGetRequest ¶
type CollectionGetRequest struct { model.ResourceRunQueryInputs `path:",inline" query:",inline"` runtime.RequestCollection[ predicate.ResourceRun, resourcerun.OrderOption, ] `query:",inline"` Stream *runtime.RequestUnidiStream CollectionFieldQuery `query:",inline"` Rollback bool `query:"rollback"` }
func (*CollectionGetRequest) SetStream ¶
func (r *CollectionGetRequest) SetStream(stream runtime.RequestUnidiStream)
type CollectionGetResponse ¶
type CollectionGetResponse = []*model.ResourceRunOutput
type GetRequest ¶
type GetRequest = model.ResourceRunQueryInput
type GetResponse ¶
type GetResponse = *model.ResourceRunOutput
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) Get ¶
func (h Handler) Get(req GetRequest) (GetResponse, error)
func (Handler) RouteApply ¶
func (h Handler) RouteApply(req RouteApplyRequest) error
RouteApply apply the planned run.
func (Handler) RouteGetDiffLatest ¶
func (h Handler) RouteGetDiffLatest(req RouteGetDiffLatestRequest) (*RouteGetDiffLatestResponse, error)
RouteGetDiffLatest get the run with the service latest run diff.
func (Handler) RouteGetDiffPrevious ¶
func (h Handler) RouteGetDiffPrevious(req RouteGetDiffPreviousRequest) (*RouteGetDiffPreviousResponse, error)
RouteGetDiffPrevious get the run with the service previous run diff.
func (Handler) RouteGetPlan ¶
func (h Handler) RouteGetPlan(req RouteGetPlanRequest) error
func (Handler) RouteGetTerraformStates ¶
func (h Handler) RouteGetTerraformStates( req RouteGetTerraformStatesRequest, ) (RouteGetTerraformStatesResponse, error)
RouteGetTerraformStates get the terraform states of the service run deployment.
func (Handler) RouteLog ¶
func (h Handler) RouteLog(req RouteLogRequest) error
func (Handler) RouteSetPlan ¶
func (h Handler) RouteSetPlan(req RouteSetPlanRequest) error
func (Handler) RouteUpdateTerraformStates ¶
func (h Handler) RouteUpdateTerraformStates( req RouteUpdateTerraformStatesRequest, ) (err error)
RouteUpdateTerraformStates update the terraform states of the service run deployment.
type RouteApplyRequest ¶
type RouteApplyRequest struct { model.ResourceRunQueryInput `path:",inline"` Approve bool `json:"approve,default=false"` // contains filtered or unexported fields }
func (*RouteApplyRequest) Validate ¶
func (r *RouteApplyRequest) Validate() error
type RouteGetDiffLatestRequest ¶
type RouteGetDiffLatestRequest struct { model.ResourceRunQueryInput `path:",inline"` // contains filtered or unexported fields }
type RouteGetDiffPreviousRequest ¶
type RouteGetDiffPreviousRequest struct { model.ResourceRunQueryInput `path:",inline"` // contains filtered or unexported fields }
type RouteGetPlanRequest ¶
type RouteGetPlanRequest struct { model.ResourceRunQueryInput `path:",inline"` // contains filtered or unexported fields }
type RouteGetTerraformStatesRequest ¶
type RouteGetTerraformStatesRequest struct { model.ResourceRunQueryInput `path:",inline"` // contains filtered or unexported fields }
type RouteGetTerraformStatesResponse ¶
type RouteGetTerraformStatesResponse = json.RawMessage
type RouteLogRequest ¶
type RouteLogRequest struct { model.ResourceRunQueryInput `path:",inline"` JobType string `query:"jobType,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
type RouteSetPlanRequest ¶
type RouteSetPlanRequest struct { model.ResourceRunQueryInput `path:",inline"` JsonPlan *multipart.FileHeader `form:"jsonplan"` Plan *multipart.FileHeader `form:"plan"` // contains filtered or unexported fields }
func (*RouteSetPlanRequest) Validate ¶
func (r *RouteSetPlanRequest) Validate() error
type RouteUpdateTerraformStatesRequest ¶
type RouteUpdateTerraformStatesRequest struct { model.ResourceRunQueryInput `path:",inline"` json.RawMessage `path:"-" json:",inline"` // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.