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 IsNilOrNotFound ¶ added in v0.6.0
IsNilOrNotFound returns true for nil and 404 error. This check is quite often used for resource deletion when 404 is not an issue.
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
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
user.Handler
usergroup.Handler
vpc.Handler
}
type Error ¶
type Error struct {
Message string `json:"message"`
MoreInfo string `json:"more_info"`
Status int `json:"status"`
}
Error represents an Aiven API Error.
type OperationIDKey ¶
type OperationIDKey struct{}
OperationIDKey is the key used to store the operation ID in the context.