Documentation
¶
Index ¶
- func InstallHPA(artifactsPath string) error
- func IsApimEnabled() (bool, error)
- func IsKnativeEnabled() (bool, error)
- func IsObservabilityEnabled() (bool, error)
- type CelleryRuntime
- func (runtime *CelleryRuntime) AddApim(isPersistentVolume bool) error
- func (runtime *CelleryRuntime) AddComponent(component SystemComponent) error
- func (runtime *CelleryRuntime) AddIdp() error
- func (runtime *CelleryRuntime) AddObservability() error
- func (runtime *CelleryRuntime) ApplyIstioCrds() error
- func (runtime *CelleryRuntime) ApplyKnativeCrds() error
- func (runtime *CelleryRuntime) CreateCelleryNameSpace() error
- func (runtime *CelleryRuntime) CreateConfigMaps() error
- func (runtime *CelleryRuntime) CreatePersistentVolume(hasNfs bool) error
- func (runtime *CelleryRuntime) CreatePersistentVolumeDirs() error
- func (runtime *CelleryRuntime) DeleteComponent(component SystemComponent) error
- func (runtime *CelleryRuntime) InstallController() error
- func (runtime *CelleryRuntime) InstallIngressNginx(isLoadBalancerIngressMode bool) error
- func (runtime *CelleryRuntime) InstallIstio() error
- func (runtime *CelleryRuntime) InstallKnativeServing() error
- func (runtime *CelleryRuntime) InstallMysql(isPersistentVolume bool) error
- func (runtime *CelleryRuntime) IsComponentEnabled(component SystemComponent) (bool, error)
- func (runtime *CelleryRuntime) IsGcpRuntime() bool
- func (runtime *CelleryRuntime) IsHpaEnabled() (bool, error)
- func (runtime *CelleryRuntime) SetArtifactsPath(artifactsPath string)
- func (runtime *CelleryRuntime) UpdateInitSql(dbUserName, dbPassword string) error
- func (runtime *CelleryRuntime) UpdateMysqlCredentials(dbUserName, dbPassword, dbHost string) error
- func (runtime *CelleryRuntime) UpdateNfsServerDetails(ipAddress, fileShare string) error
- func (runtime *CelleryRuntime) UpdateNodePortIpAddress(nodePortIpAddress string) error
- func (runtime *CelleryRuntime) Validate() error
- func (runtime *CelleryRuntime) WaitFor(checkKnative, hpaEnabled bool) error
- type ConfigMap
- type MysqlDb
- type Nfs
- type Runtime
- type Selection
- type SystemComponent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InstallHPA ¶ added in v0.3.0
func IsApimEnabled ¶ added in v0.3.0
func IsKnativeEnabled ¶ added in v0.3.0
func IsObservabilityEnabled ¶ added in v0.3.0
Types ¶
type CelleryRuntime ¶ added in v0.6.0
type CelleryRuntime struct {
// contains filtered or unexported fields
}
func NewCelleryRuntime ¶ added in v0.6.0
func NewCelleryRuntime(opts ...func(*CelleryRuntime)) *CelleryRuntime
NewCelleryRuntime returns a CelleryRuntime instance.
func (*CelleryRuntime) AddApim ¶ added in v0.6.0
func (runtime *CelleryRuntime) AddApim(isPersistentVolume bool) error
func (*CelleryRuntime) AddComponent ¶ added in v0.6.0
func (runtime *CelleryRuntime) AddComponent(component SystemComponent) error
func (*CelleryRuntime) AddIdp ¶ added in v0.6.0
func (runtime *CelleryRuntime) AddIdp() error
func (*CelleryRuntime) AddObservability ¶ added in v0.6.0
func (runtime *CelleryRuntime) AddObservability() error
func (*CelleryRuntime) ApplyIstioCrds ¶ added in v0.6.0
func (runtime *CelleryRuntime) ApplyIstioCrds() error
func (*CelleryRuntime) ApplyKnativeCrds ¶ added in v0.6.0
func (runtime *CelleryRuntime) ApplyKnativeCrds() error
func (*CelleryRuntime) CreateCelleryNameSpace ¶ added in v0.6.0
func (runtime *CelleryRuntime) CreateCelleryNameSpace() error
func (*CelleryRuntime) CreateConfigMaps ¶ added in v0.6.0
func (runtime *CelleryRuntime) CreateConfigMaps() error
func (*CelleryRuntime) CreatePersistentVolume ¶ added in v0.6.0
func (runtime *CelleryRuntime) CreatePersistentVolume(hasNfs bool) error
func (*CelleryRuntime) CreatePersistentVolumeDirs ¶ added in v0.6.0
func (runtime *CelleryRuntime) CreatePersistentVolumeDirs() error
func (*CelleryRuntime) DeleteComponent ¶ added in v0.6.0
func (runtime *CelleryRuntime) DeleteComponent(component SystemComponent) error
func (*CelleryRuntime) InstallController ¶ added in v0.6.0
func (runtime *CelleryRuntime) InstallController() error
func (*CelleryRuntime) InstallIngressNginx ¶ added in v0.6.0
func (runtime *CelleryRuntime) InstallIngressNginx(isLoadBalancerIngressMode bool) error
func (*CelleryRuntime) InstallIstio ¶ added in v0.6.0
func (runtime *CelleryRuntime) InstallIstio() error
func (*CelleryRuntime) InstallKnativeServing ¶ added in v0.6.0
func (runtime *CelleryRuntime) InstallKnativeServing() error
func (*CelleryRuntime) InstallMysql ¶ added in v0.6.0
func (runtime *CelleryRuntime) InstallMysql(isPersistentVolume bool) error
func (*CelleryRuntime) IsComponentEnabled ¶ added in v0.6.0
func (runtime *CelleryRuntime) IsComponentEnabled(component SystemComponent) (bool, error)
func (*CelleryRuntime) IsGcpRuntime ¶ added in v0.6.0
func (runtime *CelleryRuntime) IsGcpRuntime() bool
func (*CelleryRuntime) IsHpaEnabled ¶ added in v0.6.0
func (runtime *CelleryRuntime) IsHpaEnabled() (bool, error)
func (*CelleryRuntime) SetArtifactsPath ¶ added in v0.6.0
func (runtime *CelleryRuntime) SetArtifactsPath(artifactsPath string)
func (*CelleryRuntime) UpdateInitSql ¶ added in v0.6.0
func (runtime *CelleryRuntime) UpdateInitSql(dbUserName, dbPassword string) error
func (*CelleryRuntime) UpdateMysqlCredentials ¶ added in v0.6.0
func (runtime *CelleryRuntime) UpdateMysqlCredentials(dbUserName, dbPassword, dbHost string) error
func (*CelleryRuntime) UpdateNfsServerDetails ¶ added in v0.6.0
func (runtime *CelleryRuntime) UpdateNfsServerDetails(ipAddress, fileShare string) error
func (*CelleryRuntime) UpdateNodePortIpAddress ¶ added in v0.6.0
func (runtime *CelleryRuntime) UpdateNodePortIpAddress(nodePortIpAddress string) error
func (*CelleryRuntime) Validate ¶ added in v0.6.0
func (runtime *CelleryRuntime) Validate() error
func (*CelleryRuntime) WaitFor ¶ added in v0.6.0
func (runtime *CelleryRuntime) WaitFor(checkKnative, hpaEnabled bool) error
type Runtime ¶ added in v0.6.0
type Runtime interface {
SetArtifactsPath(artifactsPath string)
AddComponent(component SystemComponent) error
DeleteComponent(component SystemComponent) error
IsComponentEnabled(component SystemComponent) (bool, error)
CreateCelleryNameSpace() error
IsGcpRuntime() bool
CreatePersistentVolumeDirs() error
UpdateNfsServerDetails(ipAddress, fileShare string) error
UpdateMysqlCredentials(dbUserName, dbPassword, dbHost string) error
UpdateInitSql(dbUserName, dbPassword string) error
ApplyIstioCrds() error
InstallIstio() error
InstallIngressNginx(isLoadBalancerIngressMode bool) error
ApplyKnativeCrds() error
InstallKnativeServing() error
InstallController() error
InstallMysql(isPersistentVolume bool) error
CreateConfigMaps() error
AddApim(isPersistentVolume bool) error
AddObservability() error
AddIdp() error
UpdateNodePortIpAddress(nodePortIpAddress string) error
CreatePersistentVolume(hasNfs bool) error
IsHpaEnabled() (bool, error)
WaitFor(checkKnative, hpaEnabled bool) error
Validate() error
}
type SystemComponent ¶
type SystemComponent string
const ( ApiManager SystemComponent = "ApiManager" IdentityProvider SystemComponent = "IdentityProvider" Observability SystemComponent = "Observability" ScaleToZero SystemComponent = "Scale to zero" HPA SystemComponent = "Horizontal pod auto scalar" Controller SystemComponent = "Controller" System SystemComponent = "System" Mysql SystemComponent = "Mysql" )
Click to show internal directories.
Click to hide internal directories.