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 DeletePullRequestQueue(c client.Client, ns, queueName string) error
- func EnsureDemoteFromActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1.Queue, err error)
- func EnsurePreActiveComponents(c client.Client, teamName, namespace string, skipTest bool) (q *s2hv1.Queue, err error)
- func EnsurePromoteToActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1.Queue, err error)
- func EnsurePullRequestComponents(c client.Client, teamName, namespace, queueName, prBundleName, prNumber string, ...) (q *s2hv1.Queue, err error)
- func GetComponentUpgradeRPCFromQueue(comStatus samsahairpc.ComponentUpgrade_UpgradeStatus, queueHistName string, ...) *samsahairpc.ComponentUpgrade
- func New(ns string, runtimeClient client.Client) internal.QueueController
- func NewQueue(teamName, namespace, name, bundle string, comps []*s2hv1.QueueComponent, ...) *s2hv1.Queue
Constants ¶
View Source
const CtrlName = "queue-ctrl"
Variables ¶
This section is empty.
Functions ¶
func DeletePullRequestQueue ¶ added in v1.7.0
func EnsureDemoteFromActiveComponents ¶
func EnsureDemoteFromActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1.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 *s2hv1.Queue, err error)
EnsurePreActiveComponents ensures that components were deployed with `pre-active` config and tested
func EnsurePromoteToActiveComponents ¶
func EnsurePromoteToActiveComponents(c client.Client, teamName, namespace string) (q *s2hv1.Queue, err error)
EnsurePromoteToActiveComponents ensures that components were deployed with `active` config
func EnsurePullRequestComponents ¶ added in v1.7.0
func EnsurePullRequestComponents(c client.Client, teamName, namespace, queueName, prBundleName, prNumber string, comps s2hv1.QueueComponents, noOfRetry int) (q *s2hv1.Queue, err error)
EnsurePullRequestComponents ensures that pull request components were deployed with `pull-request` config and tested
func GetComponentUpgradeRPCFromQueue ¶ added in v1.7.0
func GetComponentUpgradeRPCFromQueue( comStatus samsahairpc.ComponentUpgrade_UpgradeStatus, queueHistName string, queueHistNamespace string, queue *s2hv1.Queue, prQueueRPC *samsahairpc.TeamWithPullRequest, ) *samsahairpc.ComponentUpgrade
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.