jira

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2022 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const PluginType = "jira"

PluginType is the type which must be used for the Jira plugin.

Variables

This section is empty.

Functions

func Mount

func Mount(instances []plugin.Instance, clustersClient clusters.Client) (chi.Router, error)

Mount mounts the Jira plugin routes in the plugins router of a kobs satellite instance.

Types

type AuthResponse

type AuthResponse struct {
	URL   string `json:"url"`
	Token string `json:"token"`
	Email string `json:"email"`
}

AuthResponse is the response data returned when the a user finished the auth process or when the user is authenticated in the auth call.

type Router

type Router struct {
	*chi.Mux
	// contains filtered or unexported fields
}

Router implements the router for the Jira plugin, which can be registered in the router for our rest api. It contains the api routes for the Jira plugin and it's configuration.

Jump to

Keyboard shortcuts

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