adminService

package
v2.23.0 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdminServiceClient

type AdminServiceClient interface {
	GetAllowList() ([]ResourceProviderListItem, error)
	GetTestList() ([]ResourceProviderListItem, error)
}

func NewAdminServiceClient

func NewAdminServiceClient(adminServiceOptions AdminServiceClientOptions) (AdminServiceClient, error)

type AdminServiceClientOptions

type AdminServiceClientOptions struct {
	BaseURL            string
	ApiKey             string
	EnableAdminService bool
}

type ResourceProviderListItem

type ResourceProviderListItem struct {
	ID               int    `json:"ID"`
	ResourceProvider string `json:"resource_provider"`
}

Jump to

Keyboard shortcuts

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