Documentation
¶
Index ¶
- type AlloyDBOmniHandler
- func (h *AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeyIdentify(ctx context.Context, project string, serviceName string) (*AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut, error)
- func (h *AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeyRemove(ctx context.Context, project string, serviceName string) (*AlloyDbOmniGoogleCloudPrivateKeyRemoveOut, error)
- func (h *AlloyDBOmniHandler) AlloyDbOmniGoogleCloudPrivateKeySet(ctx context.Context, project string, serviceName string, ...) (*AlloyDbOmniGoogleCloudPrivateKeySetOut, error)
- type AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut
- type AlloyDbOmniGoogleCloudPrivateKeyRemoveOut
- type AlloyDbOmniGoogleCloudPrivateKeySetIn
- type AlloyDbOmniGoogleCloudPrivateKeySetOut
- type Handler
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 associated with a Google service account key registered for your Aiven for AlloyDB Omni service
PrivateKeyId string `json:"private_key_id"` // ID of a Google service account key registered for your Aiven for AlloyDB Omni service
}
AlloyDbOmniGoogleCloudPrivateKeyIdentifyOut AlloyDbOmniGoogleCloudPrivateKeyIdentifyResponse
type AlloyDbOmniGoogleCloudPrivateKeyRemoveOut ¶
type AlloyDbOmniGoogleCloudPrivateKeyRemoveOut struct {
ClientEmail string `json:"client_email"` // Email address associated with a Google service account key registered for your Aiven for AlloyDB Omni service
PrivateKeyId string `json:"private_key_id"` // ID of a Google service account key registered for your Aiven for AlloyDB Omni service
}
AlloyDbOmniGoogleCloudPrivateKeyRemoveOut AlloyDbOmniGoogleCloudPrivateKeyRemoveResponse
type AlloyDbOmniGoogleCloudPrivateKeySetIn ¶
type AlloyDbOmniGoogleCloudPrivateKeySetIn struct {
PrivateKey string `json:"private_key"` // This is a JSON object with the fields documented in https://cloud.google.com/iam/docs/creating-managing-service-account-keys .
}
AlloyDbOmniGoogleCloudPrivateKeySetIn AlloyDbOmniGoogleCloudPrivateKeySetRequestBody
type AlloyDbOmniGoogleCloudPrivateKeySetOut ¶
type AlloyDbOmniGoogleCloudPrivateKeySetOut struct {
ClientEmail string `json:"client_email"` // Email address associated with a Google service account key registered for your Aiven for AlloyDB Omni service
PrivateKeyId string `json:"private_key_id"` // ID of a Google service account key registered for your Aiven for AlloyDB Omni service
}
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)
}
Click to show internal directories.
Click to hide internal directories.