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, }
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 { controller.Client kubernetes.Interface GetScheme() *runtime.Scheme GetConfig() *rest.Config GetCurrentNamespace(kubeConfig string) (string, error) }
Client is an abstraction for a k8s client
func FromManager ¶
FromManager creates a new k8s client from a manager object
func NewOutOfClusterClient ¶
NewOutOfClusterClient creates a new k8s client that can be used from outside the cluster
type Injectable ¶
type Injectable interface {
InjectClient(Client)
}
Injectable identifies objects that can receive a Client
Click to show internal directories.
Click to hide internal directories.