Documentation
¶
Overview ¶
Package reconciler provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.8.2 DO NOT EDIT.
Index ¶
- type CallbackMessage
- type ComponentConfiguration
- type Configuration
- type HTTPErrorResponse
- type HTTPOccupancyRequest
- type HTTPReconciliationResponse
- type PostOperationsSchedulingIDCallbackCorrelationIDJSONBody
- type PostOperationsSchedulingIDCallbackCorrelationIDJSONRequestBody
- type Repository
- type Status
- type Task
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CallbackMessage ¶
type CallbackMessage struct { Error string `json:"error"` Manifest *string `json:"manifest,omitempty"` ProcessingDuration int `json:"processingDuration"` RetryID string `json:"retryID"` Status Status `json:"status"` }
CallbackMessage defines model for callbackMessage.
func (*CallbackMessage) String ¶
func (cb *CallbackMessage) String() string
Stringer implementation for CallbackMessage CallbackMessage struct is generated by Swagger code-gen
type ComponentConfiguration ¶
type Configuration ¶
type Configuration struct { Key string `json:"key"` Value interface{} `json:"value"` }
type HTTPErrorResponse ¶
type HTTPErrorResponse struct {
Error string `json:"error"`
}
HTTPErrorResponse is the model used for general error responses
type HTTPOccupancyRequest ¶
type HTTPReconciliationResponse ¶
type HTTPReconciliationResponse struct { }
type PostOperationsSchedulingIDCallbackCorrelationIDJSONBody ¶
type PostOperationsSchedulingIDCallbackCorrelationIDJSONBody CallbackMessage
PostOperationsSchedulingIDCallbackCorrelationIDJSONBody defines parameters for PostOperationsSchedulingIDCallbackCorrelationID.
type PostOperationsSchedulingIDCallbackCorrelationIDJSONRequestBody ¶
type PostOperationsSchedulingIDCallbackCorrelationIDJSONRequestBody PostOperationsSchedulingIDCallbackCorrelationIDJSONBody
PostOperationsSchedulingIDCallbackCorrelationIDJSONRequestBody defines body for PostOperationsSchedulingIDCallbackCorrelationID for application/json ContentType.
type Repository ¶
type Repository struct {
URL string `json:"url"`
}
func (*Repository) String ¶
func (r *Repository) String() string
type Status ¶
type Status string
Status defines model for status.
type Task ¶
type Task struct { ComponentsReady []string `json:"componentsReady"` Component string `json:"component"` Namespace string `json:"namespace"` Version string `json:"version"` URL string `json:"url"` Profile string `json:"profile"` Configuration map[string]interface{} `json:"configuration"` Kubeconfig string `json:"kubeconfig"` Metadata keb.Metadata `json:"metadata"` CallbackURL string `json:"callbackURL"` //CallbackURL is mandatory when component-reconciler runs in separate process CorrelationID string `json:"correlationID"` Repository *Repository `json:"repository"` Type model.OperationType `json:"type"` // Supported task types are: reconcile, delete ComponentConfiguration ComponentConfiguration `json:"componentConfiguration"` //These fields are not part of HTTP request coming from reconciler-controller: CallbackFunc func(msg *CallbackMessage) error `json:"-"` //CallbackFunc is mandatory when component-reconciler runs embedded in another process }
Task the reconciler has to complete when called