Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PopulateNamespaceList ¶
func PopulateNamespaceList(kubeClient kubernetes.Interface, namespaceSelector config.NamespaceSelector) ([]string, error)
Types ¶
type ReplicaStatusGetter ¶ added in v0.3.0
type ReplicaStatusGetter struct {
// contains filtered or unexported fields
}
struct for the ReplicaStatusGetter object
func NewReplicaStatusGetter ¶ added in v0.3.0
func NewReplicaStatusGetter(kubeClient kubernetes.Interface) *ReplicaStatusGetter
Initializes a ReplicaStatusGetter
func (*ReplicaStatusGetter) GetAvailableReplicas ¶ added in v0.3.0
func (rsg *ReplicaStatusGetter) GetAvailableReplicas() int
Gets the current value of replicas
func (*ReplicaStatusGetter) GetEndpointStatuses ¶ added in v0.3.0
func (rsg *ReplicaStatusGetter) GetEndpointStatuses(ingress networkingV1.Ingress) *ReplicaStatusGetter
Gets replicaStatuses using the DiscoveryV1 api
func (*ReplicaStatusGetter) GetRatio ¶ added in v0.3.0
func (rsg *ReplicaStatusGetter) GetRatio() float64
Gets the current ratio of availableReplicas to replicas math.Round only works with float64
func (*ReplicaStatusGetter) GetReplicas ¶ added in v0.3.0
func (rsg *ReplicaStatusGetter) GetReplicas() int
Gets the current value of replicas
Click to show internal directories.
Click to hide internal directories.