handlers

package
v0.0.0-...-bd7b10a Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplyResponse

type ApplyResponse struct {
	Status            int               `json:"status"`
	ConnectionDetails ConnectionDetails `json:"connectionDetails,omitempty"`
	ErrMessage        string            `json:"errMessage,omitempty"`
}

ApplyResponse is the response to a create request.

type ConnectionDetails

type ConnectionDetails map[string][]byte

ConnectionDetails created or updated during an operation on an external resource, for example usernames, passwords, endpoints, ports, etc.

type CreationResponse

type CreationResponse struct {
	Status     int              `json:"status"`
	External   ExternalCreation `json:"externalCreation,omitempty"`
	ErrMessage string           `json:"errMessage,omitempty"`
}

CreationResponse is the response to a create request.

type DeletionResponse

type DeletionResponse struct {
	Status     int    `json:"status"`
	ErrMessage string `json:"errMessage,omitempty"`
}

DeletionResponse is the response to a delete request.

type ExternalCreation

type ExternalCreation struct {
	ConnectionDetails ConnectionDetails `json:"connectionDetails,omitempty"`
}

ExternalCreation is an external creation.

type ExternalObservation

type ExternalObservation struct {
	ResourceExists          bool              `json:"resourceExists"`
	ResourceUpToDate        bool              `json:"resourceUpToDate"`
	ResourceLateInitialized bool              `json:"resourceLateInitialized,omitempty"`
	ConnectionDetails       ConnectionDetails `json:"connectionDetails,omitempty"`
}

ExternalObservation is an external observation.

type ExternalUpdate

type ExternalUpdate struct {
	ConnectionDetails ConnectionDetails `json:"connectionDetails,omitempty"`
}

ExternalUpdate is an external update.

type InitResponse

type InitResponse struct {
	Status     int    `json:"status"`
	ErrMessage string `json:"errMessage,omitempty"`
}

InitResponse is the response to a init request.

type InstallResponse

type InstallResponse struct {
	Status     int    `json:"status"`
	ErrMessage string `json:"errMessage,omitempty"`
}

InstallResponse is the response to an install request.

type ObservationResponse

type ObservationResponse struct {
	Status     int                 `json:"status"`
	External   ExternalObservation `json:"externalObservation,omitempty"`
	ErrMessage string              `json:"errMessage,omitempty"`
}

ObservationResponse is the response to a create request.

type UpdateResponse

type UpdateResponse struct {
	Status     int            `json:"status"`
	External   ExternalUpdate `json:"externalUpdate,omitempty"`
	ErrMessage string         `json:"errMessage,omitempty"`
}

UpdateResponse is the response to a create request.

Directories

Path Synopsis
tf

Jump to

Keyboard shortcuts

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