Documentation
¶
Index ¶
- Variables
- type DeployedAppService
- type DeployedAppServiceImpl
- func (impl *DeployedAppServiceImpl) HibernationPatch(ctx context.Context, appId, envId int, userMetadata *bean6.UserMetadata) (*bean.HibernationPatchResponse, error)
- func (impl *DeployedAppServiceImpl) RotatePods(ctx context.Context, podRotateRequest *bean.PodRotateRequest, ...) (*bean4.RotatePodResponse, error)
- func (impl *DeployedAppServiceImpl) StopStartApp(ctx context.Context, stopRequest *bean.StopAppRequest, ...) (int, error)
- func (impl *DeployedAppServiceImpl) StopStartAppV1(ctx context.Context, stopRequest *bean.StopAppRequest, ...) (int, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DeployedAppWireSet = wire.NewSet( status.WireSet, NewDeployedAppServiceImpl, wire.Bind(new(DeployedAppService), new(*DeployedAppServiceImpl)), )
Functions ¶
This section is empty.
Types ¶
type DeployedAppService ¶
type DeployedAppService interface { StopStartApp(ctx context.Context, stopRequest *bean.StopAppRequest, userMetadata *bean6.UserMetadata) (int, error) RotatePods(ctx context.Context, podRotateRequest *bean.PodRotateRequest, userMetadata *bean6.UserMetadata) (*bean4.RotatePodResponse, error) StopStartAppV1(ctx context.Context, stopRequest *bean.StopAppRequest, userMetadata *bean6.UserMetadata) (int, error) HibernationPatch(ctx context.Context, appId, envId int, userMetadata *bean6.UserMetadata) (*bean.HibernationPatchResponse, error) }
type DeployedAppServiceImpl ¶
type DeployedAppServiceImpl struct {
// contains filtered or unexported fields
}
func NewDeployedAppServiceImpl ¶
func NewDeployedAppServiceImpl(logger *zap.SugaredLogger, k8sCommonService k8s.K8sCommonService, cdHandlerService devtronApps.HandlerService, envRepository repository.EnvironmentRepository, pipelineRepository pipelineConfig.PipelineRepository, cdWorkflowRepository pipelineConfig.CdWorkflowRepository) *DeployedAppServiceImpl
func (*DeployedAppServiceImpl) HibernationPatch ¶ added in v1.4.0
func (impl *DeployedAppServiceImpl) HibernationPatch(ctx context.Context, appId, envId int, userMetadata *bean6.UserMetadata) (*bean.HibernationPatchResponse, error)
func (*DeployedAppServiceImpl) RotatePods ¶
func (impl *DeployedAppServiceImpl) RotatePods(ctx context.Context, podRotateRequest *bean.PodRotateRequest, userMetadata *bean6.UserMetadata) (*bean4.RotatePodResponse, error)
func (*DeployedAppServiceImpl) StopStartApp ¶
func (impl *DeployedAppServiceImpl) StopStartApp(ctx context.Context, stopRequest *bean.StopAppRequest, userMetadata *bean6.UserMetadata) (int, error)
func (*DeployedAppServiceImpl) StopStartAppV1 ¶ added in v1.4.0
func (impl *DeployedAppServiceImpl) StopStartAppV1(ctx context.Context, stopRequest *bean.StopAppRequest, userMetadata *bean6.UserMetadata) (int, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.