Documentation
¶
Overview ¶
Package aiven provides a client for interacting with the Aiven API.
Package aiven provides a client for interacting with the Aiven API.
Package aiven provides a client for interacting with the Aiven API.
Package aiven provides a client for interacting with the Aiven API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExists ¶
IsAlreadyExists returns true if the error message and error code that indicates that entity already exists
func IsNotFound ¶
IsNotFound returns true if the specified error has status 404
Types ¶
type Client ¶
type Client interface {
account.Handler
accountauthentication.Handler
accountteam.Handler
accountteammember.Handler
applicationuser.Handler
billinggroup.Handler
clickhouse.Handler
cloud.Handler
domain.Handler
flink.Handler
flinkapplication.Handler
flinkapplicationdeployment.Handler
flinkapplicationversion.Handler
flinkjob.Handler
kafka.Handler
kafkaconnect.Handler
kafkamirrormaker.Handler
kafkaschemaregistry.Handler
kafkatopic.Handler
mysql.Handler
opensearch.Handler
organization.Handler
organizationuser.Handler
postgresql.Handler
privatelink.Handler
project.Handler
projectbilling.Handler
service.Handler
serviceintegration.Handler
serviceuser.Handler
staticip.Handler
thanos.Handler
user.Handler
usergroup.Handler
vpc.Handler
}
type Error ¶
type Error struct {
// Aiven error response fields https://api.aiven.io/doc/#section/Responses/Failed-responses
Message string `json:"message"`
Errors any `json:"errors"`
// Internal fields
OperationID string `json:"-"`
Status int `json:"-"`
}
Error represents an Aiven API Error.
type OperationIDKey ¶
type OperationIDKey struct{}
OperationIDKey is the key used to store the operation ID in the context.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.