v3

package
v0.3.13-rc.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterClusterGeneratingHandler

func RegisterClusterGeneratingHandler(ctx context.Context, controller ClusterController, apply apply.Apply,
	condition condition.Cond, name string, handler ClusterGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterClusterStatusHandler

func RegisterClusterStatusHandler(ctx context.Context, controller ClusterController, condition condition.Cond, name string, handler ClusterStatusHandler)

func RegisterFeatureGeneratingHandler added in v0.3.10

func RegisterFeatureGeneratingHandler(ctx context.Context, controller FeatureController, apply apply.Apply,
	condition condition.Cond, name string, handler FeatureGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterFeatureStatusHandler added in v0.3.10

func RegisterFeatureStatusHandler(ctx context.Context, controller FeatureController, condition condition.Cond, name string, handler FeatureStatusHandler)

func RegisterNodeGeneratingHandler added in v0.3.6

func RegisterNodeGeneratingHandler(ctx context.Context, controller NodeController, apply apply.Apply,
	condition condition.Cond, name string, handler NodeGeneratingHandler, opts *generic.GeneratingHandlerOptions)

func RegisterNodeStatusHandler added in v0.3.6

func RegisterNodeStatusHandler(ctx context.Context, controller NodeController, condition condition.Cond, name string, handler NodeStatusHandler)

Types

type ClusterCache

type ClusterCache interface {
	generic.NonNamespacedCacheInterface[*v3.Cluster]
}

ClusterCache interface for retrieving Cluster resources in memory.

type ClusterClient

type ClusterClient interface {
	generic.NonNamespacedClientInterface[*v3.Cluster, *v3.ClusterList]
}

ClusterClient interface for managing Cluster resources in Kubernetes.

type ClusterController

type ClusterController interface {
	generic.NonNamespacedControllerInterface[*v3.Cluster, *v3.ClusterList]
}

ClusterController interface for managing Cluster resources.

type ClusterGeneratingHandler

type ClusterGeneratingHandler func(obj *v3.Cluster, status v3.ClusterStatus) ([]runtime.Object, v3.ClusterStatus, error)

type ClusterRoleTemplateBindingCache added in v0.1.6

type ClusterRoleTemplateBindingCache interface {
	generic.CacheInterface[*v3.ClusterRoleTemplateBinding]
}

ClusterRoleTemplateBindingCache interface for retrieving ClusterRoleTemplateBinding resources in memory.

type ClusterRoleTemplateBindingClient added in v0.1.6

type ClusterRoleTemplateBindingClient interface {
	generic.ClientInterface[*v3.ClusterRoleTemplateBinding, *v3.ClusterRoleTemplateBindingList]
}

ClusterRoleTemplateBindingClient interface for managing ClusterRoleTemplateBinding resources in Kubernetes.

type ClusterRoleTemplateBindingController added in v0.1.6

type ClusterRoleTemplateBindingController interface {
	generic.ControllerInterface[*v3.ClusterRoleTemplateBinding, *v3.ClusterRoleTemplateBindingList]
}

ClusterRoleTemplateBindingController interface for managing ClusterRoleTemplateBinding resources.

type ClusterStatusHandler

type ClusterStatusHandler func(obj *v3.Cluster, status v3.ClusterStatus) (v3.ClusterStatus, error)

type FeatureCache added in v0.3.10

type FeatureCache interface {
	generic.NonNamespacedCacheInterface[*v3.Feature]
}

FeatureCache interface for retrieving Feature resources in memory.

type FeatureClient added in v0.3.10

type FeatureClient interface {
	generic.NonNamespacedClientInterface[*v3.Feature, *v3.FeatureList]
}

FeatureClient interface for managing Feature resources in Kubernetes.

type FeatureController added in v0.3.10

type FeatureController interface {
	generic.NonNamespacedControllerInterface[*v3.Feature, *v3.FeatureList]
}

FeatureController interface for managing Feature resources.

type FeatureGeneratingHandler added in v0.3.10

type FeatureGeneratingHandler func(obj *v3.Feature, status v3.FeatureStatus) ([]runtime.Object, v3.FeatureStatus, error)

type FeatureStatusHandler added in v0.3.10

type FeatureStatusHandler func(obj *v3.Feature, status v3.FeatureStatus) (v3.FeatureStatus, error)

type GlobalRoleCache

type GlobalRoleCache interface {
	generic.NonNamespacedCacheInterface[*v3.GlobalRole]
}

GlobalRoleCache interface for retrieving GlobalRole resources in memory.

type GlobalRoleClient

type GlobalRoleClient interface {
	generic.NonNamespacedClientInterface[*v3.GlobalRole, *v3.GlobalRoleList]
}

GlobalRoleClient interface for managing GlobalRole resources in Kubernetes.

type GlobalRoleController

type GlobalRoleController interface {
	generic.NonNamespacedControllerInterface[*v3.GlobalRole, *v3.GlobalRoleList]
}

GlobalRoleController interface for managing GlobalRole resources.

type Interface

type Interface interface {
	Cluster() ClusterController
	ClusterRoleTemplateBinding() ClusterRoleTemplateBindingController
	Feature() FeatureController
	GlobalRole() GlobalRoleController
	Node() NodeController
	PodSecurityAdmissionConfigurationTemplate() PodSecurityAdmissionConfigurationTemplateController
	ProjectRoleTemplateBinding() ProjectRoleTemplateBindingController
	RoleTemplate() RoleTemplateController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type NodeCache added in v0.3.6

type NodeCache interface {
	generic.CacheInterface[*v3.Node]
}

NodeCache interface for retrieving Node resources in memory.

type NodeClient added in v0.3.6

type NodeClient interface {
	generic.ClientInterface[*v3.Node, *v3.NodeList]
}

NodeClient interface for managing Node resources in Kubernetes.

type NodeController added in v0.3.6

type NodeController interface {
	generic.ControllerInterface[*v3.Node, *v3.NodeList]
}

NodeController interface for managing Node resources.

type NodeGeneratingHandler added in v0.3.6

type NodeGeneratingHandler func(obj *v3.Node, status v3.NodeStatus) ([]runtime.Object, v3.NodeStatus, error)

type NodeStatusHandler added in v0.3.6

type NodeStatusHandler func(obj *v3.Node, status v3.NodeStatus) (v3.NodeStatus, error)

type PodSecurityAdmissionConfigurationTemplateCache added in v0.3.2

type PodSecurityAdmissionConfigurationTemplateCache interface {
	generic.NonNamespacedCacheInterface[*v3.PodSecurityAdmissionConfigurationTemplate]
}

PodSecurityAdmissionConfigurationTemplateCache interface for retrieving PodSecurityAdmissionConfigurationTemplate resources in memory.

type PodSecurityAdmissionConfigurationTemplateClient added in v0.3.2

PodSecurityAdmissionConfigurationTemplateClient interface for managing PodSecurityAdmissionConfigurationTemplate resources in Kubernetes.

type PodSecurityAdmissionConfigurationTemplateController added in v0.3.2

PodSecurityAdmissionConfigurationTemplateController interface for managing PodSecurityAdmissionConfigurationTemplate resources.

type ProjectRoleTemplateBindingCache added in v0.1.6

type ProjectRoleTemplateBindingCache interface {
	generic.CacheInterface[*v3.ProjectRoleTemplateBinding]
}

ProjectRoleTemplateBindingCache interface for retrieving ProjectRoleTemplateBinding resources in memory.

type ProjectRoleTemplateBindingClient added in v0.1.6

type ProjectRoleTemplateBindingClient interface {
	generic.ClientInterface[*v3.ProjectRoleTemplateBinding, *v3.ProjectRoleTemplateBindingList]
}

ProjectRoleTemplateBindingClient interface for managing ProjectRoleTemplateBinding resources in Kubernetes.

type ProjectRoleTemplateBindingController added in v0.1.6

type ProjectRoleTemplateBindingController interface {
	generic.ControllerInterface[*v3.ProjectRoleTemplateBinding, *v3.ProjectRoleTemplateBindingList]
}

ProjectRoleTemplateBindingController interface for managing ProjectRoleTemplateBinding resources.

type RoleTemplateCache

type RoleTemplateCache interface {
	generic.NonNamespacedCacheInterface[*v3.RoleTemplate]
}

RoleTemplateCache interface for retrieving RoleTemplate resources in memory.

type RoleTemplateClient

type RoleTemplateClient interface {
	generic.NonNamespacedClientInterface[*v3.RoleTemplate, *v3.RoleTemplateList]
}

RoleTemplateClient interface for managing RoleTemplate resources in Kubernetes.

type RoleTemplateController

type RoleTemplateController interface {
	generic.NonNamespacedControllerInterface[*v3.RoleTemplate, *v3.RoleTemplateList]
}

RoleTemplateController interface for managing RoleTemplate resources.

Jump to

Keyboard shortcuts

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