Documentation ¶
Index ¶
- func CreateCluster(Name string, LoadAssignment *api.ClusterLoadAssignment) *api.Cluster
- func CreateEndpoint(Address string, Port uint32, Protocol core.SocketAddress_Protocol) *endpoint.Endpoint
- func CreateLoadAssignment(ClusterName string, Endpoints []*endpoint.Endpoint) *api.ClusterLoadAssignment
- func GetAllNodeAddress(ctx context.Context, kubeconfig *string, addresstype corev1.NodeAddressType) []string
- type NodeportServiceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCluster ¶
func CreateCluster(Name string, LoadAssignment *api.ClusterLoadAssignment) *api.Cluster
func CreateEndpoint ¶
func CreateLoadAssignment ¶
func CreateLoadAssignment(ClusterName string, Endpoints []*endpoint.Endpoint) *api.ClusterLoadAssignment
func GetAllNodeAddress ¶
Types ¶
type NodeportServiceInfo ¶
func GetAllNodePortService ¶
func GetAllNodePortService(ctx context.Context, kubeconfig, namespace, servicename *string) []NodeportServiceInfo
Click to show internal directories.
Click to hide internal directories.