plugin

package
v0.0.0-...-27f67fd Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConstListInstancesFilter = "filter"
	ConstInstanceGroup       = "instance_group"
)
View Source
const (
	NumberMaxResults = uint32(100)
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CatalogAttributes

type CatalogAttributes struct {
	*cred.CredentialAttributes
}

type GoogleClient

type GoogleClient struct {
	InstancesClient     *compute.InstancesClient
	InstanceGroupClient *compute.InstanceGroupsClient
	Context             context.Context
	Project             string
	Zone                string
}

type GooglePlugin

type GooglePlugin struct {
	pb.UnimplementedHostPluginServiceServer
}

func (*GooglePlugin) ListHosts

func (*GooglePlugin) OnCreateCatalog

func (*GooglePlugin) OnCreateSet

func (*GooglePlugin) OnDeleteCatalog

func (*GooglePlugin) OnDeleteSet

OnDeleteSet is called when a dynamic host set is deleted.

func (*GooglePlugin) OnUpdateCatalog

func (*GooglePlugin) OnUpdateSet

type SetAttributes

type SetAttributes struct {
	Filter        string `mapstructure:"filter"`
	InstanceGroup string `mapstructure:"instance_group"`
}

Jump to

Keyboard shortcuts

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