oapi

package
v0.0.0-...-ab53f96 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 15, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package oapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Package oapi provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.1 DO NOT EDIT.

Index

Constants

View Source
const (
	HEADER_KEY_AUTH_USER              = "X-Snackmgr-Authenticated-User"
	HEADER_ACCEPT                     = "Accept"
	OWNER_KEY            ContextLabel = "owner"
	CONTENT_TYPE_JSON                 = HeaderLabel("application/json")
	CONTENT_TYPE_HTML                 = HeaderLabel("text/html")
)

Variables

This section is empty.

Functions

func GetSwagger

func GetSwagger() (swagger *openapi3.T, err error)

GetSwagger returns the Swagger specification corresponding to the generated code in this file. The external references of Swagger specification are resolved. The logic of resolving external references is tightly connected to "import-mapping" feature. Externally referenced files must be embedded in the corresponding golang packages. Urls can be supported but this task was out of the scope.

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r *mux.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r *mux.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options GorillaServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

func NewGetEventsQuerySequenceIdRequest

func NewGetEventsQuerySequenceIdRequest(server string, sequenceId string) (*http.Request, error)

NewGetEventsQuerySequenceIdRequest generates requests for GetEventsQuerySequenceId

func NewGetEventsSubscribersRequest

func NewGetEventsSubscribersRequest(server string) (*http.Request, error)

NewGetEventsSubscribersRequest generates requests for GetEventsSubscribers

func NewGetLandscapeApiInstancesApiInstanceIdRequest

func NewGetLandscapeApiInstancesApiInstanceIdRequest(server string, apiInstanceId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeApiInstancesApiInstanceIdRequest generates requests for GetLandscapeApiInstancesApiInstanceId

func NewGetLandscapeApiInstancesRequest

func NewGetLandscapeApiInstancesRequest(server string) (*http.Request, error)

NewGetLandscapeApiInstancesRequest generates requests for GetLandscapeApiInstances

func NewGetLandscapeApisApiIdRequest

func NewGetLandscapeApisApiIdRequest(server string, apiId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeApisApiIdRequest generates requests for GetLandscapeApisApiId

func NewGetLandscapeApisRequest

func NewGetLandscapeApisRequest(server string) (*http.Request, error)

NewGetLandscapeApisRequest generates requests for GetLandscapeApis

func NewGetLandscapeComponentInstancesComponentInstanceIdRequest

func NewGetLandscapeComponentInstancesComponentInstanceIdRequest(server string, componentInstanceId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeComponentInstancesComponentInstanceIdRequest generates requests for GetLandscapeComponentInstancesComponentInstanceId

func NewGetLandscapeComponentInstancesRequest

func NewGetLandscapeComponentInstancesRequest(server string) (*http.Request, error)

NewGetLandscapeComponentInstancesRequest generates requests for GetLandscapeComponentInstances

func NewGetLandscapeComponentsComponentIdRequest

func NewGetLandscapeComponentsComponentIdRequest(server string, componentId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeComponentsComponentIdRequest generates requests for GetLandscapeComponentsComponentId

func NewGetLandscapeComponentsRequest

func NewGetLandscapeComponentsRequest(server string) (*http.Request, error)

NewGetLandscapeComponentsRequest generates requests for GetLandscapeComponents

func NewGetLandscapeContextsContextIdRequest

func NewGetLandscapeContextsContextIdRequest(server string, contextId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeContextsContextIdRequest generates requests for GetLandscapeContextsContextId

func NewGetLandscapeContextsRequest

func NewGetLandscapeContextsRequest(server string) (*http.Request, error)

NewGetLandscapeContextsRequest generates requests for GetLandscapeContexts

func NewGetLandscapeFindingsFindingIdRequest

func NewGetLandscapeFindingsFindingIdRequest(server string, findingId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeFindingsFindingIdRequest generates requests for GetLandscapeFindingsFindingId

func NewGetLandscapeFindingsRequest

func NewGetLandscapeFindingsRequest(server string) (*http.Request, error)

NewGetLandscapeFindingsRequest generates requests for GetLandscapeFindings

func NewGetLandscapeSystemInstancesRequest

func NewGetLandscapeSystemInstancesRequest(server string) (*http.Request, error)

NewGetLandscapeSystemInstancesRequest generates requests for GetLandscapeSystemInstances

func NewGetLandscapeSystemInstancesSystemInstanceIdRequest

func NewGetLandscapeSystemInstancesSystemInstanceIdRequest(server string, systemInstanceId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeSystemInstancesSystemInstanceIdRequest generates requests for GetLandscapeSystemInstancesSystemInstanceId

func NewGetLandscapeSystemsRequest

func NewGetLandscapeSystemsRequest(server string) (*http.Request, error)

NewGetLandscapeSystemsRequest generates requests for GetLandscapeSystems

func NewGetLandscapeSystemsSystemIdRequest

func NewGetLandscapeSystemsSystemIdRequest(server string, systemId openapi_types.UUID) (*http.Request, error)

NewGetLandscapeSystemsSystemIdRequest generates requests for GetLandscapeSystemsSystemId

func NewGetTestRequest

func NewGetTestRequest(server string) (*http.Request, error)

NewGetTestRequest generates requests for GetTest

func NewPostEventsRegisterRequest

func NewPostEventsRegisterRequest(server string, body PostEventsRegisterJSONRequestBody) (*http.Request, error)

NewPostEventsRegisterRequest calls the generic PostEventsRegister builder with application/json body

func NewPostEventsRegisterRequestWithBody

func NewPostEventsRegisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostEventsRegisterRequestWithBody generates requests for PostEventsRegister with any type of body

func NewPostEventsUnregisterRequest

func NewPostEventsUnregisterRequest(server string, body PostEventsUnregisterJSONRequestBody) (*http.Request, error)

NewPostEventsUnregisterRequest calls the generic PostEventsUnregister builder with application/json body

func NewPostEventsUnregisterRequestWithBody

func NewPostEventsUnregisterRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)

NewPostEventsUnregisterRequestWithBody generates requests for PostEventsUnregister with any type of body

func PathToRawSpec

func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)

Constructs a synthetic filesystem for resolving external references when loading openapi specifications.

Types

type API

type API struct {
	// Annotations A set of key-value pairs for storing additional metadata about the API instance.
	Annotations *[]Annotation `json:"annotations,omitempty"`

	// ApiId An UUID that uniquely identifies the API. It should be generated and assigned when the API is created and must remain constant throughout the API's lifecycle. The field is optional in some contexts, such as when creating a new API where the ID may be generated by the system itself.
	ApiId *openapi_types.UUID `json:"apiId,omitempty"`

	// Description A brief description of the API's purpose and functionality.
	Description *string `json:"description,omitempty"`

	// DisplayName The human-readable name of the API.
	DisplayName string `json:"displayName"`

	// System The UUID of the system that provides this API.
	System *openapi_types.UUID `json:"system,omitempty"`

	// Type The type of the API (e.g., OpenAPI, gRPC, GraphQL). If the type is unknown, it should be set to "Unknown". If the type does not fit any predefined categories, it should be set to "Other". In such cases, additional details about the API type should be provided in the description field.
	Type interface{} `json:"type"`

	// Version Version information for all objects in the EmELand model.
	Version *Version `json:"version,omitempty"`
}

API defines model for API.

type Annotation

type Annotation struct {
	// Key The key of the annotation. It serves as the identifier for the annotation entry.
	Key string `json:"key"`

	// Value The value associated with the annotation key. It provides additional information or metadata related to the key.
	Value string `json:"value"`
}

Annotation Represents a key-value pair used for annotating systems and other entities in the EmELand model.

type ApiInstance

type ApiInstance struct {
	// Annotations A set of key-value pairs for storing additional metadata about the API instance.
	Annotations *[]Annotation `json:"annotations,omitempty"`

	// Api The UUID of the API that this instance realizes. This can be left empty if the API resource has not been created yet, but will trigger an entry in the finding list.
	Api *openapi_types.UUID `json:"api,omitempty"`

	// ApiInstanceId An UUID that uniquely identifies the API instance. It should be generated and assigned when the instance is created and must remain constant throughout the instance's lifecycle. The field is optional in some contexts, such as when creating a new instance where the ID may be generated by the system itself.
	ApiInstanceId openapi_types.UUID `json:"apiInstanceId"`

	// DisplayName The human-readable name of the API instance.
	DisplayName string `json:"displayName"`

	// SystemInstance The UUID of the system instance that contains this API instance. This can be left empty if the SystemInstance resource has not been created yet, but will trigger an entry in the finding list.
	SystemInstance *openapi_types.UUID `json:"systemInstance,omitempty"`
}

ApiInstance defines model for ApiInstance.

type ApiServer

type ApiServer struct {
	Backend model.Model
	Events  events.EventManager
	BaseURL string
}

func NewApiServer

func NewApiServer(backend model.Model, eventMgr events.EventManager, baseUrl string) *ApiServer

func (*ApiServer) GetEventsQuerySequenceId

GetEventsQuerySequenceId implements StrictServerInterface.

func (*ApiServer) GetEventsSubscribers

GetEventsSubscribers implements StrictServerInterface.

func (*ApiServer) GetLandscapeApiInstances

GetLandscapeApiInstances implements StrictServerInterface.

func (*ApiServer) GetLandscapeApiInstancesApiInstanceId

GetLandscapeApiInstancesApiInstanceId implements StrictServerInterface.

func (*ApiServer) GetLandscapeApis

GetLandscapeApis implements StrictServerInterface.

func (*ApiServer) GetLandscapeApisApiId

GetLandscapeApisApiId implements StrictServerInterface.

func (*ApiServer) GetLandscapeComponentInstances

GetLandscapeComponentInstances implements StrictServerInterface.

func (*ApiServer) GetLandscapeComponentInstancesComponentInstanceId

GetLandscapeComponentInstancesComponentInstanceId implements StrictServerInterface.

func (*ApiServer) GetLandscapeComponents

GetLandscapeComponents implements StrictServerInterface.

func (*ApiServer) GetLandscapeComponentsComponentId

GetLandscapeComponentsComponentId implements StrictServerInterface.

func (*ApiServer) GetLandscapeContexts

GetLandscapeContexts implements StrictServerInterface.

func (*ApiServer) GetLandscapeContextsContextId

GetLandscapeContextsContextId implements StrictServerInterface.

func (*ApiServer) GetLandscapeFindings

GetLandscapeFindings implements StrictServerInterface.

func (*ApiServer) GetLandscapeFindingsFindingId

GetLandscapeFindingsFindingId implements StrictServerInterface.

func (*ApiServer) GetLandscapeSystemInstances

GetLandscapeSystemInstances implements StrictServerInterface.

func (*ApiServer) GetLandscapeSystemInstancesSystemInstanceId

GetLandscapeSystemInstancesSystemInstanceId implements StrictServerInterface.

func (*ApiServer) GetLandscapeSystems

GetLandscapeSystems implements StrictServerInterface.

func (*ApiServer) GetLandscapeSystemsSystemId

GetLandscapeSystemsSystemId implements StrictServerInterface.

func (*ApiServer) GetTest

GetTest implements StrictServerInterface.

func (*ApiServer) PostEventsRegister

PostEventsRegister implements StrictServerInterface.

func (*ApiServer) PostEventsUnregister

PostEventsUnregister implements StrictServerInterface.

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) GetEventsQuerySequenceId

func (c *Client) GetEventsQuerySequenceId(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetEventsSubscribers

func (c *Client) GetEventsSubscribers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeApiInstances

func (c *Client) GetLandscapeApiInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeApiInstancesApiInstanceId

func (c *Client) GetLandscapeApiInstancesApiInstanceId(ctx context.Context, apiInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeApis

func (c *Client) GetLandscapeApis(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeApisApiId

func (c *Client) GetLandscapeApisApiId(ctx context.Context, apiId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeComponentInstances

func (c *Client) GetLandscapeComponentInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeComponentInstancesComponentInstanceId

func (c *Client) GetLandscapeComponentInstancesComponentInstanceId(ctx context.Context, componentInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeComponents

func (c *Client) GetLandscapeComponents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeComponentsComponentId

func (c *Client) GetLandscapeComponentsComponentId(ctx context.Context, componentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeContexts

func (c *Client) GetLandscapeContexts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeContextsContextId

func (c *Client) GetLandscapeContextsContextId(ctx context.Context, contextId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeFindings

func (c *Client) GetLandscapeFindings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeFindingsFindingId

func (c *Client) GetLandscapeFindingsFindingId(ctx context.Context, findingId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeSystemInstances

func (c *Client) GetLandscapeSystemInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeSystemInstancesSystemInstanceId

func (c *Client) GetLandscapeSystemInstancesSystemInstanceId(ctx context.Context, systemInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeSystems

func (c *Client) GetLandscapeSystems(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetLandscapeSystemsSystemId

func (c *Client) GetLandscapeSystemsSystemId(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) GetTest

func (c *Client) GetTest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostEventsRegister

func (c *Client) PostEventsRegister(ctx context.Context, body PostEventsRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostEventsRegisterWithBody

func (c *Client) PostEventsRegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostEventsUnregister

func (c *Client) PostEventsUnregister(ctx context.Context, body PostEventsUnregisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

func (*Client) PostEventsUnregisterWithBody

func (c *Client) PostEventsUnregisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

type ClientInterface

type ClientInterface interface {
	// GetEventsQuerySequenceId request
	GetEventsQuerySequenceId(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostEventsRegisterWithBody request with any body
	PostEventsRegisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostEventsRegister(ctx context.Context, body PostEventsRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetEventsSubscribers request
	GetEventsSubscribers(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// PostEventsUnregisterWithBody request with any body
	PostEventsUnregisterWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)

	PostEventsUnregister(ctx context.Context, body PostEventsUnregisterJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeApiInstances request
	GetLandscapeApiInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeApiInstancesApiInstanceId request
	GetLandscapeApiInstancesApiInstanceId(ctx context.Context, apiInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeApis request
	GetLandscapeApis(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeApisApiId request
	GetLandscapeApisApiId(ctx context.Context, apiId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeComponentInstances request
	GetLandscapeComponentInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeComponentInstancesComponentInstanceId request
	GetLandscapeComponentInstancesComponentInstanceId(ctx context.Context, componentInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeComponents request
	GetLandscapeComponents(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeComponentsComponentId request
	GetLandscapeComponentsComponentId(ctx context.Context, componentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeContexts request
	GetLandscapeContexts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeContextsContextId request
	GetLandscapeContextsContextId(ctx context.Context, contextId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeFindings request
	GetLandscapeFindings(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeFindingsFindingId request
	GetLandscapeFindingsFindingId(ctx context.Context, findingId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeSystemInstances request
	GetLandscapeSystemInstances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeSystemInstancesSystemInstanceId request
	GetLandscapeSystemInstancesSystemInstanceId(ctx context.Context, systemInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeSystems request
	GetLandscapeSystems(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetLandscapeSystemsSystemId request
	GetLandscapeSystemsSystemId(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)

	// GetTest request
	GetTest(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
}

The interface specification for the client above.

type ClientOption

type ClientOption func(*Client) error

ClientOption allows setting custom parameters during construction

func WithBaseURL

func WithBaseURL(baseURL string) ClientOption

WithBaseURL overrides the baseURL.

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) GetEventsQuerySequenceIdWithResponse

func (c *ClientWithResponses) GetEventsQuerySequenceIdWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*GetEventsQuerySequenceIdResponse, error)

GetEventsQuerySequenceIdWithResponse request returning *GetEventsQuerySequenceIdResponse

func (*ClientWithResponses) GetEventsSubscribersWithResponse

func (c *ClientWithResponses) GetEventsSubscribersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEventsSubscribersResponse, error)

GetEventsSubscribersWithResponse request returning *GetEventsSubscribersResponse

func (*ClientWithResponses) GetLandscapeApiInstancesApiInstanceIdWithResponse

func (c *ClientWithResponses) GetLandscapeApiInstancesApiInstanceIdWithResponse(ctx context.Context, apiInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeApiInstancesApiInstanceIdResponse, error)

GetLandscapeApiInstancesApiInstanceIdWithResponse request returning *GetLandscapeApiInstancesApiInstanceIdResponse

func (*ClientWithResponses) GetLandscapeApiInstancesWithResponse

func (c *ClientWithResponses) GetLandscapeApiInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeApiInstancesResponse, error)

GetLandscapeApiInstancesWithResponse request returning *GetLandscapeApiInstancesResponse

func (*ClientWithResponses) GetLandscapeApisApiIdWithResponse

func (c *ClientWithResponses) GetLandscapeApisApiIdWithResponse(ctx context.Context, apiId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeApisApiIdResponse, error)

GetLandscapeApisApiIdWithResponse request returning *GetLandscapeApisApiIdResponse

func (*ClientWithResponses) GetLandscapeApisWithResponse

func (c *ClientWithResponses) GetLandscapeApisWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeApisResponse, error)

GetLandscapeApisWithResponse request returning *GetLandscapeApisResponse

func (*ClientWithResponses) GetLandscapeComponentInstancesComponentInstanceIdWithResponse

func (c *ClientWithResponses) GetLandscapeComponentInstancesComponentInstanceIdWithResponse(ctx context.Context, componentInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeComponentInstancesComponentInstanceIdResponse, error)

GetLandscapeComponentInstancesComponentInstanceIdWithResponse request returning *GetLandscapeComponentInstancesComponentInstanceIdResponse

func (*ClientWithResponses) GetLandscapeComponentInstancesWithResponse

func (c *ClientWithResponses) GetLandscapeComponentInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeComponentInstancesResponse, error)

GetLandscapeComponentInstancesWithResponse request returning *GetLandscapeComponentInstancesResponse

func (*ClientWithResponses) GetLandscapeComponentsComponentIdWithResponse

func (c *ClientWithResponses) GetLandscapeComponentsComponentIdWithResponse(ctx context.Context, componentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeComponentsComponentIdResponse, error)

GetLandscapeComponentsComponentIdWithResponse request returning *GetLandscapeComponentsComponentIdResponse

func (*ClientWithResponses) GetLandscapeComponentsWithResponse

func (c *ClientWithResponses) GetLandscapeComponentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeComponentsResponse, error)

GetLandscapeComponentsWithResponse request returning *GetLandscapeComponentsResponse

func (*ClientWithResponses) GetLandscapeContextsContextIdWithResponse

func (c *ClientWithResponses) GetLandscapeContextsContextIdWithResponse(ctx context.Context, contextId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeContextsContextIdResponse, error)

GetLandscapeContextsContextIdWithResponse request returning *GetLandscapeContextsContextIdResponse

func (*ClientWithResponses) GetLandscapeContextsWithResponse

func (c *ClientWithResponses) GetLandscapeContextsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeContextsResponse, error)

GetLandscapeContextsWithResponse request returning *GetLandscapeContextsResponse

func (*ClientWithResponses) GetLandscapeFindingsFindingIdWithResponse

func (c *ClientWithResponses) GetLandscapeFindingsFindingIdWithResponse(ctx context.Context, findingId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeFindingsFindingIdResponse, error)

GetLandscapeFindingsFindingIdWithResponse request returning *GetLandscapeFindingsFindingIdResponse

func (*ClientWithResponses) GetLandscapeFindingsWithResponse

func (c *ClientWithResponses) GetLandscapeFindingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeFindingsResponse, error)

GetLandscapeFindingsWithResponse request returning *GetLandscapeFindingsResponse

func (*ClientWithResponses) GetLandscapeSystemInstancesSystemInstanceIdWithResponse

func (c *ClientWithResponses) GetLandscapeSystemInstancesSystemInstanceIdWithResponse(ctx context.Context, systemInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeSystemInstancesSystemInstanceIdResponse, error)

GetLandscapeSystemInstancesSystemInstanceIdWithResponse request returning *GetLandscapeSystemInstancesSystemInstanceIdResponse

func (*ClientWithResponses) GetLandscapeSystemInstancesWithResponse

func (c *ClientWithResponses) GetLandscapeSystemInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeSystemInstancesResponse, error)

GetLandscapeSystemInstancesWithResponse request returning *GetLandscapeSystemInstancesResponse

func (*ClientWithResponses) GetLandscapeSystemsSystemIdWithResponse

func (c *ClientWithResponses) GetLandscapeSystemsSystemIdWithResponse(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeSystemsSystemIdResponse, error)

GetLandscapeSystemsSystemIdWithResponse request returning *GetLandscapeSystemsSystemIdResponse

func (*ClientWithResponses) GetLandscapeSystemsWithResponse

func (c *ClientWithResponses) GetLandscapeSystemsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeSystemsResponse, error)

GetLandscapeSystemsWithResponse request returning *GetLandscapeSystemsResponse

func (*ClientWithResponses) GetTestWithResponse

func (c *ClientWithResponses) GetTestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTestResponse, error)

GetTestWithResponse request returning *GetTestResponse

func (*ClientWithResponses) PostEventsRegisterWithBodyWithResponse

func (c *ClientWithResponses) PostEventsRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsRegisterResponse, error)

PostEventsRegisterWithBodyWithResponse request with arbitrary body returning *PostEventsRegisterResponse

func (*ClientWithResponses) PostEventsRegisterWithResponse

func (c *ClientWithResponses) PostEventsRegisterWithResponse(ctx context.Context, body PostEventsRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsRegisterResponse, error)

func (*ClientWithResponses) PostEventsUnregisterWithBodyWithResponse

func (c *ClientWithResponses) PostEventsUnregisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsUnregisterResponse, error)

PostEventsUnregisterWithBodyWithResponse request with arbitrary body returning *PostEventsUnregisterResponse

func (*ClientWithResponses) PostEventsUnregisterWithResponse

func (c *ClientWithResponses) PostEventsUnregisterWithResponse(ctx context.Context, body PostEventsUnregisterJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsUnregisterResponse, error)

type ClientWithResponsesInterface

type ClientWithResponsesInterface interface {
	// GetEventsQuerySequenceIdWithResponse request
	GetEventsQuerySequenceIdWithResponse(ctx context.Context, sequenceId string, reqEditors ...RequestEditorFn) (*GetEventsQuerySequenceIdResponse, error)

	// PostEventsRegisterWithBodyWithResponse request with any body
	PostEventsRegisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsRegisterResponse, error)

	PostEventsRegisterWithResponse(ctx context.Context, body PostEventsRegisterJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsRegisterResponse, error)

	// GetEventsSubscribersWithResponse request
	GetEventsSubscribersWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetEventsSubscribersResponse, error)

	// PostEventsUnregisterWithBodyWithResponse request with any body
	PostEventsUnregisterWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostEventsUnregisterResponse, error)

	PostEventsUnregisterWithResponse(ctx context.Context, body PostEventsUnregisterJSONRequestBody, reqEditors ...RequestEditorFn) (*PostEventsUnregisterResponse, error)

	// GetLandscapeApiInstancesWithResponse request
	GetLandscapeApiInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeApiInstancesResponse, error)

	// GetLandscapeApiInstancesApiInstanceIdWithResponse request
	GetLandscapeApiInstancesApiInstanceIdWithResponse(ctx context.Context, apiInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeApiInstancesApiInstanceIdResponse, error)

	// GetLandscapeApisWithResponse request
	GetLandscapeApisWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeApisResponse, error)

	// GetLandscapeApisApiIdWithResponse request
	GetLandscapeApisApiIdWithResponse(ctx context.Context, apiId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeApisApiIdResponse, error)

	// GetLandscapeComponentInstancesWithResponse request
	GetLandscapeComponentInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeComponentInstancesResponse, error)

	// GetLandscapeComponentInstancesComponentInstanceIdWithResponse request
	GetLandscapeComponentInstancesComponentInstanceIdWithResponse(ctx context.Context, componentInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeComponentInstancesComponentInstanceIdResponse, error)

	// GetLandscapeComponentsWithResponse request
	GetLandscapeComponentsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeComponentsResponse, error)

	// GetLandscapeComponentsComponentIdWithResponse request
	GetLandscapeComponentsComponentIdWithResponse(ctx context.Context, componentId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeComponentsComponentIdResponse, error)

	// GetLandscapeContextsWithResponse request
	GetLandscapeContextsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeContextsResponse, error)

	// GetLandscapeContextsContextIdWithResponse request
	GetLandscapeContextsContextIdWithResponse(ctx context.Context, contextId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeContextsContextIdResponse, error)

	// GetLandscapeFindingsWithResponse request
	GetLandscapeFindingsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeFindingsResponse, error)

	// GetLandscapeFindingsFindingIdWithResponse request
	GetLandscapeFindingsFindingIdWithResponse(ctx context.Context, findingId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeFindingsFindingIdResponse, error)

	// GetLandscapeSystemInstancesWithResponse request
	GetLandscapeSystemInstancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeSystemInstancesResponse, error)

	// GetLandscapeSystemInstancesSystemInstanceIdWithResponse request
	GetLandscapeSystemInstancesSystemInstanceIdWithResponse(ctx context.Context, systemInstanceId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeSystemInstancesSystemInstanceIdResponse, error)

	// GetLandscapeSystemsWithResponse request
	GetLandscapeSystemsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetLandscapeSystemsResponse, error)

	// GetLandscapeSystemsSystemIdWithResponse request
	GetLandscapeSystemsSystemIdWithResponse(ctx context.Context, systemId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetLandscapeSystemsSystemIdResponse, error)

	// GetTestWithResponse request
	GetTestWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetTestResponse, error)
}

ClientWithResponsesInterface is the interface specification for the client with responses above.

type Component

type Component struct {
	// Annotations A set of key-value pairs for storing additional metadata about the component.
	Annotations *[]Annotation `json:"annotations,omitempty"`

	// ComponentId An UUID that uniquely identifies the component. It should be generated and assigned when the component is created and must remain constant throughout the component's lifecycle. The field is optional in some contexts, such as when creating a new component where the ID may be generated by the system itself.
	ComponentId *openapi_types.UUID `json:"componentId,omitempty"`

	// Consumes A list of API UUIDs that this component consumes.
	Consumes *[]openapi_types.UUID `json:"consumes,omitempty"`

	// Description A brief description of the component's purpose and functionality.
	Description *string `json:"description,omitempty"`

	// DisplayName The human-readable name of the component.
	DisplayName string `json:"displayName"`

	// Provides A list of API UUIDs that this component provides.
	Provides *[]openapi_types.UUID `json:"provides,omitempty"`

	// System The UUID of the system that contains this component.
	System openapi_types.UUID `json:"system"`

	// Version Version information for all objects in the EmELand model.
	Version *Version `json:"version,omitempty"`
}

Component defines model for Component.

type ComponentInstance

type ComponentInstance struct {
	// Annotations A set of key-value pairs for storing additional metadata about the component instance.
	Annotations *[]Annotation `json:"annotations,omitempty"`

	// Component The UUID of the component that this instance realizes.
	Component openapi_types.UUID `json:"component"`

	// ComponentInstanceId An UUID that uniquely identifies the component instance. It should be generated and assigned when the instance is created and must remain constant throughout the instance's lifecycle. The field is optional in some contexts, such as when creating a new instance where the ID may be generated by the system itself.
	ComponentInstanceId openapi_types.UUID `json:"componentInstanceId"`

	// Consumes A list of API instance UUIDs that this component instance consumes.
	Consumes []openapi_types.UUID `json:"consumes"`

	// DisplayName The human-readable name of the component instance.
	DisplayName string `json:"displayName"`

	// Provides A list of API instance UUIDs that this component instance provides.
	Provides []openapi_types.UUID `json:"provides"`

	// SystemInstance The UUID of the system instance that contains this component instance.
	SystemInstance openapi_types.UUID `json:"systemInstance"`
}

ComponentInstance defines model for ComponentInstance.

type Context

type Context struct {
	// Annotations A set of key-value pairs for storing additional metadata about the context.
	Annotations *[]Annotation `json:"annotations,omitempty"`

	// ContextId An UUID that uniquely identifies the context. It should be generated and assigned when the context is created and must remain constant throughout the context's lifecycle. The field is optional in some contexts, such as when creating a new context where the ID may be generated by the system itself.
	ContextId openapi_types.UUID `json:"contextId"`

	// Description A brief description of the context's purpose and scope.
	Description *string `json:"description,omitempty"`

	// DisplayName The human-readable name of the context.
	DisplayName string `json:"displayName"`

	// Parent The UUID of the parent context, if applicable. This field is optional and may be omitted if the context has no parent. It establishes a hierarchical relationship between contexts.
	Parent *openapi_types.UUID `json:"parent,omitempty"`
}

Context Represents a context in the EmELand model. A context is a high-level categorization or domain that groups systems and other entities based on shared characteristics or purposes.

type ContextLabel

type ContextLabel string

type ErrorString

type ErrorString = string

ErrorString defines model for ErrorString.

type Finding

type Finding struct {
	// Annotations A set of key-value pairs for storing additional metadata about the finding.
	Annotations *[]Annotation      `json:"annotations,omitempty"`
	Description *string            `json:"description,omitempty"`
	FindingId   openapi_types.UUID `json:"findingId"`
	Resources   []ResourceRef      `json:"resources"`
	Summary     string             `json:"summary"`
}

Finding Represents the finding of a rule violation. Rules may either be defined for semantic correctness of the model or for compliance checks against external regulations and standards.

type GetEventsQuerySequenceId200Response

type GetEventsQuerySequenceId200Response struct {
}

func (GetEventsQuerySequenceId200Response) VisitGetEventsQuerySequenceIdResponse

func (response GetEventsQuerySequenceId200Response) VisitGetEventsQuerySequenceIdResponse(w http.ResponseWriter) error

type GetEventsQuerySequenceId308Response

type GetEventsQuerySequenceId308Response struct {
}

func (GetEventsQuerySequenceId308Response) VisitGetEventsQuerySequenceIdResponse

func (response GetEventsQuerySequenceId308Response) VisitGetEventsQuerySequenceIdResponse(w http.ResponseWriter) error

type GetEventsQuerySequenceId404JSONResponse

type GetEventsQuerySequenceId404JSONResponse ErrorString

func (GetEventsQuerySequenceId404JSONResponse) VisitGetEventsQuerySequenceIdResponse

func (response GetEventsQuerySequenceId404JSONResponse) VisitGetEventsQuerySequenceIdResponse(w http.ResponseWriter) error

type GetEventsQuerySequenceIdRequestObject

type GetEventsQuerySequenceIdRequestObject struct {
	SequenceId string `json:"sequenceId"`
}

type GetEventsQuerySequenceIdResponse

type GetEventsQuerySequenceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON404      *ErrorString
}

func ParseGetEventsQuerySequenceIdResponse

func ParseGetEventsQuerySequenceIdResponse(rsp *http.Response) (*GetEventsQuerySequenceIdResponse, error)

ParseGetEventsQuerySequenceIdResponse parses an HTTP response from a GetEventsQuerySequenceIdWithResponse call

func (GetEventsQuerySequenceIdResponse) Status

Status returns HTTPResponse.Status

func (GetEventsQuerySequenceIdResponse) StatusCode

func (r GetEventsQuerySequenceIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventsQuerySequenceIdResponseObject

type GetEventsQuerySequenceIdResponseObject interface {
	VisitGetEventsQuerySequenceIdResponse(w http.ResponseWriter) error
}

type GetEventsSubscribers200JSONResponse

type GetEventsSubscribers200JSONResponse []string

func (GetEventsSubscribers200JSONResponse) VisitGetEventsSubscribersResponse

func (response GetEventsSubscribers200JSONResponse) VisitGetEventsSubscribersResponse(w http.ResponseWriter) error

type GetEventsSubscribersRequestObject

type GetEventsSubscribersRequestObject struct {
}

type GetEventsSubscribersResponse

type GetEventsSubscribersResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *[]string
}

func ParseGetEventsSubscribersResponse

func ParseGetEventsSubscribersResponse(rsp *http.Response) (*GetEventsSubscribersResponse, error)

ParseGetEventsSubscribersResponse parses an HTTP response from a GetEventsSubscribersWithResponse call

func (GetEventsSubscribersResponse) Status

Status returns HTTPResponse.Status

func (GetEventsSubscribersResponse) StatusCode

func (r GetEventsSubscribersResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetEventsSubscribersResponseObject

type GetEventsSubscribersResponseObject interface {
	VisitGetEventsSubscribersResponse(w http.ResponseWriter) error
}

type GetLandscapeApiInstances200JSONResponse

type GetLandscapeApiInstances200JSONResponse InstanceList

func (GetLandscapeApiInstances200JSONResponse) VisitGetLandscapeApiInstancesResponse

func (response GetLandscapeApiInstances200JSONResponse) VisitGetLandscapeApiInstancesResponse(w http.ResponseWriter) error

type GetLandscapeApiInstancesApiInstanceId200JSONResponse

type GetLandscapeApiInstancesApiInstanceId200JSONResponse ApiInstance

func (GetLandscapeApiInstancesApiInstanceId200JSONResponse) VisitGetLandscapeApiInstancesApiInstanceIdResponse

func (response GetLandscapeApiInstancesApiInstanceId200JSONResponse) VisitGetLandscapeApiInstancesApiInstanceIdResponse(w http.ResponseWriter) error

type GetLandscapeApiInstancesApiInstanceId404JSONResponse

type GetLandscapeApiInstancesApiInstanceId404JSONResponse ErrorString

func (GetLandscapeApiInstancesApiInstanceId404JSONResponse) VisitGetLandscapeApiInstancesApiInstanceIdResponse

func (response GetLandscapeApiInstancesApiInstanceId404JSONResponse) VisitGetLandscapeApiInstancesApiInstanceIdResponse(w http.ResponseWriter) error

type GetLandscapeApiInstancesApiInstanceIdRequestObject

type GetLandscapeApiInstancesApiInstanceIdRequestObject struct {
	ApiInstanceId openapi_types.UUID `json:"apiInstanceId"`
}

type GetLandscapeApiInstancesApiInstanceIdResponse

type GetLandscapeApiInstancesApiInstanceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ApiInstance
	JSON404      *ErrorString
}

func ParseGetLandscapeApiInstancesApiInstanceIdResponse

func ParseGetLandscapeApiInstancesApiInstanceIdResponse(rsp *http.Response) (*GetLandscapeApiInstancesApiInstanceIdResponse, error)

ParseGetLandscapeApiInstancesApiInstanceIdResponse parses an HTTP response from a GetLandscapeApiInstancesApiInstanceIdWithResponse call

func (GetLandscapeApiInstancesApiInstanceIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeApiInstancesApiInstanceIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeApiInstancesApiInstanceIdResponseObject

type GetLandscapeApiInstancesApiInstanceIdResponseObject interface {
	VisitGetLandscapeApiInstancesApiInstanceIdResponse(w http.ResponseWriter) error
}

type GetLandscapeApiInstancesRequestObject

type GetLandscapeApiInstancesRequestObject struct {
}

type GetLandscapeApiInstancesResponse

type GetLandscapeApiInstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeApiInstancesResponse

func ParseGetLandscapeApiInstancesResponse(rsp *http.Response) (*GetLandscapeApiInstancesResponse, error)

ParseGetLandscapeApiInstancesResponse parses an HTTP response from a GetLandscapeApiInstancesWithResponse call

func (GetLandscapeApiInstancesResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeApiInstancesResponse) StatusCode

func (r GetLandscapeApiInstancesResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeApiInstancesResponseObject

type GetLandscapeApiInstancesResponseObject interface {
	VisitGetLandscapeApiInstancesResponse(w http.ResponseWriter) error
}

type GetLandscapeApis200JSONResponse

type GetLandscapeApis200JSONResponse InstanceList

func (GetLandscapeApis200JSONResponse) VisitGetLandscapeApisResponse

func (response GetLandscapeApis200JSONResponse) VisitGetLandscapeApisResponse(w http.ResponseWriter) error

type GetLandscapeApisApiId200JSONResponse

type GetLandscapeApisApiId200JSONResponse API

func (GetLandscapeApisApiId200JSONResponse) VisitGetLandscapeApisApiIdResponse

func (response GetLandscapeApisApiId200JSONResponse) VisitGetLandscapeApisApiIdResponse(w http.ResponseWriter) error

type GetLandscapeApisApiId404JSONResponse

type GetLandscapeApisApiId404JSONResponse ErrorString

func (GetLandscapeApisApiId404JSONResponse) VisitGetLandscapeApisApiIdResponse

func (response GetLandscapeApisApiId404JSONResponse) VisitGetLandscapeApisApiIdResponse(w http.ResponseWriter) error

type GetLandscapeApisApiIdRequestObject

type GetLandscapeApisApiIdRequestObject struct {
	ApiId openapi_types.UUID `json:"apiId"`
}

type GetLandscapeApisApiIdResponse

type GetLandscapeApisApiIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *API
	JSON404      *ErrorString
}

func ParseGetLandscapeApisApiIdResponse

func ParseGetLandscapeApisApiIdResponse(rsp *http.Response) (*GetLandscapeApisApiIdResponse, error)

ParseGetLandscapeApisApiIdResponse parses an HTTP response from a GetLandscapeApisApiIdWithResponse call

func (GetLandscapeApisApiIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeApisApiIdResponse) StatusCode

func (r GetLandscapeApisApiIdResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeApisApiIdResponseObject

type GetLandscapeApisApiIdResponseObject interface {
	VisitGetLandscapeApisApiIdResponse(w http.ResponseWriter) error
}

type GetLandscapeApisRequestObject

type GetLandscapeApisRequestObject struct {
}

type GetLandscapeApisResponse

type GetLandscapeApisResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeApisResponse

func ParseGetLandscapeApisResponse(rsp *http.Response) (*GetLandscapeApisResponse, error)

ParseGetLandscapeApisResponse parses an HTTP response from a GetLandscapeApisWithResponse call

func (GetLandscapeApisResponse) Status

func (r GetLandscapeApisResponse) Status() string

Status returns HTTPResponse.Status

func (GetLandscapeApisResponse) StatusCode

func (r GetLandscapeApisResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeApisResponseObject

type GetLandscapeApisResponseObject interface {
	VisitGetLandscapeApisResponse(w http.ResponseWriter) error
}

type GetLandscapeComponentInstances200JSONResponse

type GetLandscapeComponentInstances200JSONResponse InstanceList

func (GetLandscapeComponentInstances200JSONResponse) VisitGetLandscapeComponentInstancesResponse

func (response GetLandscapeComponentInstances200JSONResponse) VisitGetLandscapeComponentInstancesResponse(w http.ResponseWriter) error

type GetLandscapeComponentInstancesComponentInstanceId200JSONResponse

type GetLandscapeComponentInstancesComponentInstanceId200JSONResponse ComponentInstance

func (GetLandscapeComponentInstancesComponentInstanceId200JSONResponse) VisitGetLandscapeComponentInstancesComponentInstanceIdResponse

func (response GetLandscapeComponentInstancesComponentInstanceId200JSONResponse) VisitGetLandscapeComponentInstancesComponentInstanceIdResponse(w http.ResponseWriter) error

type GetLandscapeComponentInstancesComponentInstanceId404JSONResponse

type GetLandscapeComponentInstancesComponentInstanceId404JSONResponse ErrorString

func (GetLandscapeComponentInstancesComponentInstanceId404JSONResponse) VisitGetLandscapeComponentInstancesComponentInstanceIdResponse

func (response GetLandscapeComponentInstancesComponentInstanceId404JSONResponse) VisitGetLandscapeComponentInstancesComponentInstanceIdResponse(w http.ResponseWriter) error

type GetLandscapeComponentInstancesComponentInstanceIdRequestObject

type GetLandscapeComponentInstancesComponentInstanceIdRequestObject struct {
	ComponentInstanceId openapi_types.UUID `json:"componentInstanceId"`
}

type GetLandscapeComponentInstancesComponentInstanceIdResponse

type GetLandscapeComponentInstancesComponentInstanceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *ComponentInstance
	JSON404      *ErrorString
}

func ParseGetLandscapeComponentInstancesComponentInstanceIdResponse

func ParseGetLandscapeComponentInstancesComponentInstanceIdResponse(rsp *http.Response) (*GetLandscapeComponentInstancesComponentInstanceIdResponse, error)

ParseGetLandscapeComponentInstancesComponentInstanceIdResponse parses an HTTP response from a GetLandscapeComponentInstancesComponentInstanceIdWithResponse call

func (GetLandscapeComponentInstancesComponentInstanceIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeComponentInstancesComponentInstanceIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeComponentInstancesComponentInstanceIdResponseObject

type GetLandscapeComponentInstancesComponentInstanceIdResponseObject interface {
	VisitGetLandscapeComponentInstancesComponentInstanceIdResponse(w http.ResponseWriter) error
}

type GetLandscapeComponentInstancesRequestObject

type GetLandscapeComponentInstancesRequestObject struct {
}

type GetLandscapeComponentInstancesResponse

type GetLandscapeComponentInstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeComponentInstancesResponse

func ParseGetLandscapeComponentInstancesResponse(rsp *http.Response) (*GetLandscapeComponentInstancesResponse, error)

ParseGetLandscapeComponentInstancesResponse parses an HTTP response from a GetLandscapeComponentInstancesWithResponse call

func (GetLandscapeComponentInstancesResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeComponentInstancesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeComponentInstancesResponseObject

type GetLandscapeComponentInstancesResponseObject interface {
	VisitGetLandscapeComponentInstancesResponse(w http.ResponseWriter) error
}

type GetLandscapeComponents200JSONResponse

type GetLandscapeComponents200JSONResponse InstanceList

func (GetLandscapeComponents200JSONResponse) VisitGetLandscapeComponentsResponse

func (response GetLandscapeComponents200JSONResponse) VisitGetLandscapeComponentsResponse(w http.ResponseWriter) error

type GetLandscapeComponentsComponentId200JSONResponse

type GetLandscapeComponentsComponentId200JSONResponse Component

func (GetLandscapeComponentsComponentId200JSONResponse) VisitGetLandscapeComponentsComponentIdResponse

func (response GetLandscapeComponentsComponentId200JSONResponse) VisitGetLandscapeComponentsComponentIdResponse(w http.ResponseWriter) error

type GetLandscapeComponentsComponentId404JSONResponse

type GetLandscapeComponentsComponentId404JSONResponse ErrorString

func (GetLandscapeComponentsComponentId404JSONResponse) VisitGetLandscapeComponentsComponentIdResponse

func (response GetLandscapeComponentsComponentId404JSONResponse) VisitGetLandscapeComponentsComponentIdResponse(w http.ResponseWriter) error

type GetLandscapeComponentsComponentIdRequestObject

type GetLandscapeComponentsComponentIdRequestObject struct {
	ComponentId openapi_types.UUID `json:"componentId"`
}

type GetLandscapeComponentsComponentIdResponse

type GetLandscapeComponentsComponentIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Component
	JSON404      *ErrorString
}

func ParseGetLandscapeComponentsComponentIdResponse

func ParseGetLandscapeComponentsComponentIdResponse(rsp *http.Response) (*GetLandscapeComponentsComponentIdResponse, error)

ParseGetLandscapeComponentsComponentIdResponse parses an HTTP response from a GetLandscapeComponentsComponentIdWithResponse call

func (GetLandscapeComponentsComponentIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeComponentsComponentIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeComponentsComponentIdResponseObject

type GetLandscapeComponentsComponentIdResponseObject interface {
	VisitGetLandscapeComponentsComponentIdResponse(w http.ResponseWriter) error
}

type GetLandscapeComponentsRequestObject

type GetLandscapeComponentsRequestObject struct {
}

type GetLandscapeComponentsResponse

type GetLandscapeComponentsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeComponentsResponse

func ParseGetLandscapeComponentsResponse(rsp *http.Response) (*GetLandscapeComponentsResponse, error)

ParseGetLandscapeComponentsResponse parses an HTTP response from a GetLandscapeComponentsWithResponse call

func (GetLandscapeComponentsResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeComponentsResponse) StatusCode

func (r GetLandscapeComponentsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeComponentsResponseObject

type GetLandscapeComponentsResponseObject interface {
	VisitGetLandscapeComponentsResponse(w http.ResponseWriter) error
}

type GetLandscapeContexts200JSONResponse

type GetLandscapeContexts200JSONResponse InstanceList

func (GetLandscapeContexts200JSONResponse) VisitGetLandscapeContextsResponse

func (response GetLandscapeContexts200JSONResponse) VisitGetLandscapeContextsResponse(w http.ResponseWriter) error

type GetLandscapeContextsContextId200JSONResponse

type GetLandscapeContextsContextId200JSONResponse Context

func (GetLandscapeContextsContextId200JSONResponse) VisitGetLandscapeContextsContextIdResponse

func (response GetLandscapeContextsContextId200JSONResponse) VisitGetLandscapeContextsContextIdResponse(w http.ResponseWriter) error

type GetLandscapeContextsContextId404JSONResponse

type GetLandscapeContextsContextId404JSONResponse ErrorString

func (GetLandscapeContextsContextId404JSONResponse) VisitGetLandscapeContextsContextIdResponse

func (response GetLandscapeContextsContextId404JSONResponse) VisitGetLandscapeContextsContextIdResponse(w http.ResponseWriter) error

type GetLandscapeContextsContextIdRequestObject

type GetLandscapeContextsContextIdRequestObject struct {
	ContextId openapi_types.UUID `json:"contextId"`
}

type GetLandscapeContextsContextIdResponse

type GetLandscapeContextsContextIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Context
	JSON404      *ErrorString
}

func ParseGetLandscapeContextsContextIdResponse

func ParseGetLandscapeContextsContextIdResponse(rsp *http.Response) (*GetLandscapeContextsContextIdResponse, error)

ParseGetLandscapeContextsContextIdResponse parses an HTTP response from a GetLandscapeContextsContextIdWithResponse call

func (GetLandscapeContextsContextIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeContextsContextIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeContextsContextIdResponseObject

type GetLandscapeContextsContextIdResponseObject interface {
	VisitGetLandscapeContextsContextIdResponse(w http.ResponseWriter) error
}

type GetLandscapeContextsRequestObject

type GetLandscapeContextsRequestObject struct {
}

type GetLandscapeContextsResponse

type GetLandscapeContextsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeContextsResponse

func ParseGetLandscapeContextsResponse(rsp *http.Response) (*GetLandscapeContextsResponse, error)

ParseGetLandscapeContextsResponse parses an HTTP response from a GetLandscapeContextsWithResponse call

func (GetLandscapeContextsResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeContextsResponse) StatusCode

func (r GetLandscapeContextsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeContextsResponseObject

type GetLandscapeContextsResponseObject interface {
	VisitGetLandscapeContextsResponse(w http.ResponseWriter) error
}

type GetLandscapeFindings200JSONResponse

type GetLandscapeFindings200JSONResponse InstanceList

func (GetLandscapeFindings200JSONResponse) VisitGetLandscapeFindingsResponse

func (response GetLandscapeFindings200JSONResponse) VisitGetLandscapeFindingsResponse(w http.ResponseWriter) error

type GetLandscapeFindingsFindingId200JSONResponse

type GetLandscapeFindingsFindingId200JSONResponse Finding

func (GetLandscapeFindingsFindingId200JSONResponse) VisitGetLandscapeFindingsFindingIdResponse

func (response GetLandscapeFindingsFindingId200JSONResponse) VisitGetLandscapeFindingsFindingIdResponse(w http.ResponseWriter) error

type GetLandscapeFindingsFindingId404JSONResponse

type GetLandscapeFindingsFindingId404JSONResponse ErrorString

func (GetLandscapeFindingsFindingId404JSONResponse) VisitGetLandscapeFindingsFindingIdResponse

func (response GetLandscapeFindingsFindingId404JSONResponse) VisitGetLandscapeFindingsFindingIdResponse(w http.ResponseWriter) error

type GetLandscapeFindingsFindingIdRequestObject

type GetLandscapeFindingsFindingIdRequestObject struct {
	FindingId openapi_types.UUID `json:"findingId"`
}

type GetLandscapeFindingsFindingIdResponse

type GetLandscapeFindingsFindingIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *Finding
	JSON404      *ErrorString
}

func ParseGetLandscapeFindingsFindingIdResponse

func ParseGetLandscapeFindingsFindingIdResponse(rsp *http.Response) (*GetLandscapeFindingsFindingIdResponse, error)

ParseGetLandscapeFindingsFindingIdResponse parses an HTTP response from a GetLandscapeFindingsFindingIdWithResponse call

func (GetLandscapeFindingsFindingIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeFindingsFindingIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeFindingsFindingIdResponseObject

type GetLandscapeFindingsFindingIdResponseObject interface {
	VisitGetLandscapeFindingsFindingIdResponse(w http.ResponseWriter) error
}

type GetLandscapeFindingsRequestObject

type GetLandscapeFindingsRequestObject struct {
}

type GetLandscapeFindingsResponse

type GetLandscapeFindingsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeFindingsResponse

func ParseGetLandscapeFindingsResponse(rsp *http.Response) (*GetLandscapeFindingsResponse, error)

ParseGetLandscapeFindingsResponse parses an HTTP response from a GetLandscapeFindingsWithResponse call

func (GetLandscapeFindingsResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeFindingsResponse) StatusCode

func (r GetLandscapeFindingsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeFindingsResponseObject

type GetLandscapeFindingsResponseObject interface {
	VisitGetLandscapeFindingsResponse(w http.ResponseWriter) error
}

type GetLandscapeSystemInstances200JSONResponse

type GetLandscapeSystemInstances200JSONResponse InstanceList

func (GetLandscapeSystemInstances200JSONResponse) VisitGetLandscapeSystemInstancesResponse

func (response GetLandscapeSystemInstances200JSONResponse) VisitGetLandscapeSystemInstancesResponse(w http.ResponseWriter) error

type GetLandscapeSystemInstancesRequestObject

type GetLandscapeSystemInstancesRequestObject struct {
}

type GetLandscapeSystemInstancesResponse

type GetLandscapeSystemInstancesResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeSystemInstancesResponse

func ParseGetLandscapeSystemInstancesResponse(rsp *http.Response) (*GetLandscapeSystemInstancesResponse, error)

ParseGetLandscapeSystemInstancesResponse parses an HTTP response from a GetLandscapeSystemInstancesWithResponse call

func (GetLandscapeSystemInstancesResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeSystemInstancesResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeSystemInstancesResponseObject

type GetLandscapeSystemInstancesResponseObject interface {
	VisitGetLandscapeSystemInstancesResponse(w http.ResponseWriter) error
}

type GetLandscapeSystemInstancesSystemInstanceId200JSONResponse

type GetLandscapeSystemInstancesSystemInstanceId200JSONResponse SystemInstance

func (GetLandscapeSystemInstancesSystemInstanceId200JSONResponse) VisitGetLandscapeSystemInstancesSystemInstanceIdResponse

func (response GetLandscapeSystemInstancesSystemInstanceId200JSONResponse) VisitGetLandscapeSystemInstancesSystemInstanceIdResponse(w http.ResponseWriter) error

type GetLandscapeSystemInstancesSystemInstanceId404JSONResponse

type GetLandscapeSystemInstancesSystemInstanceId404JSONResponse ErrorString

func (GetLandscapeSystemInstancesSystemInstanceId404JSONResponse) VisitGetLandscapeSystemInstancesSystemInstanceIdResponse

func (response GetLandscapeSystemInstancesSystemInstanceId404JSONResponse) VisitGetLandscapeSystemInstancesSystemInstanceIdResponse(w http.ResponseWriter) error

type GetLandscapeSystemInstancesSystemInstanceIdRequestObject

type GetLandscapeSystemInstancesSystemInstanceIdRequestObject struct {
	SystemInstanceId openapi_types.UUID `json:"systemInstanceId"`
}

type GetLandscapeSystemInstancesSystemInstanceIdResponse

type GetLandscapeSystemInstancesSystemInstanceIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *SystemInstance
	JSON404      *ErrorString
}

func ParseGetLandscapeSystemInstancesSystemInstanceIdResponse

func ParseGetLandscapeSystemInstancesSystemInstanceIdResponse(rsp *http.Response) (*GetLandscapeSystemInstancesSystemInstanceIdResponse, error)

ParseGetLandscapeSystemInstancesSystemInstanceIdResponse parses an HTTP response from a GetLandscapeSystemInstancesSystemInstanceIdWithResponse call

func (GetLandscapeSystemInstancesSystemInstanceIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeSystemInstancesSystemInstanceIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeSystemInstancesSystemInstanceIdResponseObject

type GetLandscapeSystemInstancesSystemInstanceIdResponseObject interface {
	VisitGetLandscapeSystemInstancesSystemInstanceIdResponse(w http.ResponseWriter) error
}

type GetLandscapeSystems200JSONResponse

type GetLandscapeSystems200JSONResponse InstanceList

func (GetLandscapeSystems200JSONResponse) VisitGetLandscapeSystemsResponse

func (response GetLandscapeSystems200JSONResponse) VisitGetLandscapeSystemsResponse(w http.ResponseWriter) error

type GetLandscapeSystemsRequestObject

type GetLandscapeSystemsRequestObject struct {
}

type GetLandscapeSystemsResponse

type GetLandscapeSystemsResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *InstanceList
}

func ParseGetLandscapeSystemsResponse

func ParseGetLandscapeSystemsResponse(rsp *http.Response) (*GetLandscapeSystemsResponse, error)

ParseGetLandscapeSystemsResponse parses an HTTP response from a GetLandscapeSystemsWithResponse call

func (GetLandscapeSystemsResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeSystemsResponse) StatusCode

func (r GetLandscapeSystemsResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeSystemsResponseObject

type GetLandscapeSystemsResponseObject interface {
	VisitGetLandscapeSystemsResponse(w http.ResponseWriter) error
}

type GetLandscapeSystemsSystemId200JSONResponse

type GetLandscapeSystemsSystemId200JSONResponse System

func (GetLandscapeSystemsSystemId200JSONResponse) VisitGetLandscapeSystemsSystemIdResponse

func (response GetLandscapeSystemsSystemId200JSONResponse) VisitGetLandscapeSystemsSystemIdResponse(w http.ResponseWriter) error

type GetLandscapeSystemsSystemId404JSONResponse

type GetLandscapeSystemsSystemId404JSONResponse ErrorString

func (GetLandscapeSystemsSystemId404JSONResponse) VisitGetLandscapeSystemsSystemIdResponse

func (response GetLandscapeSystemsSystemId404JSONResponse) VisitGetLandscapeSystemsSystemIdResponse(w http.ResponseWriter) error

type GetLandscapeSystemsSystemIdRequestObject

type GetLandscapeSystemsSystemIdRequestObject struct {
	SystemId openapi_types.UUID `json:"systemId"`
}

type GetLandscapeSystemsSystemIdResponse

type GetLandscapeSystemsSystemIdResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON200      *System
	JSON404      *ErrorString
}

func ParseGetLandscapeSystemsSystemIdResponse

func ParseGetLandscapeSystemsSystemIdResponse(rsp *http.Response) (*GetLandscapeSystemsSystemIdResponse, error)

ParseGetLandscapeSystemsSystemIdResponse parses an HTTP response from a GetLandscapeSystemsSystemIdWithResponse call

func (GetLandscapeSystemsSystemIdResponse) Status

Status returns HTTPResponse.Status

func (GetLandscapeSystemsSystemIdResponse) StatusCode

StatusCode returns HTTPResponse.StatusCode

type GetLandscapeSystemsSystemIdResponseObject

type GetLandscapeSystemsSystemIdResponseObject interface {
	VisitGetLandscapeSystemsSystemIdResponse(w http.ResponseWriter) error
}

type GetTest200Response

type GetTest200Response struct {
}

func (GetTest200Response) VisitGetTestResponse

func (response GetTest200Response) VisitGetTestResponse(w http.ResponseWriter) error

type GetTestRequestObject

type GetTestRequestObject struct {
}

type GetTestResponse

type GetTestResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParseGetTestResponse

func ParseGetTestResponse(rsp *http.Response) (*GetTestResponse, error)

ParseGetTestResponse parses an HTTP response from a GetTestWithResponse call

func (GetTestResponse) Status

func (r GetTestResponse) Status() string

Status returns HTTPResponse.Status

func (GetTestResponse) StatusCode

func (r GetTestResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type GetTestResponseObject

type GetTestResponseObject interface {
	VisitGetTestResponse(w http.ResponseWriter) error
}

type GorillaServerOptions

type GorillaServerOptions struct {
	BaseURL          string
	BaseRouter       *mux.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type HeaderLabel

type HeaderLabel string

type HttpRequestDoer

type HttpRequestDoer interface {
	Do(req *http.Request) (*http.Response, error)
}

Doer performs HTTP requests.

The standard http.Client implements this interface.

type InstanceList

type InstanceList = []InstanceListItem

InstanceList defines model for InstanceList.

type InstanceListItem

type InstanceListItem struct {
	DisplayName *string             `json:"displayName,omitempty"`
	InstanceId  *openapi_types.UUID `json:"instanceId,omitempty"`
	Reference   *string             `json:"reference,omitempty"`
}

InstanceListItem defines model for InstanceListItem.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type PostEventsRegister201Response

type PostEventsRegister201Response struct {
}

func (PostEventsRegister201Response) VisitPostEventsRegisterResponse

func (response PostEventsRegister201Response) VisitPostEventsRegisterResponse(w http.ResponseWriter) error

type PostEventsRegisterJSONBody

type PostEventsRegisterJSONBody struct {
	CallbackUrl string `json:"callbackUrl"`
}

PostEventsRegisterJSONBody defines parameters for PostEventsRegister.

type PostEventsRegisterJSONRequestBody

type PostEventsRegisterJSONRequestBody PostEventsRegisterJSONBody

PostEventsRegisterJSONRequestBody defines body for PostEventsRegister for application/json ContentType.

type PostEventsRegisterRequestObject

type PostEventsRegisterRequestObject struct {
	Body *PostEventsRegisterJSONRequestBody
}

type PostEventsRegisterResponse

type PostEventsRegisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
}

func ParsePostEventsRegisterResponse

func ParsePostEventsRegisterResponse(rsp *http.Response) (*PostEventsRegisterResponse, error)

ParsePostEventsRegisterResponse parses an HTTP response from a PostEventsRegisterWithResponse call

func (PostEventsRegisterResponse) Status

Status returns HTTPResponse.Status

func (PostEventsRegisterResponse) StatusCode

func (r PostEventsRegisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostEventsRegisterResponseObject

type PostEventsRegisterResponseObject interface {
	VisitPostEventsRegisterResponse(w http.ResponseWriter) error
}

type PostEventsUnregister200Response

type PostEventsUnregister200Response struct {
}

func (PostEventsUnregister200Response) VisitPostEventsUnregisterResponse

func (response PostEventsUnregister200Response) VisitPostEventsUnregisterResponse(w http.ResponseWriter) error

type PostEventsUnregister404JSONResponse

type PostEventsUnregister404JSONResponse ErrorString

func (PostEventsUnregister404JSONResponse) VisitPostEventsUnregisterResponse

func (response PostEventsUnregister404JSONResponse) VisitPostEventsUnregisterResponse(w http.ResponseWriter) error

type PostEventsUnregisterJSONBody

type PostEventsUnregisterJSONBody struct {
	CallbackUrl string `json:"callbackUrl"`
}

PostEventsUnregisterJSONBody defines parameters for PostEventsUnregister.

type PostEventsUnregisterJSONRequestBody

type PostEventsUnregisterJSONRequestBody PostEventsUnregisterJSONBody

PostEventsUnregisterJSONRequestBody defines body for PostEventsUnregister for application/json ContentType.

type PostEventsUnregisterRequestObject

type PostEventsUnregisterRequestObject struct {
	Body *PostEventsUnregisterJSONRequestBody
}

type PostEventsUnregisterResponse

type PostEventsUnregisterResponse struct {
	Body         []byte
	HTTPResponse *http.Response
	JSON404      *ErrorString
}

func ParsePostEventsUnregisterResponse

func ParsePostEventsUnregisterResponse(rsp *http.Response) (*PostEventsUnregisterResponse, error)

ParsePostEventsUnregisterResponse parses an HTTP response from a PostEventsUnregisterWithResponse call

func (PostEventsUnregisterResponse) Status

Status returns HTTPResponse.Status

func (PostEventsUnregisterResponse) StatusCode

func (r PostEventsUnregisterResponse) StatusCode() int

StatusCode returns HTTPResponse.StatusCode

type PostEventsUnregisterResponseObject

type PostEventsUnregisterResponseObject interface {
	VisitPostEventsUnregisterResponse(w http.ResponseWriter) error
}

type RequestEditorFn

type RequestEditorFn func(ctx context.Context, req *http.Request) error

RequestEditorFn is the function signature for the RequestEditor callback function

type RequestHeaderKey

type RequestHeaderKey string

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ResourceRef

type ResourceRef struct {
	// Reference A URI reference to the resource.
	Reference *string `json:"reference,omitempty"`

	// ResourceId The UUID of the resource referenced.
	ResourceId openapi_types.UUID `json:"resourceId"`

	// ResourceType The type of the resource referenced.
	ResourceType interface{} `json:"resourceType"`
}

ResourceRef defines model for ResourceRef.

type ServerInterface

type ServerInterface interface {

	// (GET /events/query/{sequenceId})
	GetEventsQuerySequenceId(w http.ResponseWriter, r *http.Request, sequenceId string)

	// (POST /events/register)
	PostEventsRegister(w http.ResponseWriter, r *http.Request)

	// (GET /events/subscribers)
	GetEventsSubscribers(w http.ResponseWriter, r *http.Request)

	// (POST /events/unregister)
	PostEventsUnregister(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/api-instances)
	GetLandscapeApiInstances(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/api-instances/{apiInstanceId})
	GetLandscapeApiInstancesApiInstanceId(w http.ResponseWriter, r *http.Request, apiInstanceId openapi_types.UUID)

	// (GET /landscape/apis)
	GetLandscapeApis(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/apis/{apiId})
	GetLandscapeApisApiId(w http.ResponseWriter, r *http.Request, apiId openapi_types.UUID)

	// (GET /landscape/component-instances)
	GetLandscapeComponentInstances(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/component-instances/{componentInstanceId})
	GetLandscapeComponentInstancesComponentInstanceId(w http.ResponseWriter, r *http.Request, componentInstanceId openapi_types.UUID)

	// (GET /landscape/components)
	GetLandscapeComponents(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/components/{componentId})
	GetLandscapeComponentsComponentId(w http.ResponseWriter, r *http.Request, componentId openapi_types.UUID)

	// (GET /landscape/contexts)
	GetLandscapeContexts(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/contexts/{contextId})
	GetLandscapeContextsContextId(w http.ResponseWriter, r *http.Request, contextId openapi_types.UUID)

	// (GET /landscape/findings)
	GetLandscapeFindings(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/findings/{findingId})
	GetLandscapeFindingsFindingId(w http.ResponseWriter, r *http.Request, findingId openapi_types.UUID)

	// (GET /landscape/system-instances)
	GetLandscapeSystemInstances(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/system-instances/{systemInstanceId})
	GetLandscapeSystemInstancesSystemInstanceId(w http.ResponseWriter, r *http.Request, systemInstanceId openapi_types.UUID)

	// (GET /landscape/systems)
	GetLandscapeSystems(w http.ResponseWriter, r *http.Request)

	// (GET /landscape/systems/{systemId})
	GetLandscapeSystemsSystemId(w http.ResponseWriter, r *http.Request, systemId openapi_types.UUID)

	// (GET /test)
	GetTest(w http.ResponseWriter, r *http.Request)
}

ServerInterface represents all server handlers.

func NewApiHandler

func NewApiHandler(server *ApiServer) ServerInterface

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

func NewStrictHandlerWithOptions

func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) GetEventsQuerySequenceId

func (siw *ServerInterfaceWrapper) GetEventsQuerySequenceId(w http.ResponseWriter, r *http.Request)

GetEventsQuerySequenceId operation middleware

func (*ServerInterfaceWrapper) GetEventsSubscribers

func (siw *ServerInterfaceWrapper) GetEventsSubscribers(w http.ResponseWriter, r *http.Request)

GetEventsSubscribers operation middleware

func (*ServerInterfaceWrapper) GetLandscapeApiInstances

func (siw *ServerInterfaceWrapper) GetLandscapeApiInstances(w http.ResponseWriter, r *http.Request)

GetLandscapeApiInstances operation middleware

func (*ServerInterfaceWrapper) GetLandscapeApiInstancesApiInstanceId

func (siw *ServerInterfaceWrapper) GetLandscapeApiInstancesApiInstanceId(w http.ResponseWriter, r *http.Request)

GetLandscapeApiInstancesApiInstanceId operation middleware

func (*ServerInterfaceWrapper) GetLandscapeApis

func (siw *ServerInterfaceWrapper) GetLandscapeApis(w http.ResponseWriter, r *http.Request)

GetLandscapeApis operation middleware

func (*ServerInterfaceWrapper) GetLandscapeApisApiId

func (siw *ServerInterfaceWrapper) GetLandscapeApisApiId(w http.ResponseWriter, r *http.Request)

GetLandscapeApisApiId operation middleware

func (*ServerInterfaceWrapper) GetLandscapeComponentInstances

func (siw *ServerInterfaceWrapper) GetLandscapeComponentInstances(w http.ResponseWriter, r *http.Request)

GetLandscapeComponentInstances operation middleware

func (*ServerInterfaceWrapper) GetLandscapeComponentInstancesComponentInstanceId

func (siw *ServerInterfaceWrapper) GetLandscapeComponentInstancesComponentInstanceId(w http.ResponseWriter, r *http.Request)

GetLandscapeComponentInstancesComponentInstanceId operation middleware

func (*ServerInterfaceWrapper) GetLandscapeComponents

func (siw *ServerInterfaceWrapper) GetLandscapeComponents(w http.ResponseWriter, r *http.Request)

GetLandscapeComponents operation middleware

func (*ServerInterfaceWrapper) GetLandscapeComponentsComponentId

func (siw *ServerInterfaceWrapper) GetLandscapeComponentsComponentId(w http.ResponseWriter, r *http.Request)

GetLandscapeComponentsComponentId operation middleware

func (*ServerInterfaceWrapper) GetLandscapeContexts

func (siw *ServerInterfaceWrapper) GetLandscapeContexts(w http.ResponseWriter, r *http.Request)

GetLandscapeContexts operation middleware

func (*ServerInterfaceWrapper) GetLandscapeContextsContextId

func (siw *ServerInterfaceWrapper) GetLandscapeContextsContextId(w http.ResponseWriter, r *http.Request)

GetLandscapeContextsContextId operation middleware

func (*ServerInterfaceWrapper) GetLandscapeFindings

func (siw *ServerInterfaceWrapper) GetLandscapeFindings(w http.ResponseWriter, r *http.Request)

GetLandscapeFindings operation middleware

func (*ServerInterfaceWrapper) GetLandscapeFindingsFindingId

func (siw *ServerInterfaceWrapper) GetLandscapeFindingsFindingId(w http.ResponseWriter, r *http.Request)

GetLandscapeFindingsFindingId operation middleware

func (*ServerInterfaceWrapper) GetLandscapeSystemInstances

func (siw *ServerInterfaceWrapper) GetLandscapeSystemInstances(w http.ResponseWriter, r *http.Request)

GetLandscapeSystemInstances operation middleware

func (*ServerInterfaceWrapper) GetLandscapeSystemInstancesSystemInstanceId

func (siw *ServerInterfaceWrapper) GetLandscapeSystemInstancesSystemInstanceId(w http.ResponseWriter, r *http.Request)

GetLandscapeSystemInstancesSystemInstanceId operation middleware

func (*ServerInterfaceWrapper) GetLandscapeSystems

func (siw *ServerInterfaceWrapper) GetLandscapeSystems(w http.ResponseWriter, r *http.Request)

GetLandscapeSystems operation middleware

func (*ServerInterfaceWrapper) GetLandscapeSystemsSystemId

func (siw *ServerInterfaceWrapper) GetLandscapeSystemsSystemId(w http.ResponseWriter, r *http.Request)

GetLandscapeSystemsSystemId operation middleware

func (*ServerInterfaceWrapper) GetTest

GetTest operation middleware

func (*ServerInterfaceWrapper) PostEventsRegister

func (siw *ServerInterfaceWrapper) PostEventsRegister(w http.ResponseWriter, r *http.Request)

PostEventsRegister operation middleware

func (*ServerInterfaceWrapper) PostEventsUnregister

func (siw *ServerInterfaceWrapper) PostEventsUnregister(w http.ResponseWriter, r *http.Request)

PostEventsUnregister operation middleware

type StrictHTTPServerOptions

type StrictHTTPServerOptions struct {
	RequestErrorHandlerFunc  func(w http.ResponseWriter, r *http.Request, err error)
	ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type StrictHandlerFunc

type StrictHandlerFunc = strictnethttp.StrictHTTPHandlerFunc

func ProcessAuthHeader

func ProcessAuthHeader(f StrictHandlerFunc, _ string) StrictHandlerFunc

ProcessAuthHeader is a middleware to transfer the authentication header "X-Shmits-Authenticated-User" into the context for the call to the Strict Server Interface.

Since the requirement for the existence of a valid user depends on the actual method an path being accessed, validation
is handled in the individual methods of the Strict Service Interface implementation.

func ProcessContentTypeRequest

func ProcessContentTypeRequest(f StrictHandlerFunc, _ string) StrictHandlerFunc

ProcessAcceptHeader is a middleware to process the header indicating the content type(s) accepted by the client and place them into a parameter of the context for the call to the Strict Server Interface.

As the server currently only supports HTML and JSON, this middleware will default to the HTML content type if no valid header is set.

type StrictServerInterface

type StrictServerInterface interface {

	// (GET /events/query/{sequenceId})
	GetEventsQuerySequenceId(ctx context.Context, request GetEventsQuerySequenceIdRequestObject) (GetEventsQuerySequenceIdResponseObject, error)

	// (POST /events/register)
	PostEventsRegister(ctx context.Context, request PostEventsRegisterRequestObject) (PostEventsRegisterResponseObject, error)

	// (GET /events/subscribers)
	GetEventsSubscribers(ctx context.Context, request GetEventsSubscribersRequestObject) (GetEventsSubscribersResponseObject, error)

	// (POST /events/unregister)
	PostEventsUnregister(ctx context.Context, request PostEventsUnregisterRequestObject) (PostEventsUnregisterResponseObject, error)

	// (GET /landscape/api-instances)
	GetLandscapeApiInstances(ctx context.Context, request GetLandscapeApiInstancesRequestObject) (GetLandscapeApiInstancesResponseObject, error)

	// (GET /landscape/api-instances/{apiInstanceId})
	GetLandscapeApiInstancesApiInstanceId(ctx context.Context, request GetLandscapeApiInstancesApiInstanceIdRequestObject) (GetLandscapeApiInstancesApiInstanceIdResponseObject, error)

	// (GET /landscape/apis)
	GetLandscapeApis(ctx context.Context, request GetLandscapeApisRequestObject) (GetLandscapeApisResponseObject, error)

	// (GET /landscape/apis/{apiId})
	GetLandscapeApisApiId(ctx context.Context, request GetLandscapeApisApiIdRequestObject) (GetLandscapeApisApiIdResponseObject, error)

	// (GET /landscape/component-instances)
	GetLandscapeComponentInstances(ctx context.Context, request GetLandscapeComponentInstancesRequestObject) (GetLandscapeComponentInstancesResponseObject, error)

	// (GET /landscape/component-instances/{componentInstanceId})
	GetLandscapeComponentInstancesComponentInstanceId(ctx context.Context, request GetLandscapeComponentInstancesComponentInstanceIdRequestObject) (GetLandscapeComponentInstancesComponentInstanceIdResponseObject, error)

	// (GET /landscape/components)
	GetLandscapeComponents(ctx context.Context, request GetLandscapeComponentsRequestObject) (GetLandscapeComponentsResponseObject, error)

	// (GET /landscape/components/{componentId})
	GetLandscapeComponentsComponentId(ctx context.Context, request GetLandscapeComponentsComponentIdRequestObject) (GetLandscapeComponentsComponentIdResponseObject, error)

	// (GET /landscape/contexts)
	GetLandscapeContexts(ctx context.Context, request GetLandscapeContextsRequestObject) (GetLandscapeContextsResponseObject, error)

	// (GET /landscape/contexts/{contextId})
	GetLandscapeContextsContextId(ctx context.Context, request GetLandscapeContextsContextIdRequestObject) (GetLandscapeContextsContextIdResponseObject, error)

	// (GET /landscape/findings)
	GetLandscapeFindings(ctx context.Context, request GetLandscapeFindingsRequestObject) (GetLandscapeFindingsResponseObject, error)

	// (GET /landscape/findings/{findingId})
	GetLandscapeFindingsFindingId(ctx context.Context, request GetLandscapeFindingsFindingIdRequestObject) (GetLandscapeFindingsFindingIdResponseObject, error)

	// (GET /landscape/system-instances)
	GetLandscapeSystemInstances(ctx context.Context, request GetLandscapeSystemInstancesRequestObject) (GetLandscapeSystemInstancesResponseObject, error)

	// (GET /landscape/system-instances/{systemInstanceId})
	GetLandscapeSystemInstancesSystemInstanceId(ctx context.Context, request GetLandscapeSystemInstancesSystemInstanceIdRequestObject) (GetLandscapeSystemInstancesSystemInstanceIdResponseObject, error)

	// (GET /landscape/systems)
	GetLandscapeSystems(ctx context.Context, request GetLandscapeSystemsRequestObject) (GetLandscapeSystemsResponseObject, error)

	// (GET /landscape/systems/{systemId})
	GetLandscapeSystemsSystemId(ctx context.Context, request GetLandscapeSystemsSystemIdRequestObject) (GetLandscapeSystemsSystemIdResponseObject, error)

	// (GET /test)
	GetTest(ctx context.Context, request GetTestRequestObject) (GetTestResponseObject, error)
}

StrictServerInterface represents all server handlers.

type System

type System struct {
	// Abstract Indicates whether the system is abstract (true) or concrete (false). Abstract systems are primarily used to represent external systems that provide APIs consumed by a concrete system defined within the landscape.
	Abstract bool `json:"abstract"`

	// Annotations A set of key-value pairs for storing additional metadata about the system.
	Annotations *[]Annotation `json:"annotations,omitempty"`

	// Description A brief description of the system's purpose and functionality.
	Description *string `json:"description,omitempty"`
	DisplayName string  `json:"displayName"`

	// Parent The UUID of the parent system, if applicable. This field is optional and may be omitted if the system has no parent. It establishes a hierarchical relationship between systems.
	Parent *openapi_types.UUID `json:"parent,omitempty"`

	// SystemId An UUID that uniquely identifies the system. It should be generated and assigned when the System is created and must remain constant throughout the System's lifecycle. The field is optional in some contexts, such as when creating a new system where the ID may be generated by the system itself.
	SystemId *openapi_types.UUID `json:"systemId,omitempty"`

	// Version Version information for all objects in the EmELand model.
	Version *Version `json:"version,omitempty"`
}

System Represents a system in the EmELand model. A system is a high-level entity that displays a complex behavior. It encapsulates various APIs and software components.

type SystemInstance

type SystemInstance struct {
	// Annotations A set of key-value pairs for storing additional metadata about the system instance.
	Annotations *[]Annotation `json:"annotations,omitempty"`

	// Context The UUID of the context that contains this system instance. This can be left empty if the Context resource has not been created yet, but will trigger an entry in the finding list.
	Context *openapi_types.UUID `json:"context,omitempty"`

	// DisplayName The human-readable name of the system instance.
	DisplayName string `json:"displayName"`

	// System The UUID of the system that this instance realizes.
	System openapi_types.UUID `json:"system"`

	// SystemInstanceId An UUID that uniquely identifies the system instance. It should be generated and assigned when the instance is created and must remain constant throughout the instance's lifecycle. The field is optional in some contexts, such as when creating a new instance where the ID may be generated by the system itself.
	SystemInstanceId openapi_types.UUID `json:"systemInstanceId"`
}

SystemInstance defines model for SystemInstance.

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type Version

type Version struct {
	// AvailableFrom Timestamp indicating when this version becomes available. Format is 2006-01-02. May be in the future
	AvailableFrom *time.Time `json:"availableFrom,omitempty"`

	// DeprecatedFrom Timestamp indicating when this version is considered deprecated. Consumers should avoid using this version after this date. Format is 2006-01-02. May be in the future. Must be later than availableFrom.
	DeprecatedFrom *time.Time `json:"deprecatedFrom,omitempty"`

	// TerminatedFrom Timestamp indicating when this version is considered terminated. Consumers must not use this version after this date. Format is 2006-01-02. Must be later than deprecatedFrom.
	TerminatedFrom *time.Time `json:"terminatedFrom,omitempty"`

	// Version Structured version string (e.g., "1.0.0"). The use of semantic versioning is recommended.
	Version string `json:"version"`
}

Version Version information for all objects in the EmELand model.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL