Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewBuilder ¶
NewBuilder creates a kubeBuilder which is used by grpc resolver.
func RegisterInCluster ¶
func RegisterInCluster()
RegisterInCluster registers the kuberesolver builder to grpc with kubernetes schema
func RegisterInClusterWithSchema ¶
func RegisterInClusterWithSchema(schema string)
RegisterInClusterWithSchema registers the kuberesolver builder to the grpc with custom schema
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.