apiserver

package
v0.35.1 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2025 License: Apache-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

View Source
const ControllerName = "APIServer"

Variables

This section is empty.

Functions

This section is empty.

Types

type APIServerProvider

type APIServerProvider struct {
	apiserverconfig.CompletedAPIServerProviderConfiguration

	// CrateClient is the registration cluster client.
	CrateClient client.Client
	// PlatformClient is the platform cluster client.
	PlatformClient client.Client

	// FakeHandler is a fake APIServerHandler for testing purposes.
	// It should only be non-nil in tests.
	FakeHandler apiserverhandler.APIServerHandler
}

APIServerProvider reconciles a ManagedControlPlane object

func NewAPIServerProvider

func NewAPIServerProvider(ctx context.Context, crateClient, platformClient client.Client, cfg *apiserverconfig.APIServerProviderConfiguration) (*APIServerProvider, error)

func (*APIServerProvider) Reconcile

func (r *APIServerProvider) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*APIServerProvider) SetupWithManager

func (r *APIServerProvider) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type AccessRequestMutator added in v0.33.0

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

func NewAccessRequestMutator added in v0.33.0

func NewAccessRequestMutator(name, namespace, refName, refNamespace string, isClusterRef bool, permissions []clustersv1alpha1.PermissionsRequest) *AccessRequestMutator

func (*AccessRequestMutator) Empty added in v0.33.0

Empty implements resources.Mutator.

func (*AccessRequestMutator) MetadataMutator added in v0.33.0

func (m *AccessRequestMutator) MetadataMutator() resources.MetadataMutator

MetadataMutator implements resources.Mutator.

func (*AccessRequestMutator) Mutate added in v0.33.0

Mutate implements resources.Mutator.

func (*AccessRequestMutator) String added in v0.33.0

func (m *AccessRequestMutator) String() string

String implements resources.Mutator.

type ClusterRequestMutator added in v0.33.0

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

func NewClusterRequestMutator added in v0.33.0

func NewClusterRequestMutator(name, namespace, purpose string) *ClusterRequestMutator

func (*ClusterRequestMutator) Empty added in v0.33.0

Empty implements resources.Mutator.

func (*ClusterRequestMutator) MetadataMutator added in v0.33.0

func (m *ClusterRequestMutator) MetadataMutator() resources.MetadataMutator

MetadataMutator implements resources.Mutator.

func (*ClusterRequestMutator) Mutate added in v0.33.0

Mutate implements resources.Mutator.

func (*ClusterRequestMutator) String added in v0.33.0

func (m *ClusterRequestMutator) String() string

String implements resources.Mutator.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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