service

package
v0.0.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Annotations       map[string]string `db:"annotations"`
	CreationTimestamp time.Time         `db:"creation_ts"`
	Labels            map[string]string `db:"labels"`
	Name              string            `db:"name"`
	Namespace         string            `db:"namespace"`

	ClusterIPs               []string                               `db:"cluster_ips"`
	ClusterIP                string                                 `db:"cluster_ip"`
	ExternalIPs              []string                               `db:"external_ips"`
	ExternalTrafficPolicy    apicorev1.ServiceExternalTrafficPolicy `db:"external_traffic_policy"`
	HealthCheckNodePort      int32                                  `db:"health_check_node_port"`
	IPFamilies               []apicorev1.IPFamily
	IPFamilyPolicy           *apicorev1.IPFamilyPolicy
	InternalTrafficPolicy    *apicorev1.ServiceInternalTrafficPolicy
	LoadBalancerClass        *string  `db:"load_balancer_class"`
	LoadBalancerSourceRanges []string `db:"load_balancer_source_ranges"`
	Ports                    []apicorev1.ServicePort
	PublishNotReadyAddresses bool                      `db:"publish_not_ready_addresses"`
	Reason                   string                    `db:"reason"`
	Selector                 map[string]string         `db:"selector"`
	SessionAffinity          apicorev1.ServiceAffinity `db:"session_affinity"`
	Type                     apicorev1.ServiceType     `db:"type"`
}

type InfoList

type InfoList []*Info

func Fetch

func Fetch(ctx context.Context, clientset *kubernetes.Clientset) (InfoList, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL