host_catalogs

package
v0.11.1 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2022 License: MPL-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// IdActions contains the set of actions that can be performed on
	// individual resources
	IdActions = action.ActionSet{
		action.NoOp,
		action.Read,
		action.Update,
		action.Delete,
	}

	// CollectionActions contains the set of actions that can be performed on
	// this collection
	CollectionActions = action.ActionSet{
		action.Create,
		action.List,
	}
)

Functions

This section is empty.

Types

type Service

type Service struct {
	pbs.UnsafeHostCatalogServiceServer
	// contains filtered or unexported fields
}

func NewService

func NewService(repoFn common.StaticRepoFactory, pluginHostRepoFn common.PluginHostRepoFactory, hostPluginRepoFn common.HostPluginRepoFactory, iamRepoFn common.IamRepoFactory) (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) CreateHostCatalog

CreateHostCatalog implements the interface pbs.HostCatalogServiceServer.

func (Service) DeleteHostCatalog

DeleteHostCatalog implements the interface pbs.HostCatalogServiceServer.

func (Service) GetHostCatalog

GetHostCatalog implements the interface pbs.HostCatalogServiceServer.

func (Service) ListHostCatalogs

func (Service) UpdateHostCatalog

UpdateHostCatalog implements the interface pbs.HostCatalogServiceServer.

Jump to

Keyboard shortcuts

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