service_metadata

package
v1.1.0-rc Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NetworkPorts = "networkports"
	MdsServices  = "mdsservices"
	Roles        = "permissions"
	Policies     = "mdspolicies"
	Types        = "types"
)
View Source
const (
	EndPoint = "servicemetadata"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkPortsQuery added in v0.0.5

type NetworkPortsQuery struct {
	Type string `schema:"serviceType,omitempty"`
}

type RolesQuery

type RolesQuery struct {
	Type string `schema:"serviceType,omitempty"`
	model.PageQuery
}

type Service

type Service struct {
	*core.Service
}

func NewService

func NewService(hostUrl *string, root *core.Root) *Service

func (*Service) GetNetworkPorts

func (s *Service) GetNetworkPorts(query *NetworkPortsQuery) ([]model.NetworkPorts, error)

func (*Service) GetPolicyTypes

func (s *Service) GetPolicyTypes() ([]string, error)

GetPolicyTypes - Returns the policy types

func (*Service) GetRoles

func (s *Service) GetRoles(query *RolesQuery) (model.Roles, error)

GetRoles - Return list of Roles for the users

func (*Service) GetServiceRoles

func (s *Service) GetServiceRoles(query *RolesQuery) (model.ServiceRoles, error)

GetServiceRoles - Return list of Roles for the service

Jump to

Keyboard shortcuts

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