cluster_register_service

package
v0.0.0-...-881b546 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRegisterFactory

func RegisterRegisterFactory(vendor types.InfraVendor, factory *RegisterFactory) error

Types

type ClusterRegister

type ClusterRegister interface {
	RegisterCluster(ctx context.Context, meta *protos.AggregatedClusterMetadata) error
}

type ClusterRegisterService

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

func (*ClusterRegisterService) RegisterCluster

func (s *ClusterRegisterService) RegisterCluster(ctx context.Context, clusterName string, credResolver credentials.CredResolver) error

type NewClusterRegister

type NewClusterRegister func(credResolver credentials.CredResolver, extension *configs.Extension) (ClusterRegister, error)

type RegisterFactory

type RegisterFactory struct {
	FactoryFunc NewClusterRegister
}

func GetFactory

func GetFactory(vendor types.InfraVendor) (*RegisterFactory, bool)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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