Documentation
      ¶
    
    
  
    
  
    Index ¶
- Constants
 - func BuildAutoscalePolicyNonExistErrorMatcher(name string) string
 - func GetComponentAutoscalePolicyName(instance string, component string) string
 - func GetGatewayAutoscalePolicyName(instance string) string
 - func GetTargetComponentDeploymentName(instance string, component string) string
 - func GetTargetGatewayeploymentName(instance string) string
 - type CellPolicy
 - type Metric
 - type Policy
 - type PolicyNotFoundError
 - type Resource
 - type Rule
 - type Target
 
Constants ¶
      View Source
      
  
    const CellComponentTargetType = "component"
    
      View Source
      
  
    const CellGatewayTargetType = "gateway"
    
      View Source
      
  
    const CelleryApiVersion = "mesh.cellery.io/v1alpha1"
    
      View Source
      
  
    const CelleryAutoscalePolicyKind = "AutoscalePolicy"
    
      View Source
      
  
    const K8sScaleTargetApiVersion = "apps/v1"
    
      View Source
      
  
    const K8sScaleTargetKind = "Deployment"
    
      View Source
      
  
const PolicyTypeAutoscale = "AutoscalePolicy"
    Variables ¶
This section is empty.
Functions ¶
Types ¶
type CellPolicy ¶
type PolicyNotFoundError ¶
type PolicyNotFoundError struct {
	Err error
	// contains filtered or unexported fields
}
    func (PolicyNotFoundError) Error ¶
func (e PolicyNotFoundError) Error() string
 Click to show internal directories. 
   Click to hide internal directories.