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 NewClusterRegisterService ¶
func NewClusterRegisterService(metaService *cluster_metadata_service.ClusterMetadataService, extension *configs.Extension) *ClusterRegisterService
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)
Click to show internal directories.
Click to hide internal directories.