tui

package
v0.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssignedToAnyUsers

func AssignedToAnyUsers(i pagerduty.Incident, ids []string) bool

AssignedToAnyUsers returns true if the incident is assigned to any of the given users

func AssignedToUser

func AssignedToUser(i pagerduty.Incident, id string) bool

AssignedToUser returns true if the incident is assigned to the given user

func InitialModel

func InitialModel(

	d bool,
	token string,
	teams []string,
	user string,
	ignoredusers []string,
	editor []string,
	launcher ClusterLauncher,
) (tea.Model, tea.Cmd)

Types

type ClusterLauncher

type ClusterLauncher struct {
	Terminal            []string
	ClusterLoginCommand []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL