Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuilder ¶
NewBuilder creates a kubeBuilder which is used to factory Kuberesolvers.
func RegisterInCluster ¶
func RegisterInCluster()
RegisterInCluster registers the kuberesolver builder to grpc
func RegisterInClusterWithSchema ¶ added in v2.1.0
func RegisterInClusterWithSchema(schema string)
Types ¶
type Address ¶
type Address struct { IP string `json:"ip"` TargetRef *ObjectReference `json:"targetRef,omitempty"` }
type K8sClient ¶
type K8sClient interface { Do(req *http.Request) (*http.Response, error) GetRequest(url string) (*http.Request, error) Host() string }
K8sClient is minimal kubernetes client interface
func NewInClusterK8sClient ¶
NewInClusterK8sClient creates K8sClient if it is inside Kubernetes
func NewInsecureK8sClient ¶
NewInsecureK8sClient creates an insecure k8s client which is suitable to connect kubernetes api behind proxy
type ObjectReference ¶
Click to show internal directories.
Click to hide internal directories.