hosts

package
v0.1.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2020 License: MPL-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

func NewService

func NewService(repoFn common.StaticRepoFactory) (Service, error)

NewService returns a host catalog Service which handles host catalog related requests to boundary and uses the provided repositories for storage and retrieval.

func (Service) CreateHost

CreateHost implements the interface pbs.HostServiceServer.

func (Service) DeleteHost

DeleteHost implements the interface pbs.HostServiceServer.

func (Service) GetHost

func (s Service) GetHost(ctx context.Context, req *pbs.GetHostRequest) (*pbs.GetHostResponse, error)

GetHost implements the interface pbs.HostServiceServer.

func (Service) ListHosts

func (Service) UpdateHost

UpdateHost implements the interface pbs.HostServiceServer.

Jump to

Keyboard shortcuts

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