Documentation
¶
Index ¶
Constants ¶
View Source
const ( AnnotationNameCacheMode = "operation-cache-controller.azure.github.com/cache-mode" AnnotationNameCacheKey = "operation-cache-controller.azure.github.com/cache-key" AnnotationValueTrue = "true" AnnotationValueFalse = "false" )
View Source
const (
LabelNameCacheKey = "operation-cache-controller.azure.github.com/cache-key"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomString ¶
GenerateRandomString generates a random string of length n
func NewCacheKeyFromApplications ¶
func NewCacheKeyFromApplications(apps []appsv1.ApplicationSpec) string
Types ¶
type AppCacheField ¶
type AppCacheField struct { Name string Image string Command []string Args []string WorkingDir string Env []corev1.EnvVar Dependencies []string }
func AppCacheFieldFromApplicationProvision ¶
func AppCacheFieldFromApplicationProvision(app appsv1.ApplicationSpec) *AppCacheField
func AppCacheFieldFromApplicationTeardown ¶
func AppCacheFieldFromApplicationTeardown(app appsv1.ApplicationSpec) *AppCacheField
func (*AppCacheField) NewCacheKey ¶
func (c *AppCacheField) NewCacheKey() string
Click to show internal directories.
Click to hide internal directories.