Documentation ¶
Index ¶
- Constants
- func DeleteDemoteFromActiveQueue(c client.Client, ns string) error
- func DeletePreActiveQueue(c client.Client, ns string) error
- func DeletePromoteToActiveQueue(c client.Client, ns string) error
- func EnsureDemoteFromActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1beta1.Queue, err error)
- func EnsurePreActiveComponents(c client.Client, teamName, namespace string, skipTest bool) (q *s2hv1beta1.Queue, err error)
- func EnsurePromoteToActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1beta1.Queue, err error)
- func New(ns string, runtimeClient client.Client) internal.QueueController
- func NewUpgradeQueue(teamName, namespace, name, bundle string, comps []*s2hv1beta1.QueueComponent) *s2hv1beta1.Queue
Constants ¶
View Source
const CtrlName = "queue-ctrl"
Variables ¶
This section is empty.
Functions ¶
func EnsureDemoteFromActiveComponents ¶
func EnsureDemoteFromActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1beta1.Queue, err error)
EnsureDemoteFromActiveComponents ensures that components were deployed without `active` config
func EnsurePreActiveComponents ¶
func EnsurePreActiveComponents(c client.Client, teamName, namespace string, skipTest bool) (q *s2hv1beta1.Queue, err error)
EnsurePreActiveComponents ensures that components with were deployed with `pre-active` config and tested
func EnsurePromoteToActiveComponents ¶
func EnsurePromoteToActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1beta1.Queue, err error)
EnsurePromoteToActiveComponents ensures that components were deployed with `active` config
func New ¶
func New(ns string, runtimeClient client.Client) internal.QueueController
New returns QueueController
func NewUpgradeQueue ¶
func NewUpgradeQueue(teamName, namespace, name, bundle string, comps []*s2hv1beta1.QueueComponent) *s2hv1beta1.Queue
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.