queryhandlers

package
v0.0.0-...-e28bd7b Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthenticateTestHandler

type AuthenticateTestHandler struct {
	AWS ports.AWS
}

AuthenticateTestHandler handles authentication test

func (AuthenticateTestHandler) Handle

Handle ...

type CredentialHandler

type CredentialHandler struct {
	CredentialMS ports.CredentialMS
}

CredentialHandler handles getting a list of regions

func (CredentialHandler) Handle

Handle lists all AWS credential.

type FlavorGetHandler

type FlavorGetHandler struct {
	AWS     ports.AWS
	CredFac credsrc.CredentialFactory
}

FlavorGetHandler handles getting a single flavor

func (FlavorGetHandler) Handle

Handle ...

type FlavorListHandler

type FlavorListHandler struct {
	AWS     ports.AWS
	CredFac credsrc.CredentialFactory
}

FlavorListHandler handles getting a list of flavors

func (FlavorListHandler) Handle

Handle ...

type Handler

type Handler interface {
	Handle(ctx context.Context, request providers.ProviderRequest) Reply
}

Handler is query handler

type ImageGetHandler

type ImageGetHandler struct {
	AWS     ports.AWS
	CredFac credsrc.CredentialFactory
}

ImageGetHandler handles getting a single image

func (ImageGetHandler) Handle

Handle ...

type ImageListHandler

type ImageListHandler struct {
	AWS     ports.AWS
	CredFac credsrc.CredentialFactory
}

ImageListHandler handles getting a list of images

func (ImageListHandler) Handle

Handle ...

type RegionListHandler

type RegionListHandler struct {
	AWS     ports.AWS
	CredFac credsrc.CredentialFactory
}

RegionListHandler handles getting a list of regions

func (RegionListHandler) Handle

Handle ...

type Reply

type Reply interface {
	ToCloudEvent(source string, providerPrefix common.QueryOp) (cloudevents.Event, error)
}

Reply is an interface implemented by all reply structs in cacao-common (e.g. providers.ImageListReply)

Jump to

Keyboard shortcuts

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