Documentation ¶
Index ¶
- type ConnectionOut
- type ConnectionOutAlt
- type Handler
- type PrivatelinkAvailabilityOut
- type PrivatelinkHandler
- func (h *PrivatelinkHandler) PublicPrivatelinkAvailabilityList(ctx context.Context, tenant string) ([]PrivatelinkAvailabilityOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSCreate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAwscreateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAwsdeleteOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAwsgetOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAWSUpdate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAwsupdateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionApproval(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureConnectionApprovalOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOutAlt, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionUpdate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureConnectionUpdateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureCreate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureCreateOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureDeleteOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureGetOut, error)
- func (h *PrivatelinkHandler) ServicePrivatelinkAzureUpdate(ctx context.Context, project string, serviceName string, ...) (*ServicePrivatelinkAzureUpdateOut, error)
- type ServicePrivatelinkAwscreateIn
- type ServicePrivatelinkAwscreateOut
- type ServicePrivatelinkAwsdeleteOut
- type ServicePrivatelinkAwsgetOut
- type ServicePrivatelinkAwsupdateIn
- type ServicePrivatelinkAwsupdateOut
- type ServicePrivatelinkAzureConnectionApprovalOut
- type ServicePrivatelinkAzureConnectionUpdateIn
- type ServicePrivatelinkAzureConnectionUpdateOut
- type ServicePrivatelinkAzureCreateIn
- type ServicePrivatelinkAzureCreateOut
- type ServicePrivatelinkAzureDeleteOut
- type ServicePrivatelinkAzureGetOut
- type ServicePrivatelinkAzureUpdateIn
- type ServicePrivatelinkAzureUpdateOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionOut ¶
type ConnectionOutAlt ¶
type Handler ¶
type Handler interface { // PublicPrivatelinkAvailabilityList list privatelink clouds and prices // GET /tenants/{tenant}/privatelink-availability // https://api.aiven.io/doc/#tag/Cloud_platforms/operation/PublicPrivatelinkAvailabilityList PublicPrivatelinkAvailabilityList(ctx context.Context, tenant string) ([]PrivatelinkAvailabilityOut, error) // ServicePrivatelinkAWSConnectionList list VPC Endpoint connections for an AWS Privatelink Endpoint Service // GET /project/{project}/service/{service_name}/privatelink/aws/connections // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSConnectionList ServicePrivatelinkAWSConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOut, error) // ServicePrivatelinkAWSCreate create an AWS Privatelink Endpoint Service // POST /project/{project}/service/{service_name}/privatelink/aws // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSCreate ServicePrivatelinkAWSCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAwscreateIn) (*ServicePrivatelinkAwscreateOut, error) // ServicePrivatelinkAWSDelete delete an AWS Privatelink Endpoint Service // DELETE /project/{project}/service/{service_name}/privatelink/aws // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSDelete ServicePrivatelinkAWSDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAwsdeleteOut, error) // ServicePrivatelinkAWSGet get AWS Privatelink Endpoint Service information // GET /project/{project}/service/{service_name}/privatelink/aws // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSGet ServicePrivatelinkAWSGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAwsgetOut, error) // ServicePrivatelinkAWSUpdate update an AWS Privatelink Endpoint Service // PUT /project/{project}/service/{service_name}/privatelink/aws // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAWSUpdate ServicePrivatelinkAWSUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAwsupdateIn) (*ServicePrivatelinkAwsupdateOut, error) // ServicePrivatelinkAzureConnectionApproval approve an Azure private endpoint connection pending user approval // POST /project/{project}/service/{service_name}/privatelink/azure/connections/{privatelink_connection_id}/approve // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureConnectionApproval ServicePrivatelinkAzureConnectionApproval(ctx context.Context, project string, serviceName string, privatelinkConnectionId string) (*ServicePrivatelinkAzureConnectionApprovalOut, error) // ServicePrivatelinkAzureConnectionList list private endpoint connections for an Azure Privatelink Service // GET /project/{project}/service/{service_name}/privatelink/azure/connections // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureConnectionList ServicePrivatelinkAzureConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOutAlt, error) // ServicePrivatelinkAzureConnectionUpdate update a private endpoint connection for an Azure Privatelink Service // PUT /project/{project}/service/{service_name}/privatelink/azure/connections/{privatelink_connection_id} // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureConnectionUpdate ServicePrivatelinkAzureConnectionUpdate(ctx context.Context, project string, serviceName string, privatelinkConnectionId string, in *ServicePrivatelinkAzureConnectionUpdateIn) (*ServicePrivatelinkAzureConnectionUpdateOut, error) // ServicePrivatelinkAzureCreate create an Azure Privatelink Service // POST /project/{project}/service/{service_name}/privatelink/azure // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureCreate ServicePrivatelinkAzureCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureCreateIn) (*ServicePrivatelinkAzureCreateOut, error) // ServicePrivatelinkAzureDelete delete an Azure Privatelink Service // DELETE /project/{project}/service/{service_name}/privatelink/azure // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureDelete ServicePrivatelinkAzureDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureDeleteOut, error) // ServicePrivatelinkAzureGet get Azure Privatelink Service information // GET /project/{project}/service/{service_name}/privatelink/azure // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureGet ServicePrivatelinkAzureGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureGetOut, error) // ServicePrivatelinkAzureUpdate update an Azure Privatelink Service // PUT /project/{project}/service/{service_name}/privatelink/azure // https://api.aiven.io/doc/#tag/Service/operation/ServicePrivatelinkAzureUpdate ServicePrivatelinkAzureUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureUpdateIn) (*ServicePrivatelinkAzureUpdateOut, error) }
type PrivatelinkHandler ¶
type PrivatelinkHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(doer doer) PrivatelinkHandler
func (*PrivatelinkHandler) PublicPrivatelinkAvailabilityList ¶
func (h *PrivatelinkHandler) PublicPrivatelinkAvailabilityList(ctx context.Context, tenant string) ([]PrivatelinkAvailabilityOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSConnectionList ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSCreate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAwscreateIn) (*ServicePrivatelinkAwscreateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSDelete ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAwsdeleteOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSGet ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAwsgetOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAWSUpdate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAWSUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAwsupdateIn) (*ServicePrivatelinkAwsupdateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureConnectionApproval ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionApproval(ctx context.Context, project string, serviceName string, privatelinkConnectionId string) (*ServicePrivatelinkAzureConnectionApprovalOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureConnectionList ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionList(ctx context.Context, project string, serviceName string) ([]ConnectionOutAlt, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureConnectionUpdate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureConnectionUpdate(ctx context.Context, project string, serviceName string, privatelinkConnectionId string, in *ServicePrivatelinkAzureConnectionUpdateIn) (*ServicePrivatelinkAzureConnectionUpdateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureCreate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureCreate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureCreateIn) (*ServicePrivatelinkAzureCreateOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureDelete ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureDelete(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureDeleteOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureGet ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureGet(ctx context.Context, project string, serviceName string) (*ServicePrivatelinkAzureGetOut, error)
func (*PrivatelinkHandler) ServicePrivatelinkAzureUpdate ¶
func (h *PrivatelinkHandler) ServicePrivatelinkAzureUpdate(ctx context.Context, project string, serviceName string, in *ServicePrivatelinkAzureUpdateIn) (*ServicePrivatelinkAzureUpdateOut, error)
type ServicePrivatelinkAwscreateIn ¶
type ServicePrivatelinkAwscreateIn struct {
Principals []string `json:"principals"`
}
type ServicePrivatelinkAwsupdateIn ¶
type ServicePrivatelinkAwsupdateIn struct {
Principals []string `json:"principals"`
}
type ServicePrivatelinkAzureConnectionUpdateIn ¶
type ServicePrivatelinkAzureConnectionUpdateIn struct {
UserIpAddress string `json:"user_ip_address"`
}
type ServicePrivatelinkAzureCreateIn ¶
type ServicePrivatelinkAzureCreateIn struct {
UserSubscriptionIds []string `json:"user_subscription_ids"`
}
type ServicePrivatelinkAzureUpdateIn ¶
type ServicePrivatelinkAzureUpdateIn struct {
UserSubscriptionIds []string `json:"user_subscription_ids"`
}
Click to show internal directories.
Click to hide internal directories.