Help us shape the future of Go! Take the 2026 Go Developer Survey

client

package
v0.19.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	Username string `yaml:"username,omitempty"`
	Password string `yaml:"password,omitempty"`
}

type Service

type Service struct {
	svc.ServiceType
	// contains filtered or unexported fields
}

func NewService

func NewService(name string, runtime client.Runtime) *Service

func (Service) AuthLogin

func (s Service) AuthLogin(_ context.Context) error

func (Service) AuthLogout

func (s Service) AuthLogout(context.Context) error

func (Service) AuthRequest

func (s Service) AuthRequest(req *http.Request) error

func (Service) Name

func (s Service) Name() string

type ServiceFactory

type ServiceFactory struct {
	svc.ServiceType
	// contains filtered or unexported fields
}

func NewServiceFactory

func NewServiceFactory(runtime client.Runtime) ServiceFactory

func (ServiceFactory) New

func (sf ServiceFactory) New(name string) service.Service

Jump to

Keyboard shortcuts

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