services

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(service string, username string, client network.RESTClient) (bool, error)

func GetSupportedServiceNames

func GetSupportedServiceNames() []string

func GetSupportedServiceNamesByTag

func GetSupportedServiceNamesByTag(tag string) []string

func GetSupportedServiceTags

func GetSupportedServiceTags() []string

Types

type MockServiceChecker

type MockServiceChecker struct {
	mock.Mock
	// contains filtered or unexported fields
}

func NewMockServiceChecker

func NewMockServiceChecker(name string, tags []string) *MockServiceChecker

func (*MockServiceChecker) Check added in v0.2.0

func (m *MockServiceChecker) Check(username string, client network.RESTClient) (bool, error)

func (*MockServiceChecker) Name added in v0.2.0

func (m *MockServiceChecker) Name() string

func (*MockServiceChecker) Tags added in v0.2.0

func (m *MockServiceChecker) Tags() []string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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