service

package
v0.0.0-...-89e5b94 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 46 Imported by: 13

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckDomainExists

func CheckDomainExists(kusciaclient kusciaclientset.Interface, domainId string) (kusciaError weberrorcode.KusciaErrorCode, errorMsg string)

func GetRoleAndDomainFromCtx

func GetRoleAndDomainFromCtx(ctx context.Context) (role, domain string)

Types

type IHealthService

type IHealthService interface {
	HealthZ(ctx context.Context, request *kusciaapi.HealthRequest) *kusciaapi.HealthResponse
}

func NewHealthService

func NewHealthService() IHealthService

type RequestWithDomainID

type RequestWithDomainID interface {
	GetDomainId() string
}

type RequestWithDstAndSrc

type RequestWithDstAndSrc interface {
	GetDestination() string
	GetSource() string
}

Jump to

Keyboard shortcuts

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