/
githubmirror
/
origin
Обзор
Документация
Войти
/
githubmirror
/
origin
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
pkg/cmd/openshift-tests/disruption/disruption_command.go
21 строка
690 B
Jacob Tanenbaum
adding pod-to-service and host-to-service poller ci disruption tests
22 авг 2023, 20:36
22 авг 2023, 20:36
3a20ef4
Код
Авторство
О чём код?
package disruption import ( poll_service "github.com/openshift/origin/pkg/cmd/openshift-tests/disruption/poll-service" watch_endpointslice "github.com/openshift/origin/pkg/cmd/openshift-tests/disruption/watch-endpointslice" "github.com/spf13/cobra" "k8s.io/cli-runtime/pkg/genericclioptions" ) func NewDisruptionCommand(streams genericclioptions.IOStreams) *cobra.Command { cmd := &cobra.Command{ Use: "disruption", Long: "Collecting place for commands used to measure endpoint availability and latency.", SilenceErrors: true, } cmd.AddCommand( watch_endpointslice.NewWatchEndpointSlice(streams), poll_service.NewPollService(streams), ) return cmd }