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, q *s2hv1.Queue) error
- func GetComponentUpgradeRPCFromQueue(comStatus samsahairpc.ComponentUpgrade_UpgradeStatus, queueHistName string, ...) *samsahairpc.ComponentUpgrade
- func New(ns string, runtimeClient client.Client) internal.QueueController
- func NewInitialPullRequestQueue(teamName, namespace, queueName, prBundleName, prNumber string, ...) *s2hv1.Queue
- 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
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
func New ¶
func New(ns string, runtimeClient client.Client) internal.QueueController
New returns QueueController
func NewInitialPullRequestQueue ¶ added in v1.11.5
func NewInitialPullRequestQueue(teamName, namespace, queueName, prBundleName, prNumber string, comps s2hv1.QueueComponents, noOfRetry int, extra *s2hv1.QueueExtraParameters) *s2hv1.Queue
NewInitialPullRequestQueue returns initial value of PullRequestQueue
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.