Documentation
¶
Index ¶
- func RegisterClusterGeneratingHandler(ctx context.Context, controller ClusterController, apply apply.Apply, ...)
- func RegisterClusterStatusHandler(ctx context.Context, controller ClusterController, condition condition.Cond, ...)
- func RegisterNodeGeneratingHandler(ctx context.Context, controller NodeController, apply apply.Apply, ...)
- func RegisterNodeStatusHandler(ctx context.Context, controller NodeController, condition condition.Cond, ...)
- type ClusterCache
- type ClusterClient
- type ClusterController
- type ClusterGeneratingHandler
- type ClusterRoleTemplateBindingCache
- type ClusterRoleTemplateBindingClient
- type ClusterRoleTemplateBindingController
- type ClusterStatusHandler
- type GlobalRoleCache
- type GlobalRoleClient
- type GlobalRoleController
- type Interface
- type NodeCache
- type NodeClient
- type NodeController
- type NodeGeneratingHandler
- type NodeStatusHandler
- type PodSecurityAdmissionConfigurationTemplateCache
- type PodSecurityAdmissionConfigurationTemplateClient
- type PodSecurityAdmissionConfigurationTemplateController
- type ProjectRoleTemplateBindingCache
- type ProjectRoleTemplateBindingClient
- type ProjectRoleTemplateBindingController
- type RoleTemplateCache
- type RoleTemplateClient
- type RoleTemplateController
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 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 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
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
NodeClient interface for managing Node resources in Kubernetes.
type NodeController ¶ added in v0.3.6
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
type PodSecurityAdmissionConfigurationTemplateClient interface {
generic.NonNamespacedClientInterface[*v3.PodSecurityAdmissionConfigurationTemplate, *v3.PodSecurityAdmissionConfigurationTemplateList]
}
PodSecurityAdmissionConfigurationTemplateClient interface for managing PodSecurityAdmissionConfigurationTemplate resources in Kubernetes.
type PodSecurityAdmissionConfigurationTemplateController ¶ added in v0.3.2
type PodSecurityAdmissionConfigurationTemplateController interface {
generic.NonNamespacedControllerInterface[*v3.PodSecurityAdmissionConfigurationTemplate, *v3.PodSecurityAdmissionConfigurationTemplateList]
}
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.