Documentation ¶
Index ¶
- func AntiAffinityLabel(lbl string) buildOption
- func CapacityAwareProvisioning(values ...string) buildOption
- func ExecutionMode(m executionMode) buildOption
- func Filter(entries *csp.CSPList, opts ...buildOption) (*csp.CSPList, error)
- func FilterPoolIDs(entries *csp.CSPList, opts []buildOption) ([]string, error)
- func GetPolicies(values ...string) []buildOption
- func PreferAntiAffinityLabel(lbl string) buildOption
- func PreferScheduleOnHostAnnotation(hostNameAnnotation string) buildOption
- func TemplateFunctions() template.FuncMap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AntiAffinityLabel ¶
func AntiAffinityLabel(lbl string) buildOption
AntiAffinityLabel adds anti affinity label as a policy to be used during pool selection
func CapacityAwareProvisioning ¶
func CapacityAwareProvisioning(values ...string) buildOption
CapacityAwareProvisioning adds scheduleWithOverProvisioningAwareness as a policy to be used during pool selection.
func ExecutionMode ¶
func ExecutionMode(m executionMode) buildOption
ExecutionMode sets the execution mode against the provided selection instance
func FilterPoolIDs ¶
FilterPoolIDs will filter the provided pools based on pool selection policies
func GetPolicies ¶
func GetPolicies(values ...string) []buildOption
GetPolicies returns the appropriate selection policies based on the provided values
func PreferAntiAffinityLabel ¶
func PreferAntiAffinityLabel(lbl string) buildOption
PreferAntiAffinityLabel adds anti affinity label as a preferred policy to be used during pool selection
func PreferScheduleOnHostAnnotation ¶
func PreferScheduleOnHostAnnotation(hostNameAnnotation string) buildOption
PreferScheduleOnHostAnnotation adds preferScheduleOnHost as a policy to be used during pool selection
func TemplateFunctions ¶
TemplateFunctions exposes a few functions as go template functions
Types ¶
This section is empty.