alloydbomni

package
v0.73.0 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlloyDBOmniHandler

type AlloyDBOmniHandler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(doer doer) AlloyDBOmniHandler

func (*AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeyIdentify

func (h *AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeyIdentify(ctx context.Context, project string, serviceName string) (*AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut, error)

func (*AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeyRemove

func (h *AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeyRemove(ctx context.Context, project string, serviceName string) (*AlloyDbOmniGoogleCloudPrivateKeyRemoveOut, error)

func (*AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeySet

func (h *AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeySet(ctx context.Context, project string, serviceName string, in *AlloyDbOmniGoogleCloudPrivateKeySetIn) (*AlloyDbOmniGoogleCloudPrivateKeySetOut, error)

type AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut

type AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut struct {
	ClientEmail  string `json:"client_email"`   // Email address of Google service account key
	PrivateKeyId string `json:"private_key_id"` // Google service account key ID
}

AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut AlloyDbOmniGoogleCloudPrivateKeyIdentifyResponse

type AlloyDbOmniGoogleCloudPrivateKeyRemoveOut

type AlloyDbOmniGoogleCloudPrivateKeyRemoveOut struct {
	ClientEmail  string `json:"client_email"`   // Email address of Google service account key
	PrivateKeyId string `json:"private_key_id"` // Google service account key ID
}

AlloyDbOmniGoogleCloudPrivateKeyRemoveOut AlloyDbOmniGoogleCloudPrivateKeyRemoveResponse

type AlloyDbOmniGoogleCloudPrivateKeySetIn

type AlloyDbOmniGoogleCloudPrivateKeySetIn struct {
	PrivateKey string `json:"private_key"` // Google Service Account Credentials
}

AlloyDbOmniGoogleCloudPrivateKeySetIn AlloyDbOmniGoogleCloudPrivateKeySetRequestBody

type AlloyDbOmniGoogleCloudPrivateKeySetOut

type AlloyDbOmniGoogleCloudPrivateKeySetOut struct {
	ClientEmail  string `json:"client_email"`   // Email address of Google service account key
	PrivateKeyId string `json:"private_key_id"` // Google service account key ID
}

AlloyDbOmniGoogleCloudPrivateKeySetOut AlloyDbOmniGoogleCloudPrivateKeySetResponse

type Handler

type Handler interface {
	// AlloyDbOmniGoogleCloudPrivateKeyIdentify get Google service account key
	// GET /v1/project/{project}/service/{service_name}/alloydbomni/google_cloud_private_key
	// https://api.aiven.io/doc/#tag/Service:_AlloyDB_Omni/operation/AlloyDbOmniGoogleCloudPrivateKeyIdentify
	AlloyDbOmniGoogleCloudPrivateKeyIdentify(ctx context.Context, project string, serviceName string) (*AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut, error)

	// AlloyDbOmniGoogleCloudPrivateKeyRemove delete Google service account key
	// DELETE /v1/project/{project}/service/{service_name}/alloydbomni/google_cloud_private_key
	// https://api.aiven.io/doc/#tag/Service:_AlloyDB_Omni/operation/AlloyDbOmniGoogleCloudPrivateKeyRemove
	AlloyDbOmniGoogleCloudPrivateKeyRemove(ctx context.Context, project string, serviceName string) (*AlloyDbOmniGoogleCloudPrivateKeyRemoveOut, error)

	// AlloyDbOmniGoogleCloudPrivateKeySet add Google service account key
	// POST /v1/project/{project}/service/{service_name}/alloydbomni/google_cloud_private_key
	// https://api.aiven.io/doc/#tag/Service:_AlloyDB_Omni/operation/AlloyDbOmniGoogleCloudPrivateKeySet
	AlloyDbOmniGoogleCloudPrivateKeySet(ctx context.Context, project string, serviceName string, in *AlloyDbOmniGoogleCloudPrivateKeySetIn) (*AlloyDbOmniGoogleCloudPrivateKeySetOut, error)
}

Jump to

Keyboard shortcuts

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