Documentation
¶
Index ¶
- type ColumnOut
- type FlinkApplicationVersionHandler
- func (h *FlinkApplicationVersionHandler) ServiceFlinkCreateApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, ...) (*ServiceFlinkCreateApplicationVersionOut, error)
- func (h *FlinkApplicationVersionHandler) ServiceFlinkDeleteApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, ...) (*ServiceFlinkDeleteApplicationVersionOut, error)
- func (h *FlinkApplicationVersionHandler) ServiceFlinkGetApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, ...) (*ServiceFlinkGetApplicationVersionOut, error)
- func (h *FlinkApplicationVersionHandler) ServiceFlinkValidateApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, ...) (*ServiceFlinkValidateApplicationVersionOut, error)
- type Handler
- type PositionOut
- type ServiceFlinkCreateApplicationVersionIn
- type ServiceFlinkCreateApplicationVersionOut
- type ServiceFlinkDeleteApplicationVersionOut
- type ServiceFlinkGetApplicationVersionOut
- type ServiceFlinkValidateApplicationVersionIn
- type ServiceFlinkValidateApplicationVersionOut
- type SinkIn
- type SinkOut
- type SinkOutAlt
- type SourceIn
- type SourceOut
- type SourceOutAlt
- type StatementErrorOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FlinkApplicationVersionHandler ¶
type FlinkApplicationVersionHandler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(doer doer) FlinkApplicationVersionHandler
func (*FlinkApplicationVersionHandler) ServiceFlinkCreateApplicationVersion ¶
func (h *FlinkApplicationVersionHandler) ServiceFlinkCreateApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, in *ServiceFlinkCreateApplicationVersionIn) (*ServiceFlinkCreateApplicationVersionOut, error)
func (*FlinkApplicationVersionHandler) ServiceFlinkDeleteApplicationVersion ¶
func (h *FlinkApplicationVersionHandler) ServiceFlinkDeleteApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, applicationVersionId string) (*ServiceFlinkDeleteApplicationVersionOut, error)
func (*FlinkApplicationVersionHandler) ServiceFlinkGetApplicationVersion ¶
func (h *FlinkApplicationVersionHandler) ServiceFlinkGetApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, applicationVersionId string) (*ServiceFlinkGetApplicationVersionOut, error)
func (*FlinkApplicationVersionHandler) ServiceFlinkValidateApplicationVersion ¶
func (h *FlinkApplicationVersionHandler) ServiceFlinkValidateApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, in *ServiceFlinkValidateApplicationVersionIn) (*ServiceFlinkValidateApplicationVersionOut, error)
type Handler ¶
type Handler interface {
// ServiceFlinkCreateApplicationVersion create a Flink ApplicationVersion
// POST /project/{project}/service/{service_name}/flink/application/{application_id}/version
// https://api.aiven.io/doc/#tag/Service:_Flink/operation/ServiceFlinkCreateApplicationVersion
ServiceFlinkCreateApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, in *ServiceFlinkCreateApplicationVersionIn) (*ServiceFlinkCreateApplicationVersionOut, error)
// ServiceFlinkDeleteApplicationVersion delete a Flink ApplicationVersion
// DELETE /project/{project}/service/{service_name}/flink/application/{application_id}/version/{application_version_id}
// https://api.aiven.io/doc/#tag/Service:_Flink/operation/ServiceFlinkDeleteApplicationVersion
ServiceFlinkDeleteApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, applicationVersionId string) (*ServiceFlinkDeleteApplicationVersionOut, error)
// ServiceFlinkGetApplicationVersion get a Flink ApplicationVersion
// GET /project/{project}/service/{service_name}/flink/application/{application_id}/version/{application_version_id}
// https://api.aiven.io/doc/#tag/Service:_Flink/operation/ServiceFlinkGetApplicationVersion
ServiceFlinkGetApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, applicationVersionId string) (*ServiceFlinkGetApplicationVersionOut, error)
// ServiceFlinkValidateApplicationVersion validate a Flink ApplicationVersion
// POST /project/{project}/service/{service_name}/flink/application/{application_id}/version/validate
// https://api.aiven.io/doc/#tag/Service:_Flink/operation/ServiceFlinkValidateApplicationVersion
ServiceFlinkValidateApplicationVersion(ctx context.Context, project string, serviceName string, applicationId string, in *ServiceFlinkValidateApplicationVersionIn) (*ServiceFlinkValidateApplicationVersionOut, error)
}
type PositionOut ¶
type ServiceFlinkValidateApplicationVersionOut ¶
type ServiceFlinkValidateApplicationVersionOut struct {
Sinks []SinkOutAlt `json:"sinks"`
Sources []SourceOutAlt `json:"sources"`
Statement string `json:"statement,omitempty"`
StatementError *StatementErrorOut `json:"statement_error,omitempty"`
}
type SinkOutAlt ¶
type SinkOutAlt struct {
Columns []ColumnOut `json:"columns,omitempty"`
CreateTable string `json:"create_table"`
IntegrationId string `json:"integration_id,omitempty"`
Message string `json:"message,omitempty"`
Options map[string]any `json:"options,omitempty"`
Position *PositionOut `json:"position,omitempty"`
TableName string `json:"table_name,omitempty"`
}
type SourceOutAlt ¶
type SourceOutAlt struct {
Columns []ColumnOut `json:"columns,omitempty"`
CreateTable string `json:"create_table"`
IntegrationId string `json:"integration_id,omitempty"`
Message string `json:"message,omitempty"`
Options map[string]any `json:"options,omitempty"`
Position *PositionOut `json:"position,omitempty"`
TableName string `json:"table_name,omitempty"`
}
type StatementErrorOut ¶
type StatementErrorOut struct {
Message string `json:"message"`
Position *PositionOut `json:"position,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.