Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FastMapperAllowedAPIGroups = map[string]bool{ "": true, "apiextensions.k8s.io": true, "apps": true, "batch": true, "camel.apache.org": true, "rbac.authorization.k8s.io": true, "console.openshift.io": true, "operators.coreos.com": true, "monitoring.coreos.com": true, }
FastMapperAllowedAPIGroups contains a set of API groups that are allowed when using the fastmapper. Those must correspond to all groups used by the "kamel" binary tool when running out-of-cluster.
Functions ¶
func GetCurrentNamespace ¶
GetCurrentNamespace --.
Types ¶
type Client ¶
type Client interface {
ctrl.Client
kubernetes.Interface
CamelV1() camelv1.CamelV1Interface
GetScheme() *runtime.Scheme
GetConfig() *rest.Config
GetCurrentNamespace(kubeConfig string) (string, error)
ServerOrClientSideApplier() ServerOrClientSideApplier
ScalesClient() (scale.ScalesGetter, error)
}
Client is an abstraction for a k8s client.
func FromManager ¶
FromManager creates a new k8s client from a manager object.
func NewClient ¶
NewClient creates a new k8s client that can be used from outside or in the cluster.
func NewClientWithConfig ¶
NewClientWithConfig creates a new k8s client that can be used from outside or in the cluster.
func NewOutOfClusterClient ¶
NewOutOfClusterClient creates a new k8s client that can be used from outside the cluster.
type Injectable ¶
type Injectable interface {
InjectClient(client Client)
}
Injectable identifies objects that can receive a Client.
Directories
¶
| Path | Synopsis |
|---|---|
|
camel
|
|
|
clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
clientset/versioned/typed/camel/v1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
clientset/versioned/typed/camel/v1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
keda
|
|
|
clientset/internalclientset/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
clientset/internalclientset/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
clientset/internalclientset/typed/keda/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
clientset/internalclientset/typed/keda/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
strimzi
|
|
|
clientset/internalclientset/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
clientset/internalclientset/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
clientset/internalclientset/typed/strimzi/v1beta2
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
clientset/internalclientset/typed/strimzi/v1beta2/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
Click to show internal directories.
Click to hide internal directories.