adapter

package
v0.0.0-...-e7c744b Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClustersTableName  = "vsphere_pke_clusters"
	NodePoolsTableName = "vsphere_pke_node_pools"
)

Variables

This section is empty.

Functions

func Migrate

func Migrate(db *gorm.DB, logger logrus.FieldLogger) error

Migrate executes the table migrations for the provider.

func NewClusterStore

func NewClusterStore(db *gorm.DB) pke.ClusterStore

Types

type ProviderSpec

type ProviderSpec struct {
	Kubernetes       intPKE.Kubernetes
	ActiveWorkflowID string
	HTTPProxy        intPKE.HTTPProxy
	ResourcePoolName string
	FolderName       string
	DatastoreName    string
}

func (*ProviderSpec) Scan

func (m *ProviderSpec) Scan(v interface{}) error

func (ProviderSpec) Value

func (m ProviderSpec) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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