Documentation
¶
Index ¶
- func CreateSemaphore(concurrency int, timeout time.Duration) func() (bool, func())
- func Hash(s string) uint32
- func IsContainsAll(a, b map[string]string) bool
- func IsContainsString(s string, arr []string) bool
- func ParseCapacity(capacity string) (uint16, string, error)
- func RenderFinalizer(id string) string
- func RenderMountPoint(pattern, name string, index int) string
- func RenderPVCName(pod string, config *discoblocksondatiov1.DiskConfig) string
- func RenderSidecar() (*corev1.Container, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSemaphore ¶
func IsContainsAll ¶
IsContainsAll finds for a contains all b
func IsContainsString ¶
IsContainsString finds string in array
func RenderFinalizer ¶
RenderFinalizer calculates finalizer name
func RenderMountPoint ¶
RenderMountPoint calculates mount point
func RenderPVCName ¶
func RenderPVCName(pod string, config *discoblocksondatiov1.DiskConfig) string
RenderPVCName calculates PVC name
func RenderSidecar ¶
RenderSidecar returns the sidecar
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.