providers

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2026 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClustersReady

func ClustersReady(ctx context.Context, c *envconf.Config, options ...wait.Option) error

ClustersReady returns true if all cluster objects are ready

func CreateMCP

func CreateMCP(name string, opts ...wait.Option) features.Func

CreateMCP creates an MCP object on the onboarding cluster and waits until it is ready

func DeleteCluster

func DeleteCluster(ctx context.Context, c *envconf.Config, ref types.NamespacedName, options ...wait.Option) error

DeleteCluster deletes the referenced cluster object by deleting every cluster request that belongs to this cluster

func DeleteClusterProvider

func DeleteClusterProvider(ctx context.Context, c *envconf.Config, name string, opts ...wait.Option) error

DeleteClusterProvider deletes the cluster provider object and waits until the object has been deleted

func DeleteMCP

func DeleteMCP(name string, opts ...wait.Option) features.Func

DeleteMCP deletes the MCP object on the onboarding cluster and waits until the object has been deleted

func DeleteServiceProvider

func DeleteServiceProvider(ctx context.Context, c *envconf.Config, name string, opts ...wait.Option) error

DeleteServiceProvider deletes the service provider object on the platform cluster and waits until the object has been deleted

func ImportDomainAPIs

func ImportDomainAPIs(mcpName string, directory string, opts ...wait.Option) features.Func

ImportDomainAPIs iterates over each resource from the passed in directory and applies it to a MCP cluster

func ImportServiceProviderAPIs

func ImportServiceProviderAPIs(directory string, opts ...wait.Option) features.Func

ImportServiceProviderAPIs iterates over each resource from the passed in directory and applies it to the onboarding cluster

func InstallClusterProvider

func InstallClusterProvider(ctx context.Context, c *envconf.Config, clusterProvider ClusterProviderSetup) error

InstallClusterProvider creates a cluster provider object on the platform cluster and waits until it is ready

func InstallServiceProvider

func InstallServiceProvider(ctx context.Context, c *envconf.Config, sp ServiceProviderSetup) error

InstallServiceProvider creates a service provider object on the platform cluster and waits until it is ready

Types

type ClusterProviderSetup

type ClusterProviderSetup struct {
	Name     string
	Image    string
	WaitOpts []wait.Option
	// LoadImageToCluster allows using local images that have to be loaded into the kind cluster
	LoadImageToCluster bool
}

ClusterProviderSetup represents the configuration parameters to set up a cluster provider

type ServiceProviderSetup

type ServiceProviderSetup struct {
	Name     string
	Image    string
	WaitOpts []wait.Option
	// LoadImageToCluster allows using local images that have to be loaded into the kind cluster
	LoadImageToCluster bool
}

ServiceProviderSetup represents the configuration parameters to set up a service provider

Jump to

Keyboard shortcuts

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