host_sets

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2021 License: MPL-2.0 Imports: 17 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.Read,
		action.Update,
		action.Delete,
		action.AddHosts,
		action.SetHosts,
		action.RemoveHosts,
	}

	// 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.UnimplementedHostSetServiceServer
	// contains filtered or unexported fields
}

func NewService

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

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

func (Service) AddHostSetHosts

AddHostSetHosts implements the interface pbs.HostSetServiceServer.

func (Service) CreateHostSet

CreateHostSet implements the interface pbs.HostSetServiceServer.

func (Service) DeleteHostSet

DeleteHostSet implements the interface pbs.HostSetServiceServer.

func (Service) GetHostSet

GetHostSet implements the interface pbs.HostSetServiceServer.

func (Service) ListHostSets

func (Service) RemoveHostSetHosts

RemoveHostSetHosts implements the interface pbs.HostSetServiceServer.

func (Service) SetHostSetHosts

SetHostSetHosts implements the interface pbs.HostSetServiceServer.

func (Service) UpdateHostSet

UpdateHostSet implements the interface pbs.HostSetServiceServer.

Jump to

Keyboard shortcuts

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