router

package
v0.0.0-...-bdae3aa Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Overview

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

* Copyright FMR LLC <opensource@fidelity.com> * * SPDX-License-Identifier: Apache

Index

Constants

View Source
const (
	MissingAdGroup = "adgroups field missing or empty in request body"
	Added          = "Cluster/NS added to adgroups"
	REMOVED        = "Cluster/NS removed from adgroups"
)
View Source
const (
	MISS_PATHS_IN_BODY  = "paths field missing or empty in request body"
	SERVICE_UNAVAILABLE = "DB service Unavailable"
	ROLE_UPDATED        = "Role update success"
)
View Source
const Registered = "Registered"

Variables

This section is empty.

Functions

func AdGroup

func AdGroup(r chi.Router)

func Cluster

func Cluster(r chi.Router)

func ConfigInfo

func ConfigInfo(r chi.Router)

func Detector

func Detector(r chi.Router)

func HealthCheck

func HealthCheck(r chi.Router)

func NewRouter

func NewRouter() *chi.Mux

func Rbac

func Rbac(r chi.Router)

Add POST /{roleName}/addpath operation PathParameter {roleName} should be a valid role name.

func Register

func Register(r chi.Router)

func Route

func Route(r chi.Router)

Router for /thliev-api/v1

func SubmitFeedback

func SubmitFeedback(r chi.Router)

func Userinfo

func Userinfo(r chi.Router)

Types

type AdGroups

type AdGroups struct {
	AdGroups []string `json:"adgroups"`
}

type ConfigData

type ConfigData struct {
	EmailAddr       string `json:"emailAddr,omitempty"`
	DevelopedByTeam string `json:"developedByTeam,omitempty"`
	VideoLink       string `json:"videoLink,omitempty"`
}

type FeebackData

type FeebackData struct {
	User    *rbac.User `json:"user,omitempty"`
	Time    time.Time  `json:"time"`
	Message string     `json:"message"`
}

type Feedback

type Feedback struct {
	Message string `json:"message"`
}

type HealthStatus

type HealthStatus struct {
	Status string
	Since  string
}

type Paths

type Paths struct {
	Paths []string `json:"paths"`
}

Jump to

Keyboard shortcuts

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