Documentation ¶
Index ¶
- func NewExternalAddressInitializer(externalAddressProvider func() string) *externalAddressInitializer
- func NewKcpClusterClientInitializer(kcpClusterClient *kcpclientset.Cluster) *kcpClusterClientInitializer
- func NewKcpInformersInitializer(kcpInformers kcpinformers.SharedInformerFactory) *kcpInformersInitializer
- func NewKubeClusterClientInitializer(kubeClusterClient *kubernetes.Cluster) *kubeClusterClientInitializer
- func NewShardBaseURLInitializer(shardBaseURL string) *shardBaseURLInitializer
- type WantsExternalAddressProvider
- type WantsKcpClusterClient
- type WantsKcpInformers
- type WantsKubeClusterClient
- type WantsShardBaseURL
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewExternalAddressInitializer ¶ added in v0.6.0
func NewExternalAddressInitializer( externalAddressProvider func() string, ) *externalAddressInitializer
NewExternalAddressInitializer returns an admission plugin initializer that injects an external address provider into the admission plugin.
func NewKcpClusterClientInitializer ¶ added in v0.6.0
func NewKcpClusterClientInitializer( kcpClusterClient *kcpclientset.Cluster, ) *kcpClusterClientInitializer
NewKcpClusterClientInitializer returns an admission plugin initializer that injects a kcp cluster client into admission plugins.
func NewKcpInformersInitializer ¶
func NewKcpInformersInitializer( kcpInformers kcpinformers.SharedInformerFactory, ) *kcpInformersInitializer
NewKcpInformersInitializer returns an admission plugin initializer that injects kcp shared informer factories into admission plugins.
func NewKubeClusterClientInitializer ¶ added in v0.6.0
func NewKubeClusterClientInitializer( kubeClusterClient *kubernetes.Cluster, ) *kubeClusterClientInitializer
NewKubeClusterClientInitializer returns an admission plugin initializer that injects a kube cluster client into admission plugins.
func NewShardBaseURLInitializer ¶ added in v0.6.0
func NewShardBaseURLInitializer(shardBaseURL string) *shardBaseURLInitializer
NewShardBaseURLInitializer returns an admission plugin initializer that injects the default shard base URL provider into the admission plugin.
Types ¶
type WantsExternalAddressProvider ¶ added in v0.6.0
type WantsExternalAddressProvider interface {
SetExternalAddressProvider(externalAddressProvider func() string)
}
WantsExternalAddressProvider interface should be implemented by admission plugins that want to have an external address provider injected.
type WantsKcpClusterClient ¶ added in v0.6.0
type WantsKcpClusterClient interface {
SetKcpClusterClient(kubeClusterClient *kcpclientset.Cluster)
}
WantsKcpClusterClient interface should be implemented by admission plugins that want to have a kcp cluster client injected.
type WantsKcpInformers ¶
type WantsKcpInformers interface {
SetKcpInformers(informers kcpinformers.SharedInformerFactory)
}
WantsKcpInformers interface should be implemented by admission plugins that want to have a kcp informer factory injected.
type WantsKubeClusterClient ¶ added in v0.6.0
type WantsKubeClusterClient interface {
SetKubeClusterClient(kubeClusterClient *kubernetes.Cluster)
}
WantsKubeClusterClient interface should be implemented by admission plugins that want to have a kube cluster client injected.
type WantsShardBaseURL ¶ added in v0.6.0
type WantsShardBaseURL interface {
SetShardBaseURL(shardBaseURL string)
}
WantsShardBaseURL interface should be implemented by admission plugins that want to have the default shard base url injected.