Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_NAMESPACE = "default" HELM_APP_DETAIL_URL = "%s/orchestrator/application/app?appId=%s" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChartRepoIdentifierSpec ¶
type ChartRepoSpec ¶
type ChartRepoSpec struct {
Name string `json:"name,notnull" validate:"required"`
Identifier *ChartRepoIdentifierSpec `json:"identifier,omitempty"`
}
type ChartSpec ¶
type ChartSpec struct {
Repo *ChartRepoSpec `json:"repo,notnull" validate:"required"`
ChartName string `json:"chartName,notnull" validate:"required"`
ChartVersion string `json:"chartVersion,omitempty"`
}
type HelmAppCreateUpdateRequest ¶
type HelmAppCreateUpdateRequest struct {
ClusterName string `json:"clusterName,notnull" validate:"required"`
Namespace string `json:"namespace,omitempty"`
ReleaseName string `json:"releaseName,notnull" validate:"required"`
ValuesOverrideYaml string `json:"valuesOverrideYaml,omitempty"`
Chart *ChartSpec `json:"chart,notnull" validate:"required"`
}
type WebhookHelmService ¶
type WebhookHelmServiceImpl ¶
type WebhookHelmServiceImpl struct {
// contains filtered or unexported fields
}
func NewWebhookHelmServiceImpl ¶
func NewWebhookHelmServiceImpl(logger *zap.SugaredLogger, helmAppService client.HelmAppService, clusterService cluster.ClusterService, chartRepositoryService chartRepo.ChartRepositoryService, attributesService attributes.AttributesService) *WebhookHelmServiceImpl
func (WebhookHelmServiceImpl) CreateOrUpdateHelmApplication ¶
func (impl WebhookHelmServiceImpl) CreateOrUpdateHelmApplication(ctx context.Context, request *HelmAppCreateUpdateRequest) (result interface{}, errorCode string, errorMessage string, statusCode int)
Click to show internal directories.
Click to hide internal directories.