Documentation ¶
Index ¶
- func NewKymaOrchestrationHandler(operations storage.Operations, orchestrations storage.Orchestrations, ...) *kymaHandler
- type Converter
- func (c *Converter) OrchestrationListToDTO(orchestrations []internal.Orchestration, count, totalCount int) (orchestration.StatusResponseList, error)
- func (*Converter) OrchestrationToDTO(o *internal.Orchestration) (*orchestration.StatusResponse, error)
- func (c *Converter) UpgradeKymaOperationListToDTO(ops []internal.UpgradeKymaOperation, count, totalCount int) (orchestration.OperationResponseList, error)
- func (c *Converter) UpgradeKymaOperationToDTO(op internal.UpgradeKymaOperation) (orchestration.OperationResponse, error)
- func (c *Converter) UpgradeKymaOperationToDetailDTO(op internal.UpgradeKymaOperation, kymaConfig gqlschema.KymaConfigInput, ...) (orchestration.OperationDetailResponse, error)
- type Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKymaOrchestrationHandler ¶
func NewKymaOrchestrationHandler(operations storage.Operations, orchestrations storage.Orchestrations, runtimeStates storage.RuntimeStates, defaultMaxPage int, q *process.Queue, log logrus.FieldLogger) *kymaHandler
Types ¶
type Converter ¶
type Converter struct{}
func (*Converter) OrchestrationListToDTO ¶
func (c *Converter) OrchestrationListToDTO(orchestrations []internal.Orchestration, count, totalCount int) (orchestration.StatusResponseList, error)
func (*Converter) OrchestrationToDTO ¶
func (*Converter) OrchestrationToDTO(o *internal.Orchestration) (*orchestration.StatusResponse, error)
func (*Converter) UpgradeKymaOperationListToDTO ¶
func (c *Converter) UpgradeKymaOperationListToDTO(ops []internal.UpgradeKymaOperation, count, totalCount int) (orchestration.OperationResponseList, error)
func (*Converter) UpgradeKymaOperationToDTO ¶
func (c *Converter) UpgradeKymaOperationToDTO(op internal.UpgradeKymaOperation) (orchestration.OperationResponse, error)
func (*Converter) UpgradeKymaOperationToDetailDTO ¶
func (c *Converter) UpgradeKymaOperationToDetailDTO(op internal.UpgradeKymaOperation, kymaConfig gqlschema.KymaConfigInput, clusterConfig gqlschema.GardenerConfigInput) (orchestration.OperationDetailResponse, error)
type Handler ¶
func NewOrchestrationHandler ¶
func NewOrchestrationHandler(db storage.BrokerStorage, kymaQueue *process.Queue, defaultMaxPage int, log logrus.FieldLogger) Handler
Click to show internal directories.
Click to hide internal directories.