Documentation ¶
Overview ¶
Package mothership provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.1 DO NOT EDIT.
Package mothership provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen version v1.9.1 DO NOT EDIT.
Index ¶
- func NewDeleteClustersRuntimeIDRequest(server string, runtimeID string) (*http.Request, error)
- func NewDeleteReconciliationsClusterRuntimeIDRequest(server string, runtimeID string) (*http.Request, error)
- func NewGetClustersRuntimeIDConfigConfigVersionStatusRequest(server string, runtimeID string, configVersion string) (*http.Request, error)
- func NewGetClustersRuntimeIDConfigVersionRequest(server string, runtimeID string, version string) (*http.Request, error)
- func NewGetClustersRuntimeIDStatusChangesRequest(server string, runtimeID string) (*http.Request, error)
- func NewGetClustersRuntimeIDStatusRequest(server string, runtimeID string) (*http.Request, error)
- func NewGetClustersStateRequest(server string, params *GetClustersStateParams) (*http.Request, error)
- func NewGetReconciliationsRequest(server string, params *GetReconciliationsParams) (*http.Request, error)
- func NewGetReconciliationsSchedulingIDInfoRequest(server string, schedulingID string) (*http.Request, error)
- func NewPostClustersRequest(server string, body PostClustersJSONRequestBody) (*http.Request, error)
- func NewPostClustersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostOperationsSchedulingIDCorrelationIDStopRequest(server string, schedulingID string, correlationID string, ...) (*http.Request, error)
- func NewPostOperationsSchedulingIDCorrelationIDStopRequestWithBody(server string, schedulingID string, correlationID string, contentType string, ...) (*http.Request, error)
- func NewPutClustersRequest(server string, body PutClustersJSONRequestBody) (*http.Request, error)
- func NewPutClustersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutClustersRuntimeIDStatusRequest(server string, runtimeID string, ...) (*http.Request, error)
- func NewPutClustersRuntimeIDStatusRequestWithBody(server string, runtimeID string, contentType string, body io.Reader) (*http.Request, error)
- func NewPutOperationsSchedulingIDCorrelationIDDebugRequest(server string, schedulingID string, correlationID string) (*http.Request, error)
- func NewPutReconciliationsSchedulingIDDebugRequest(server string, schedulingID string) (*http.Request, error)
- type BadRequest
- type Client
- func (c *Client) DeleteClustersRuntimeID(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteReconciliationsClusterRuntimeID(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClustersRuntimeIDConfigConfigVersionStatus(ctx context.Context, runtimeID string, configVersion string, ...) (*http.Response, error)
- func (c *Client) GetClustersRuntimeIDConfigVersion(ctx context.Context, runtimeID string, version string, ...) (*http.Response, error)
- func (c *Client) GetClustersRuntimeIDStatus(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClustersRuntimeIDStatusChanges(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetClustersState(ctx context.Context, params *GetClustersStateParams, ...) (*http.Response, error)
- func (c *Client) GetReconciliations(ctx context.Context, params *GetReconciliationsParams, ...) (*http.Response, error)
- func (c *Client) GetReconciliationsSchedulingIDInfo(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) PostClusters(ctx context.Context, body PostClustersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostClustersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostOperationsSchedulingIDCorrelationIDStop(ctx context.Context, schedulingID string, correlationID string, ...) (*http.Response, error)
- func (c *Client) PostOperationsSchedulingIDCorrelationIDStopWithBody(ctx context.Context, schedulingID string, correlationID string, ...) (*http.Response, error)
- func (c *Client) PutClusters(ctx context.Context, body PutClustersJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PutClustersRuntimeIDStatus(ctx context.Context, runtimeID string, ...) (*http.Response, error)
- func (c *Client) PutClustersRuntimeIDStatusWithBody(ctx context.Context, runtimeID string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutClustersWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PutOperationsSchedulingIDCorrelationIDDebug(ctx context.Context, schedulingID string, correlationID string, ...) (*http.Response, error)
- func (c *Client) PutReconciliationsSchedulingIDDebug(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) DeleteClustersRuntimeIDWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*DeleteClustersRuntimeIDResponse, error)
- func (c *ClientWithResponses) DeleteReconciliationsClusterRuntimeIDWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*DeleteReconciliationsClusterRuntimeIDResponse, error)
- func (c *ClientWithResponses) GetClustersRuntimeIDConfigConfigVersionStatusWithResponse(ctx context.Context, runtimeID string, configVersion string, ...) (*GetClustersRuntimeIDConfigConfigVersionStatusResponse, error)
- func (c *ClientWithResponses) GetClustersRuntimeIDConfigVersionWithResponse(ctx context.Context, runtimeID string, version string, ...) (*GetClustersRuntimeIDConfigVersionResponse, error)
- func (c *ClientWithResponses) GetClustersRuntimeIDStatusChangesWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDStatusChangesResponse, error)
- func (c *ClientWithResponses) GetClustersRuntimeIDStatusWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDStatusResponse, error)
- func (c *ClientWithResponses) GetClustersStateWithResponse(ctx context.Context, params *GetClustersStateParams, ...) (*GetClustersStateResponse, error)
- func (c *ClientWithResponses) GetReconciliationsSchedulingIDInfoWithResponse(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*GetReconciliationsSchedulingIDInfoResponse, error)
- func (c *ClientWithResponses) GetReconciliationsWithResponse(ctx context.Context, params *GetReconciliationsParams, ...) (*GetReconciliationsResponse, error)
- func (c *ClientWithResponses) PostClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostClustersResponse, error)
- func (c *ClientWithResponses) PostClustersWithResponse(ctx context.Context, body PostClustersJSONRequestBody, ...) (*PostClustersResponse, error)
- func (c *ClientWithResponses) PostOperationsSchedulingIDCorrelationIDStopWithBodyWithResponse(ctx context.Context, schedulingID string, correlationID string, ...) (*PostOperationsSchedulingIDCorrelationIDStopResponse, error)
- func (c *ClientWithResponses) PostOperationsSchedulingIDCorrelationIDStopWithResponse(ctx context.Context, schedulingID string, correlationID string, ...) (*PostOperationsSchedulingIDCorrelationIDStopResponse, error)
- func (c *ClientWithResponses) PutClustersRuntimeIDStatusWithBodyWithResponse(ctx context.Context, runtimeID string, contentType string, body io.Reader, ...) (*PutClustersRuntimeIDStatusResponse, error)
- func (c *ClientWithResponses) PutClustersRuntimeIDStatusWithResponse(ctx context.Context, runtimeID string, ...) (*PutClustersRuntimeIDStatusResponse, error)
- func (c *ClientWithResponses) PutClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PutClustersResponse, error)
- func (c *ClientWithResponses) PutClustersWithResponse(ctx context.Context, body PutClustersJSONRequestBody, ...) (*PutClustersResponse, error)
- func (c *ClientWithResponses) PutOperationsSchedulingIDCorrelationIDDebugWithResponse(ctx context.Context, schedulingID string, correlationID string, ...) (*PutOperationsSchedulingIDCorrelationIDDebugResponse, error)
- func (c *ClientWithResponses) PutReconciliationsSchedulingIDDebugWithResponse(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*PutReconciliationsSchedulingIDDebugResponse, error)
- type ClientWithResponsesInterface
- type Cluster
- type ClusterState
- type ClusterStateConfiguration
- type ClusterStateStatus
- type Component
- type Configuration
- type ConfigurationOkResponse
- type DeleteClustersRuntimeIDResponse
- type DeleteReconciliationsClusterRuntimeIDResponse
- type Failure
- type GetClustersRuntimeIDConfigConfigVersionStatusResponse
- type GetClustersRuntimeIDConfigVersionResponse
- type GetClustersRuntimeIDStatusChangesResponse
- type GetClustersRuntimeIDStatusResponse
- type GetClustersStateParams
- type GetClustersStateResponse
- type GetReconciliationsParams
- type GetReconciliationsResponse
- type GetReconciliationsSchedulingIDInfoResponse
- type HTTPClusterConfig
- type HTTPClusterResponse
- type HTTPClusterStateResponse
- type HTTPClusterStatusResponse
- type HTTPErrorResponse
- type HTTPReconcilerStatus
- type HTTPReconciliationInfo
- type HttpRequestDoer
- type InternalError
- type KymaConfig
- type Metadata
- type NotFoundResponse
- type Ok
- type Operation
- type OperationStop
- type PostClustersJSONBody
- type PostClustersJSONRequestBody
- type PostClustersResponse
- type PostOperationsSchedulingIDCorrelationIDStopJSONBody
- type PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody
- type PostOperationsSchedulingIDCorrelationIDStopResponse
- type PutClustersJSONBody
- type PutClustersJSONRequestBody
- type PutClustersResponse
- type PutClustersRuntimeIDStatusJSONBody
- type PutClustersRuntimeIDStatusJSONRequestBody
- type PutClustersRuntimeIDStatusResponse
- type PutOperationsSchedulingIDCorrelationIDDebugResponse
- type PutReconciliationsSchedulingIDDebugResponse
- type ReconcilationsOKResponse
- type Reconciliation
- type ReconciliationInfoOKResponse
- type RequestEditorFn
- type RuntimeInput
- type Status
- type StatusChange
- type StatusUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeleteClustersRuntimeIDRequest ¶
NewDeleteClustersRuntimeIDRequest generates requests for DeleteClustersRuntimeID
func NewDeleteReconciliationsClusterRuntimeIDRequest ¶
func NewDeleteReconciliationsClusterRuntimeIDRequest(server string, runtimeID string) (*http.Request, error)
NewDeleteReconciliationsClusterRuntimeIDRequest generates requests for DeleteReconciliationsClusterRuntimeID
func NewGetClustersRuntimeIDConfigConfigVersionStatusRequest ¶
func NewGetClustersRuntimeIDConfigConfigVersionStatusRequest(server string, runtimeID string, configVersion string) (*http.Request, error)
NewGetClustersRuntimeIDConfigConfigVersionStatusRequest generates requests for GetClustersRuntimeIDConfigConfigVersionStatus
func NewGetClustersRuntimeIDConfigVersionRequest ¶
func NewGetClustersRuntimeIDConfigVersionRequest(server string, runtimeID string, version string) (*http.Request, error)
NewGetClustersRuntimeIDConfigVersionRequest generates requests for GetClustersRuntimeIDConfigVersion
func NewGetClustersRuntimeIDStatusChangesRequest ¶
func NewGetClustersRuntimeIDStatusChangesRequest(server string, runtimeID string) (*http.Request, error)
NewGetClustersRuntimeIDStatusChangesRequest generates requests for GetClustersRuntimeIDStatusChanges
func NewGetClustersRuntimeIDStatusRequest ¶
NewGetClustersRuntimeIDStatusRequest generates requests for GetClustersRuntimeIDStatus
func NewGetClustersStateRequest ¶
func NewGetClustersStateRequest(server string, params *GetClustersStateParams) (*http.Request, error)
NewGetClustersStateRequest generates requests for GetClustersState
func NewGetReconciliationsRequest ¶
func NewGetReconciliationsRequest(server string, params *GetReconciliationsParams) (*http.Request, error)
NewGetReconciliationsRequest generates requests for GetReconciliations
func NewGetReconciliationsSchedulingIDInfoRequest ¶
func NewGetReconciliationsSchedulingIDInfoRequest(server string, schedulingID string) (*http.Request, error)
NewGetReconciliationsSchedulingIDInfoRequest generates requests for GetReconciliationsSchedulingIDInfo
func NewPostClustersRequest ¶
func NewPostClustersRequest(server string, body PostClustersJSONRequestBody) (*http.Request, error)
NewPostClustersRequest calls the generic PostClusters builder with application/json body
func NewPostClustersRequestWithBody ¶
func NewPostClustersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostClustersRequestWithBody generates requests for PostClusters with any type of body
func NewPostOperationsSchedulingIDCorrelationIDStopRequest ¶
func NewPostOperationsSchedulingIDCorrelationIDStopRequest(server string, schedulingID string, correlationID string, body PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody) (*http.Request, error)
NewPostOperationsSchedulingIDCorrelationIDStopRequest calls the generic PostOperationsSchedulingIDCorrelationIDStop builder with application/json body
func NewPostOperationsSchedulingIDCorrelationIDStopRequestWithBody ¶
func NewPostOperationsSchedulingIDCorrelationIDStopRequestWithBody(server string, schedulingID string, correlationID string, contentType string, body io.Reader) (*http.Request, error)
NewPostOperationsSchedulingIDCorrelationIDStopRequestWithBody generates requests for PostOperationsSchedulingIDCorrelationIDStop with any type of body
func NewPutClustersRequest ¶
func NewPutClustersRequest(server string, body PutClustersJSONRequestBody) (*http.Request, error)
NewPutClustersRequest calls the generic PutClusters builder with application/json body
func NewPutClustersRequestWithBody ¶
func NewPutClustersRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPutClustersRequestWithBody generates requests for PutClusters with any type of body
func NewPutClustersRuntimeIDStatusRequest ¶
func NewPutClustersRuntimeIDStatusRequest(server string, runtimeID string, body PutClustersRuntimeIDStatusJSONRequestBody) (*http.Request, error)
NewPutClustersRuntimeIDStatusRequest calls the generic PutClustersRuntimeIDStatus builder with application/json body
func NewPutClustersRuntimeIDStatusRequestWithBody ¶
func NewPutClustersRuntimeIDStatusRequestWithBody(server string, runtimeID string, contentType string, body io.Reader) (*http.Request, error)
NewPutClustersRuntimeIDStatusRequestWithBody generates requests for PutClustersRuntimeIDStatus with any type of body
func NewPutOperationsSchedulingIDCorrelationIDDebugRequest ¶
func NewPutOperationsSchedulingIDCorrelationIDDebugRequest(server string, schedulingID string, correlationID string) (*http.Request, error)
NewPutOperationsSchedulingIDCorrelationIDDebugRequest generates requests for PutOperationsSchedulingIDCorrelationIDDebug
Types ¶
type Client ¶
type Client struct { // The endpoint of the server conforming to this interface, with scheme, // https://api.deepmap.com for example. This can contain a path relative // to the server, such as https://api.deepmap.com/dev-test, and all the // paths in the swagger spec will be appended to the server. Server string // Doer for performing requests, typically a *http.Client with any // customized settings, such as certificate chains. Client HttpRequestDoer // A list of callbacks for modifying requests which are generated before sending over // the network. RequestEditors []RequestEditorFn }
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) DeleteClustersRuntimeID ¶
func (*Client) DeleteReconciliationsClusterRuntimeID ¶
func (*Client) GetClustersRuntimeIDConfigConfigVersionStatus ¶
func (*Client) GetClustersRuntimeIDConfigVersion ¶
func (*Client) GetClustersRuntimeIDStatus ¶
func (*Client) GetClustersRuntimeIDStatusChanges ¶
func (*Client) GetClustersState ¶
func (c *Client) GetClustersState(ctx context.Context, params *GetClustersStateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReconciliations ¶
func (c *Client) GetReconciliations(ctx context.Context, params *GetReconciliationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetReconciliationsSchedulingIDInfo ¶
func (*Client) PostClusters ¶
func (c *Client) PostClusters(ctx context.Context, body PostClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostClustersWithBody ¶
func (*Client) PostOperationsSchedulingIDCorrelationIDStop ¶
func (c *Client) PostOperationsSchedulingIDCorrelationIDStop(ctx context.Context, schedulingID string, correlationID string, body PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostOperationsSchedulingIDCorrelationIDStopWithBody ¶
func (*Client) PutClusters ¶
func (c *Client) PutClusters(ctx context.Context, body PutClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutClustersRuntimeIDStatus ¶
func (c *Client) PutClustersRuntimeIDStatus(ctx context.Context, runtimeID string, body PutClustersRuntimeIDStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PutClustersRuntimeIDStatusWithBody ¶
func (*Client) PutClustersWithBody ¶
func (*Client) PutOperationsSchedulingIDCorrelationIDDebug ¶
func (*Client) PutReconciliationsSchedulingIDDebug ¶
type ClientInterface ¶
type ClientInterface interface { // PostClusters request with any body PostClustersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostClusters(ctx context.Context, body PostClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // PutClusters request with any body PutClustersWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutClusters(ctx context.Context, body PutClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClustersState request GetClustersState(ctx context.Context, params *GetClustersStateParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteClustersRuntimeID request DeleteClustersRuntimeID(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClustersRuntimeIDConfigConfigVersionStatus request GetClustersRuntimeIDConfigConfigVersionStatus(ctx context.Context, runtimeID string, configVersion string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClustersRuntimeIDConfigVersion request GetClustersRuntimeIDConfigVersion(ctx context.Context, runtimeID string, version string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClustersRuntimeIDStatus request GetClustersRuntimeIDStatus(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutClustersRuntimeIDStatus request with any body PutClustersRuntimeIDStatusWithBody(ctx context.Context, runtimeID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PutClustersRuntimeIDStatus(ctx context.Context, runtimeID string, body PutClustersRuntimeIDStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetClustersRuntimeIDStatusChanges request GetClustersRuntimeIDStatusChanges(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutOperationsSchedulingIDCorrelationIDDebug request PutOperationsSchedulingIDCorrelationIDDebug(ctx context.Context, schedulingID string, correlationID string, reqEditors ...RequestEditorFn) (*http.Response, error) // PostOperationsSchedulingIDCorrelationIDStop request with any body PostOperationsSchedulingIDCorrelationIDStopWithBody(ctx context.Context, schedulingID string, correlationID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error) PostOperationsSchedulingIDCorrelationIDStop(ctx context.Context, schedulingID string, correlationID string, body PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReconciliations request GetReconciliations(ctx context.Context, params *GetReconciliationsParams, reqEditors ...RequestEditorFn) (*http.Response, error) // DeleteReconciliationsClusterRuntimeID request DeleteReconciliationsClusterRuntimeID(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*http.Response, error) // PutReconciliationsSchedulingIDDebug request PutReconciliationsSchedulingIDDebug(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*http.Response, error) // GetReconciliationsSchedulingIDInfo request GetReconciliationsSchedulingIDInfo(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*http.Response, error) }
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) DeleteClustersRuntimeIDWithResponse ¶
func (c *ClientWithResponses) DeleteClustersRuntimeIDWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*DeleteClustersRuntimeIDResponse, error)
DeleteClustersRuntimeIDWithResponse request returning *DeleteClustersRuntimeIDResponse
func (*ClientWithResponses) DeleteReconciliationsClusterRuntimeIDWithResponse ¶
func (c *ClientWithResponses) DeleteReconciliationsClusterRuntimeIDWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*DeleteReconciliationsClusterRuntimeIDResponse, error)
DeleteReconciliationsClusterRuntimeIDWithResponse request returning *DeleteReconciliationsClusterRuntimeIDResponse
func (*ClientWithResponses) GetClustersRuntimeIDConfigConfigVersionStatusWithResponse ¶
func (c *ClientWithResponses) GetClustersRuntimeIDConfigConfigVersionStatusWithResponse(ctx context.Context, runtimeID string, configVersion string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDConfigConfigVersionStatusResponse, error)
GetClustersRuntimeIDConfigConfigVersionStatusWithResponse request returning *GetClustersRuntimeIDConfigConfigVersionStatusResponse
func (*ClientWithResponses) GetClustersRuntimeIDConfigVersionWithResponse ¶
func (c *ClientWithResponses) GetClustersRuntimeIDConfigVersionWithResponse(ctx context.Context, runtimeID string, version string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDConfigVersionResponse, error)
GetClustersRuntimeIDConfigVersionWithResponse request returning *GetClustersRuntimeIDConfigVersionResponse
func (*ClientWithResponses) GetClustersRuntimeIDStatusChangesWithResponse ¶
func (c *ClientWithResponses) GetClustersRuntimeIDStatusChangesWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDStatusChangesResponse, error)
GetClustersRuntimeIDStatusChangesWithResponse request returning *GetClustersRuntimeIDStatusChangesResponse
func (*ClientWithResponses) GetClustersRuntimeIDStatusWithResponse ¶
func (c *ClientWithResponses) GetClustersRuntimeIDStatusWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDStatusResponse, error)
GetClustersRuntimeIDStatusWithResponse request returning *GetClustersRuntimeIDStatusResponse
func (*ClientWithResponses) GetClustersStateWithResponse ¶
func (c *ClientWithResponses) GetClustersStateWithResponse(ctx context.Context, params *GetClustersStateParams, reqEditors ...RequestEditorFn) (*GetClustersStateResponse, error)
GetClustersStateWithResponse request returning *GetClustersStateResponse
func (*ClientWithResponses) GetReconciliationsSchedulingIDInfoWithResponse ¶
func (c *ClientWithResponses) GetReconciliationsSchedulingIDInfoWithResponse(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*GetReconciliationsSchedulingIDInfoResponse, error)
GetReconciliationsSchedulingIDInfoWithResponse request returning *GetReconciliationsSchedulingIDInfoResponse
func (*ClientWithResponses) GetReconciliationsWithResponse ¶
func (c *ClientWithResponses) GetReconciliationsWithResponse(ctx context.Context, params *GetReconciliationsParams, reqEditors ...RequestEditorFn) (*GetReconciliationsResponse, error)
GetReconciliationsWithResponse request returning *GetReconciliationsResponse
func (*ClientWithResponses) PostClustersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostClustersResponse, error)
PostClustersWithBodyWithResponse request with arbitrary body returning *PostClustersResponse
func (*ClientWithResponses) PostClustersWithResponse ¶
func (c *ClientWithResponses) PostClustersWithResponse(ctx context.Context, body PostClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostClustersResponse, error)
func (*ClientWithResponses) PostOperationsSchedulingIDCorrelationIDStopWithBodyWithResponse ¶
func (c *ClientWithResponses) PostOperationsSchedulingIDCorrelationIDStopWithBodyWithResponse(ctx context.Context, schedulingID string, correlationID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOperationsSchedulingIDCorrelationIDStopResponse, error)
PostOperationsSchedulingIDCorrelationIDStopWithBodyWithResponse request with arbitrary body returning *PostOperationsSchedulingIDCorrelationIDStopResponse
func (*ClientWithResponses) PostOperationsSchedulingIDCorrelationIDStopWithResponse ¶
func (c *ClientWithResponses) PostOperationsSchedulingIDCorrelationIDStopWithResponse(ctx context.Context, schedulingID string, correlationID string, body PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOperationsSchedulingIDCorrelationIDStopResponse, error)
func (*ClientWithResponses) PutClustersRuntimeIDStatusWithBodyWithResponse ¶
func (c *ClientWithResponses) PutClustersRuntimeIDStatusWithBodyWithResponse(ctx context.Context, runtimeID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersRuntimeIDStatusResponse, error)
PutClustersRuntimeIDStatusWithBodyWithResponse request with arbitrary body returning *PutClustersRuntimeIDStatusResponse
func (*ClientWithResponses) PutClustersRuntimeIDStatusWithResponse ¶
func (c *ClientWithResponses) PutClustersRuntimeIDStatusWithResponse(ctx context.Context, runtimeID string, body PutClustersRuntimeIDStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersRuntimeIDStatusResponse, error)
func (*ClientWithResponses) PutClustersWithBodyWithResponse ¶
func (c *ClientWithResponses) PutClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersResponse, error)
PutClustersWithBodyWithResponse request with arbitrary body returning *PutClustersResponse
func (*ClientWithResponses) PutClustersWithResponse ¶
func (c *ClientWithResponses) PutClustersWithResponse(ctx context.Context, body PutClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersResponse, error)
func (*ClientWithResponses) PutOperationsSchedulingIDCorrelationIDDebugWithResponse ¶
func (c *ClientWithResponses) PutOperationsSchedulingIDCorrelationIDDebugWithResponse(ctx context.Context, schedulingID string, correlationID string, reqEditors ...RequestEditorFn) (*PutOperationsSchedulingIDCorrelationIDDebugResponse, error)
PutOperationsSchedulingIDCorrelationIDDebugWithResponse request returning *PutOperationsSchedulingIDCorrelationIDDebugResponse
func (*ClientWithResponses) PutReconciliationsSchedulingIDDebugWithResponse ¶
func (c *ClientWithResponses) PutReconciliationsSchedulingIDDebugWithResponse(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*PutReconciliationsSchedulingIDDebugResponse, error)
PutReconciliationsSchedulingIDDebugWithResponse request returning *PutReconciliationsSchedulingIDDebugResponse
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface { // PostClusters request with any body PostClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostClustersResponse, error) PostClustersWithResponse(ctx context.Context, body PostClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostClustersResponse, error) // PutClusters request with any body PutClustersWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersResponse, error) PutClustersWithResponse(ctx context.Context, body PutClustersJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersResponse, error) // GetClustersState request GetClustersStateWithResponse(ctx context.Context, params *GetClustersStateParams, reqEditors ...RequestEditorFn) (*GetClustersStateResponse, error) // DeleteClustersRuntimeID request DeleteClustersRuntimeIDWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*DeleteClustersRuntimeIDResponse, error) // GetClustersRuntimeIDConfigConfigVersionStatus request GetClustersRuntimeIDConfigConfigVersionStatusWithResponse(ctx context.Context, runtimeID string, configVersion string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDConfigConfigVersionStatusResponse, error) // GetClustersRuntimeIDConfigVersion request GetClustersRuntimeIDConfigVersionWithResponse(ctx context.Context, runtimeID string, version string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDConfigVersionResponse, error) // GetClustersRuntimeIDStatus request GetClustersRuntimeIDStatusWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDStatusResponse, error) // PutClustersRuntimeIDStatus request with any body PutClustersRuntimeIDStatusWithBodyWithResponse(ctx context.Context, runtimeID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PutClustersRuntimeIDStatusResponse, error) PutClustersRuntimeIDStatusWithResponse(ctx context.Context, runtimeID string, body PutClustersRuntimeIDStatusJSONRequestBody, reqEditors ...RequestEditorFn) (*PutClustersRuntimeIDStatusResponse, error) // GetClustersRuntimeIDStatusChanges request GetClustersRuntimeIDStatusChangesWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*GetClustersRuntimeIDStatusChangesResponse, error) // PutOperationsSchedulingIDCorrelationIDDebug request PutOperationsSchedulingIDCorrelationIDDebugWithResponse(ctx context.Context, schedulingID string, correlationID string, reqEditors ...RequestEditorFn) (*PutOperationsSchedulingIDCorrelationIDDebugResponse, error) // PostOperationsSchedulingIDCorrelationIDStop request with any body PostOperationsSchedulingIDCorrelationIDStopWithBodyWithResponse(ctx context.Context, schedulingID string, correlationID string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostOperationsSchedulingIDCorrelationIDStopResponse, error) PostOperationsSchedulingIDCorrelationIDStopWithResponse(ctx context.Context, schedulingID string, correlationID string, body PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody, reqEditors ...RequestEditorFn) (*PostOperationsSchedulingIDCorrelationIDStopResponse, error) // GetReconciliations request GetReconciliationsWithResponse(ctx context.Context, params *GetReconciliationsParams, reqEditors ...RequestEditorFn) (*GetReconciliationsResponse, error) // DeleteReconciliationsClusterRuntimeID request DeleteReconciliationsClusterRuntimeIDWithResponse(ctx context.Context, runtimeID string, reqEditors ...RequestEditorFn) (*DeleteReconciliationsClusterRuntimeIDResponse, error) // PutReconciliationsSchedulingIDDebug request PutReconciliationsSchedulingIDDebugWithResponse(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*PutReconciliationsSchedulingIDDebugResponse, error) // GetReconciliationsSchedulingIDInfo request GetReconciliationsSchedulingIDInfoWithResponse(ctx context.Context, schedulingID string, reqEditors ...RequestEditorFn) (*GetReconciliationsSchedulingIDInfoResponse, error) }
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Cluster ¶
type Cluster struct { // valid kubeconfig to cluster Kubeconfig string `json:"kubeconfig"` KymaConfig KymaConfig `json:"kymaConfig"` Metadata Metadata `json:"metadata"` RuntimeID string `json:"runtimeID"` RuntimeInput RuntimeInput `json:"runtimeInput"` }
Cluster defines model for cluster.
type ClusterState ¶
type ClusterState struct { Contract *int64 `json:"contract,omitempty"` Created *time.Time `json:"created,omitempty"` Metadata *Metadata `json:"metadata,omitempty"` Runtime *RuntimeInput `json:"runtime,omitempty"` RuntimeID *string `json:"runtimeID,omitempty"` Version *int64 `json:"version,omitempty"` }
ClusterState defines model for clusterState.
type ClusterStateConfiguration ¶
type ClusterStateConfiguration struct { Administrators *[]string `json:"administrators,omitempty"` ClusterVersion *int64 `json:"clusterVersion,omitempty"` Components *[]Component `json:"components,omitempty"` Contract *int64 `json:"contract,omitempty"` Created *time.Time `json:"created,omitempty"` Deleted *bool `json:"deleted,omitempty"` KymaProfile *string `json:"kymaProfile,omitempty"` KymaVersion *string `json:"kymaVersion,omitempty"` RuntimeID *string `json:"runtimeID,omitempty"` Version *int64 `json:"version,omitempty"` }
ClusterStateConfiguration defines model for clusterStateConfiguration.
type ClusterStateStatus ¶
type ClusterStateStatus struct { ClusterVersion *int64 `json:"clusterVersion,omitempty"` ConfigVersion *int64 `json:"configVersion,omitempty"` Created *time.Time `json:"created,omitempty"` Deleted *bool `json:"deleted,omitempty"` Id *int64 `json:"id,omitempty"` RuntimeID *string `json:"runtimeID,omitempty"` Status *Status `json:"status,omitempty"` }
ClusterStateStatus defines model for clusterStateStatus.
type Component ¶
type Component struct { URL string `json:"URL"` Component string `json:"component"` Configuration []Configuration `json:"configuration"` Namespace string `json:"namespace"` Version string `json:"version"` }
Component defines model for component.
type Configuration ¶
type Configuration struct { Key string `json:"key"` Secret bool `json:"secret"` Value interface{} `json:"value"` }
Configuration defines model for configuration.
type ConfigurationOkResponse ¶
type ConfigurationOkResponse HTTPClusterConfig
ConfigurationOkResponse defines model for configurationOkResponse.
type DeleteClustersRuntimeIDResponse ¶
type DeleteClustersRuntimeIDResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterResponse JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseDeleteClustersRuntimeIDResponse ¶
func ParseDeleteClustersRuntimeIDResponse(rsp *http.Response) (*DeleteClustersRuntimeIDResponse, error)
ParseDeleteClustersRuntimeIDResponse parses an HTTP response from a DeleteClustersRuntimeIDWithResponse call
func (DeleteClustersRuntimeIDResponse) Status ¶
func (r DeleteClustersRuntimeIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteClustersRuntimeIDResponse) StatusCode ¶
func (r DeleteClustersRuntimeIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReconciliationsClusterRuntimeIDResponse ¶
type DeleteReconciliationsClusterRuntimeIDResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseDeleteReconciliationsClusterRuntimeIDResponse ¶
func ParseDeleteReconciliationsClusterRuntimeIDResponse(rsp *http.Response) (*DeleteReconciliationsClusterRuntimeIDResponse, error)
ParseDeleteReconciliationsClusterRuntimeIDResponse parses an HTTP response from a DeleteReconciliationsClusterRuntimeIDWithResponse call
func (DeleteReconciliationsClusterRuntimeIDResponse) Status ¶
func (r DeleteReconciliationsClusterRuntimeIDResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteReconciliationsClusterRuntimeIDResponse) StatusCode ¶
func (r DeleteReconciliationsClusterRuntimeIDResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersRuntimeIDConfigConfigVersionStatusResponse ¶
type GetClustersRuntimeIDConfigConfigVersionStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterResponse JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseGetClustersRuntimeIDConfigConfigVersionStatusResponse ¶
func ParseGetClustersRuntimeIDConfigConfigVersionStatusResponse(rsp *http.Response) (*GetClustersRuntimeIDConfigConfigVersionStatusResponse, error)
ParseGetClustersRuntimeIDConfigConfigVersionStatusResponse parses an HTTP response from a GetClustersRuntimeIDConfigConfigVersionStatusWithResponse call
func (GetClustersRuntimeIDConfigConfigVersionStatusResponse) Status ¶
func (r GetClustersRuntimeIDConfigConfigVersionStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersRuntimeIDConfigConfigVersionStatusResponse) StatusCode ¶
func (r GetClustersRuntimeIDConfigConfigVersionStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersRuntimeIDConfigVersionResponse ¶
type GetClustersRuntimeIDConfigVersionResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterConfig }
func ParseGetClustersRuntimeIDConfigVersionResponse ¶
func ParseGetClustersRuntimeIDConfigVersionResponse(rsp *http.Response) (*GetClustersRuntimeIDConfigVersionResponse, error)
ParseGetClustersRuntimeIDConfigVersionResponse parses an HTTP response from a GetClustersRuntimeIDConfigVersionWithResponse call
func (GetClustersRuntimeIDConfigVersionResponse) Status ¶
func (r GetClustersRuntimeIDConfigVersionResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersRuntimeIDConfigVersionResponse) StatusCode ¶
func (r GetClustersRuntimeIDConfigVersionResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersRuntimeIDStatusChangesResponse ¶
type GetClustersRuntimeIDStatusChangesResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterStatusResponse JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseGetClustersRuntimeIDStatusChangesResponse ¶
func ParseGetClustersRuntimeIDStatusChangesResponse(rsp *http.Response) (*GetClustersRuntimeIDStatusChangesResponse, error)
ParseGetClustersRuntimeIDStatusChangesResponse parses an HTTP response from a GetClustersRuntimeIDStatusChangesWithResponse call
func (GetClustersRuntimeIDStatusChangesResponse) Status ¶
func (r GetClustersRuntimeIDStatusChangesResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersRuntimeIDStatusChangesResponse) StatusCode ¶
func (r GetClustersRuntimeIDStatusChangesResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersRuntimeIDStatusResponse ¶
type GetClustersRuntimeIDStatusResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterResponse JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseGetClustersRuntimeIDStatusResponse ¶
func ParseGetClustersRuntimeIDStatusResponse(rsp *http.Response) (*GetClustersRuntimeIDStatusResponse, error)
ParseGetClustersRuntimeIDStatusResponse parses an HTTP response from a GetClustersRuntimeIDStatusWithResponse call
func (GetClustersRuntimeIDStatusResponse) Status ¶
func (r GetClustersRuntimeIDStatusResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersRuntimeIDStatusResponse) StatusCode ¶
func (r GetClustersRuntimeIDStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetClustersStateParams ¶
type GetClustersStateParams struct { RuntimeID *string `json:"runtimeID,omitempty"` SchedulingID *string `json:"schedulingID,omitempty"` CorrelationID *string `json:"correlationID,omitempty"` }
GetClustersStateParams defines parameters for GetClustersState.
type GetClustersStateResponse ¶
type GetClustersStateResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterStateResponse JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseGetClustersStateResponse ¶
func ParseGetClustersStateResponse(rsp *http.Response) (*GetClustersStateResponse, error)
ParseGetClustersStateResponse parses an HTTP response from a GetClustersStateWithResponse call
func (GetClustersStateResponse) Status ¶
func (r GetClustersStateResponse) Status() string
Status returns HTTPResponse.Status
func (GetClustersStateResponse) StatusCode ¶
func (r GetClustersStateResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReconciliationsParams ¶
type GetReconciliationsParams struct { RuntimeID *[]string `json:"runtimeID,omitempty"` Before *time.Time `json:"before,omitempty"` After *time.Time `json:"after,omitempty"` Last *int `json:"last,omitempty"` Status *[]Status `json:"status,omitempty"` }
GetReconciliationsParams defines parameters for GetReconciliations.
type GetReconciliationsResponse ¶
type GetReconciliationsResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPReconcilerStatus JSON400 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseGetReconciliationsResponse ¶
func ParseGetReconciliationsResponse(rsp *http.Response) (*GetReconciliationsResponse, error)
ParseGetReconciliationsResponse parses an HTTP response from a GetReconciliationsWithResponse call
func (GetReconciliationsResponse) Status ¶
func (r GetReconciliationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetReconciliationsResponse) StatusCode ¶
func (r GetReconciliationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetReconciliationsSchedulingIDInfoResponse ¶
type GetReconciliationsSchedulingIDInfoResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPReconciliationInfo JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParseGetReconciliationsSchedulingIDInfoResponse ¶
func ParseGetReconciliationsSchedulingIDInfoResponse(rsp *http.Response) (*GetReconciliationsSchedulingIDInfoResponse, error)
ParseGetReconciliationsSchedulingIDInfoResponse parses an HTTP response from a GetReconciliationsSchedulingIDInfoWithResponse call
func (GetReconciliationsSchedulingIDInfoResponse) Status ¶
func (r GetReconciliationsSchedulingIDInfoResponse) Status() string
Status returns HTTPResponse.Status
func (GetReconciliationsSchedulingIDInfoResponse) StatusCode ¶
func (r GetReconciliationsSchedulingIDInfoResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HTTPClusterConfig ¶
type HTTPClusterConfig KymaConfig
HTTPClusterConfig defines model for HTTPClusterConfig.
type HTTPClusterResponse ¶
type HTTPClusterResponse struct { Cluster string `json:"cluster"` ClusterVersion int64 `json:"clusterVersion"` ConfigurationVersion int64 `json:"configurationVersion"` Failures *[]Failure `json:"failures,omitempty"` Status Status `json:"status"` StatusURL string `json:"statusURL"` }
HTTPClusterResponse defines model for HTTPClusterResponse.
type HTTPClusterStateResponse ¶
type HTTPClusterStateResponse struct { Cluster ClusterState `json:"cluster"` Configuration ClusterStateConfiguration `json:"configuration"` Status ClusterStateStatus `json:"status"` }
HTTPClusterStateResponse defines model for HTTPClusterStateResponse.
type HTTPClusterStatusResponse ¶
type HTTPClusterStatusResponse struct {
StatusChanges []StatusChange `json:"statusChanges"`
}
HTTPClusterStatusResponse defines model for HTTPClusterStatusResponse.
type HTTPErrorResponse ¶
type HTTPErrorResponse struct {
Error string `json:"error"`
}
HTTPErrorResponse defines model for HTTPErrorResponse.
func ReadErrResponse ¶
func ReadErrResponse(reader io.Reader) (HTTPErrorResponse, error)
func (HTTPErrorResponse) ToError ¶
func (httpErr HTTPErrorResponse) ToError(statusCode int) error
type HTTPReconcilerStatus ¶
type HTTPReconcilerStatus []Reconciliation
HTTPReconcilerStatus defines model for HTTPReconcilerStatus.
type HTTPReconciliationInfo ¶
type HTTPReconciliationInfo struct { ConfigVersion int64 `json:"configVersion"` Created time.Time `json:"created"` Finished bool `json:"finished"` Operations []Operation `json:"operations"` RuntimeID string `json:"runtimeID"` SchedulingID string `json:"schedulingID"` Status Status `json:"status"` Updated time.Time `json:"updated"` }
HTTPReconciliationInfo defines model for HTTPReconciliationInfo.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type InternalError ¶
type InternalError HTTPErrorResponse
InternalError defines model for InternalError.
type KymaConfig ¶
type KymaConfig struct { Administrators []string `json:"administrators"` Components []Component `json:"components"` Profile string `json:"profile"` Version string `json:"version"` }
KymaConfig defines model for kymaConfig.
type Metadata ¶
type Metadata struct { GlobalAccountID string `json:"globalAccountID"` InstanceID string `json:"instanceID"` Region string `json:"region"` ServiceID string `json:"serviceID"` ServicePlanID string `json:"servicePlanID"` ServicePlanName string `json:"servicePlanName"` ShootName string `json:"shootName"` SubAccountID string `json:"subAccountID"` }
Metadata defines model for metadata.
type NotFoundResponse ¶
type NotFoundResponse HTTPErrorResponse
NotFoundResponse defines model for NotFoundResponse.
type Operation ¶
type Operation struct { Component string `json:"component"` CorrelationID string `json:"correlationID"` Created time.Time `json:"created"` Priority int64 `json:"priority"` Reason string `json:"reason"` SchedulingID string `json:"schedulingID"` State string `json:"state"` Type string `json:"type"` Updated time.Time `json:"updated"` }
Operation defines model for operation.
type OperationStop ¶
type OperationStop struct {
Reason string `json:"reason"`
}
OperationStop defines model for operationStop.
type PostClustersJSONBody ¶
type PostClustersJSONBody Cluster
PostClustersJSONBody defines parameters for PostClusters.
type PostClustersJSONRequestBody ¶
type PostClustersJSONRequestBody PostClustersJSONBody
PostClustersJSONRequestBody defines body for PostClusters for application/json ContentType.
type PostClustersResponse ¶
type PostClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterResponse JSON400 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParsePostClustersResponse ¶
func ParsePostClustersResponse(rsp *http.Response) (*PostClustersResponse, error)
ParsePostClustersResponse parses an HTTP response from a PostClustersWithResponse call
func (PostClustersResponse) Status ¶
func (r PostClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PostClustersResponse) StatusCode ¶
func (r PostClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostOperationsSchedulingIDCorrelationIDStopJSONBody ¶
type PostOperationsSchedulingIDCorrelationIDStopJSONBody OperationStop
PostOperationsSchedulingIDCorrelationIDStopJSONBody defines parameters for PostOperationsSchedulingIDCorrelationIDStop.
type PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody ¶
type PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody PostOperationsSchedulingIDCorrelationIDStopJSONBody
PostOperationsSchedulingIDCorrelationIDStopJSONRequestBody defines body for PostOperationsSchedulingIDCorrelationIDStop for application/json ContentType.
type PostOperationsSchedulingIDCorrelationIDStopResponse ¶
type PostOperationsSchedulingIDCorrelationIDStopResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HTTPErrorResponse JSON403 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParsePostOperationsSchedulingIDCorrelationIDStopResponse ¶
func ParsePostOperationsSchedulingIDCorrelationIDStopResponse(rsp *http.Response) (*PostOperationsSchedulingIDCorrelationIDStopResponse, error)
ParsePostOperationsSchedulingIDCorrelationIDStopResponse parses an HTTP response from a PostOperationsSchedulingIDCorrelationIDStopWithResponse call
func (PostOperationsSchedulingIDCorrelationIDStopResponse) Status ¶
func (r PostOperationsSchedulingIDCorrelationIDStopResponse) Status() string
Status returns HTTPResponse.Status
func (PostOperationsSchedulingIDCorrelationIDStopResponse) StatusCode ¶
func (r PostOperationsSchedulingIDCorrelationIDStopResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutClustersJSONBody ¶
type PutClustersJSONBody Cluster
PutClustersJSONBody defines parameters for PutClusters.
type PutClustersJSONRequestBody ¶
type PutClustersJSONRequestBody PutClustersJSONBody
PutClustersJSONRequestBody defines body for PutClusters for application/json ContentType.
type PutClustersResponse ¶
type PutClustersResponse struct { Body []byte HTTPResponse *http.Response JSON200 *HTTPClusterResponse JSON400 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParsePutClustersResponse ¶
func ParsePutClustersResponse(rsp *http.Response) (*PutClustersResponse, error)
ParsePutClustersResponse parses an HTTP response from a PutClustersWithResponse call
func (PutClustersResponse) Status ¶
func (r PutClustersResponse) Status() string
Status returns HTTPResponse.Status
func (PutClustersResponse) StatusCode ¶
func (r PutClustersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutClustersRuntimeIDStatusJSONBody ¶
type PutClustersRuntimeIDStatusJSONBody StatusUpdate
PutClustersRuntimeIDStatusJSONBody defines parameters for PutClustersRuntimeIDStatus.
type PutClustersRuntimeIDStatusJSONRequestBody ¶
type PutClustersRuntimeIDStatusJSONRequestBody PutClustersRuntimeIDStatusJSONBody
PutClustersRuntimeIDStatusJSONRequestBody defines body for PutClustersRuntimeIDStatus for application/json ContentType.
type PutClustersRuntimeIDStatusResponse ¶
type PutClustersRuntimeIDStatusResponse struct { Body []byte HTTPResponse *http.Response JSON201 *HTTPClusterResponse JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParsePutClustersRuntimeIDStatusResponse ¶
func ParsePutClustersRuntimeIDStatusResponse(rsp *http.Response) (*PutClustersRuntimeIDStatusResponse, error)
ParsePutClustersRuntimeIDStatusResponse parses an HTTP response from a PutClustersRuntimeIDStatusWithResponse call
func (PutClustersRuntimeIDStatusResponse) Status ¶
func (r PutClustersRuntimeIDStatusResponse) Status() string
Status returns HTTPResponse.Status
func (PutClustersRuntimeIDStatusResponse) StatusCode ¶
func (r PutClustersRuntimeIDStatusResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutOperationsSchedulingIDCorrelationIDDebugResponse ¶
type PutOperationsSchedulingIDCorrelationIDDebugResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParsePutOperationsSchedulingIDCorrelationIDDebugResponse ¶
func ParsePutOperationsSchedulingIDCorrelationIDDebugResponse(rsp *http.Response) (*PutOperationsSchedulingIDCorrelationIDDebugResponse, error)
ParsePutOperationsSchedulingIDCorrelationIDDebugResponse parses an HTTP response from a PutOperationsSchedulingIDCorrelationIDDebugWithResponse call
func (PutOperationsSchedulingIDCorrelationIDDebugResponse) Status ¶
func (r PutOperationsSchedulingIDCorrelationIDDebugResponse) Status() string
Status returns HTTPResponse.Status
func (PutOperationsSchedulingIDCorrelationIDDebugResponse) StatusCode ¶
func (r PutOperationsSchedulingIDCorrelationIDDebugResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PutReconciliationsSchedulingIDDebugResponse ¶
type PutReconciliationsSchedulingIDDebugResponse struct { Body []byte HTTPResponse *http.Response JSON400 *HTTPErrorResponse JSON404 *HTTPErrorResponse JSON500 *HTTPErrorResponse }
func ParsePutReconciliationsSchedulingIDDebugResponse ¶
func ParsePutReconciliationsSchedulingIDDebugResponse(rsp *http.Response) (*PutReconciliationsSchedulingIDDebugResponse, error)
ParsePutReconciliationsSchedulingIDDebugResponse parses an HTTP response from a PutReconciliationsSchedulingIDDebugWithResponse call
func (PutReconciliationsSchedulingIDDebugResponse) Status ¶
func (r PutReconciliationsSchedulingIDDebugResponse) Status() string
Status returns HTTPResponse.Status
func (PutReconciliationsSchedulingIDDebugResponse) StatusCode ¶
func (r PutReconciliationsSchedulingIDDebugResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ReconcilationsOKResponse ¶
type ReconcilationsOKResponse HTTPReconcilerStatus
ReconcilationsOKResponse defines model for ReconcilationsOKResponse.
type Reconciliation ¶
type Reconciliation struct { Created time.Time `json:"created"` Finished bool `json:"finished"` Lock string `json:"lock"` RuntimeID string `json:"runtimeID"` SchedulingID string `json:"schedulingID"` Status Status `json:"status"` Updated time.Time `json:"updated"` }
Reconciliation defines model for reconciliation.
type ReconciliationInfoOKResponse ¶
type ReconciliationInfoOKResponse HTTPReconciliationInfo
ReconciliationInfoOKResponse defines model for ReconciliationInfoOKResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RuntimeInput ¶
RuntimeInput defines model for runtimeInput.
type Status ¶
type Status string
Status defines model for status.
const ( StatusDeleteError Status = "delete_error" StatusDeleteErrorRetryable Status = "delete_error_retryable" StatusDeletePending Status = "delete_pending" StatusDeleted Status = "deleted" StatusDeleting Status = "deleting" StatusError Status = "error" StatusReady Status = "ready" StatusReconcileDisabled Status = "reconcile_disabled" StatusReconcileErrorRetryable Status = "reconcile_error_retryable" StatusReconcilePending Status = "reconcile_pending" StatusReconciling Status = "reconciling" )
Defines values for Status.
type StatusChange ¶
type StatusChange struct { Duration int64 `json:"duration"` Started time.Time `json:"started"` Status Status `json:"status"` }
StatusChange defines model for statusChange.
type StatusUpdate ¶
type StatusUpdate struct {
Status Status `json:"status"`
}
StatusUpdate defines model for statusUpdate.