Home
last modified time | relevance | path

Searched defs:Pod (Results 1 – 25 of 1411) sorted by relevance

12345678910>>...57

/dports/net/traefik/traefik-2.6.1/vendor/github.com/gambol99/go-marathon/
H A Dpod.go24 type Pod struct { struct
25 ID string `json:"id,omitempty"`
28 User string `json:"user,omitempty"`
61 func (p *Pod) Name(id string) *Pod {
67 func (p *Pod) SetUser(user string) *Pod {
73 func (p *Pod) EmptyLabels() *Pod {
91 func (p *Pod) EmptyEnvs() *Pod {
97 func (p *Pod) AddEnv(name, value string) *Pod {
124 func (p *Pod) EmptySecrets() *Pod {
147 func (p *Pod) AddVolume(vol *PodVolume) *Pod {
[all …]
/dports/net-mgmt/bosun/bosun-0.9.0-preview/vendor/github.com/prometheus/prometheus/discovery/kubernetes/
H A Dpod.go36 type Pod struct { struct
37 informer cache.SharedInformer
38 store cache.Store
39 logger log.Logger
40 queue *workqueue.Type
71 func (p *Pod) enqueue(obj interface{}) {
81 func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
166 func podLabels(pod *apiv1.Pod) model.LabelSet {
200 func (p *Pod) buildPod(pod *apiv1.Pod) *targetgroup.Group {
242 func podSource(pod *apiv1.Pod) string {
[all …]
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/prometheus/prometheus/discovery/kubernetes/
H A Dpod.go36 type Pod struct { struct
37 informer cache.SharedInformer
38 store cache.Store
39 logger log.Logger
40 queue *workqueue.Type
71 func (p *Pod) enqueue(obj interface{}) {
81 func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
169 func podLabels(pod *apiv1.Pod) model.LabelSet {
205 func (p *Pod) buildPod(pod *apiv1.Pod) *targetgroup.Group {
252 func podSource(pod *apiv1.Pod) string {
[all …]
/dports/net-mgmt/thanos/thanos-0.11.0/vendor/github.com/prometheus/prometheus/discovery/kubernetes/
H A Dpod.go36 type Pod struct { struct
37 informer cache.SharedInformer
38 store cache.Store
39 logger log.Logger
40 queue *workqueue.Type
71 func (p *Pod) enqueue(obj interface{}) {
81 func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
171 func podLabels(pod *apiv1.Pod) model.LabelSet {
207 func (p *Pod) buildPod(pod *apiv1.Pod) *targetgroup.Group {
254 func podSource(pod *apiv1.Pod) string {
[all …]
/dports/net-mgmt/prometheus1/prometheus-1.8.2/discovery/kubernetes/
H A Dpod.go33 type Pod struct { struct
34 informer cache.SharedInformer
35 store cache.Store
36 logger log.Logger
49 func (p *Pod) Run(ctx context.Context, ch chan<- []*config.TargetGroup) {
140 func podLabels(pod *apiv1.Pod) model.LabelSet {
162 func (p *Pod) buildPod(pod *apiv1.Pod) *config.TargetGroup {
204 func podSource(pod *apiv1.Pod) string {
208 func podReady(pod *apiv1.Pod) model.LabelValue {
/dports/net-mgmt/promscale/promscale-0.6.2/vendor/github.com/prometheus/prometheus/discovery/kubernetes/
H A Dpod.go42 type Pod struct { struct
43 informer cache.SharedInformer
44 store cache.Store
45 logger log.Logger
46 queue *workqueue.Type
77 func (p *Pod) enqueue(obj interface{}) {
87 func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
177 func podLabels(pod *apiv1.Pod) model.LabelSet {
213 func (p *Pod) buildPod(pod *apiv1.Pod) *targetgroup.Group {
260 func podSource(pod *apiv1.Pod) string {
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/prometheus/prometheus/discovery/kubernetes/
H A Dpod.go42 type Pod struct { struct
43 informer cache.SharedInformer
44 store cache.Store
45 logger log.Logger
46 queue *workqueue.Type
77 func (p *Pod) enqueue(obj interface{}) {
87 func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
177 func podLabels(pod *apiv1.Pod) model.LabelSet {
213 func (p *Pod) buildPod(pod *apiv1.Pod) *targetgroup.Group {
260 func podSource(pod *apiv1.Pod) string {
[all …]
/dports/net-mgmt/prometheus2/prometheus-2.30.3/discovery/kubernetes/
H A Dpod.go42 type Pod struct { struct
43 informer cache.SharedInformer
44 store cache.Store
45 logger log.Logger
46 queue *workqueue.Type
77 func (p *Pod) enqueue(obj interface{}) {
87 func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
177 func podLabels(pod *apiv1.Pod) model.LabelSet {
213 func (p *Pod) buildPod(pod *apiv1.Pod) *targetgroup.Group {
260 func podSource(pod *apiv1.Pod) string {
[all …]
/dports/www/grafana8/grafana-8.3.6/vendor/github.com/grafana/loki/vendor/github.com/prometheus/prometheus/discovery/kubernetes/
H A Dpod.go42 type Pod struct { struct
43 informer cache.SharedInformer
44 store cache.Store
45 logger log.Logger
46 queue *workqueue.Type
77 func (p *Pod) enqueue(obj interface{}) {
87 func (p *Pod) Run(ctx context.Context, ch chan<- []*targetgroup.Group) {
177 func podLabels(pod *apiv1.Pod) model.LabelSet {
213 func (p *Pod) buildPod(pod *apiv1.Pod) *targetgroup.Group {
260 func podSource(pod *apiv1.Pod) string {
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/controller/statefulset/
H A Dstateful_set_utils.go60 func getParentNameAndOrdinal(pod *v1.Pod) (string, int) {
75 func getParentName(pod *v1.Pod) string {
81 func getOrdinal(pod *v1.Pod) int {
184 func initIdentity(set *apps.StatefulSet, pod *v1.Pod) {
203 func isRunningAndReady(pod *v1.Pod) bool {
212 func isCreated(pod *v1.Pod) bool {
217 func isFailed(pod *v1.Pod) bool {
222 func isTerminating(pod *v1.Pod) bool {
227 func isHealthy(pod *v1.Pod) bool {
237 func setPodRevision(pod *v1.Pod, revision string) {
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/staging/src/k8s.io/pod-security-admission/test/
H A Dhelpers.go25 func tweak(in *corev1.Pod, f func(copy *corev1.Pod)) *corev1.Pod {
32 func ensureSecurityContext(p *corev1.Pod) *corev1.Pod {
51 func ensureSELinuxOptions(p *corev1.Pod) *corev1.Pod {
70 func ensureAnnotation(pod *corev1.Pod) *corev1.Pod {
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/preemption/
H A Dpreemption.go123 func getPodsToPreempt(pod *v1.Pod, pods []*v1.Pod, requirements admissionRequirementList) ([]*v1.Po…
155 func getPodsToPreemptByDistance(pods []*v1.Pod, requirements admissionRequirementList) ([]*v1.Pod, …
193 func (a admissionRequirementList) distance(pod *v1.Pod) float64 {
206 func (a admissionRequirementList) subtract(pods ...*v1.Pod) admissionRequirementList {
236 func sortPodsByQOS(preemptor *v1.Pod, pods []*v1.Pod) (bestEffort, burstable, guaranteed []*v1.Pod)…
255 func smallerResourceRequest(pod1 *v1.Pod, pod2 *v1.Pod) bool {
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/scheduler/internal/cache/
H A Dinterface.go71 AssumePod(pod *v1.Pod) error
74 FinishBinding(pod *v1.Pod) error
77 ForgetPod(pod *v1.Pod) error
81 AddPod(pod *v1.Pod) error
84 UpdatePod(oldPod, newPod *v1.Pod) error
87 RemovePod(pod *v1.Pod) error
91 GetPod(pod *v1.Pod) (*v1.Pod, error)
94 IsAssumedPod(pod *v1.Pod) (bool, error)
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/
H A Dkubelet_pods.go460 func (kl *Kubelet) GetPodCgroupParent(pod *v1.Pod) string {
858 func (kl *Kubelet) killPod(pod *v1.Pod, p kubecontainer.Pod, gracePeriodOverride *int64) error {
870 func (kl *Kubelet) makePodDataDirs(pod *v1.Pod) error {
886 func (kl *Kubelet) getPullSecretsForPod(pod *v1.Pod) []v1.Secret {
963 func (kl *Kubelet) podResourcesAreReclaimed(pod *v1.Pod) bool {
991 func (kl *Kubelet) removeOrphanedPodStatuses(pods []*v1.Pod, mirrorPods []*v1.Pod) {
1928 func (kl *Kubelet) enableHostUserNamespace(pod *v1.Pod) bool {
1937 func hasNonNamespacedCapability(pod *v1.Pod) bool {
1952 func hasHostVolume(pod *v1.Pod) bool {
1962 func hasHostNamespace(pod *v1.Pod) bool {
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/test/e2e/network/netpol/
H A Dmodel.go179 type Pod struct { struct
180 Namespace string
181 Name string
182 Containers []*Container
183 ServiceIP string
187 func (p *Pod) PodString() PodString {
200 func (p *Pod) labelSelectorKey() string {
204 func (p *Pod) labelSelectorValue() string {
217 func (p *Pod) KubePod() *v1.Pod {
247 func (p *Pod) ServiceName() string {
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/kubelet/container/
H A Dhelpers.go49 GetPodDNS(pod *v1.Pod) (dnsConfig *runtimeapi.DNSConfig, err error)
52 GetPodCgroupParent(pod *v1.Pod) string
54 GeneratePodHostNameAndDomain(pod *v1.Pod) (hostname string, hostDomain string, err error)
58 GetExtraSupplementalGroupsForPod(pod *v1.Pod) []int64
63 func ShouldContainerBeRestarted(container *v1.Container, pod *v1.Pod, podStatus *PodStatus) bool {
228 func IsHostNetworkPod(pod *v1.Pod) bool {
282 func FormatPod(pod *Pod) string {
289 func GetContainerSpec(pod *v1.Pod, containerName string) *v1.Container {
302 func HasPrivilegedContainer(pod *v1.Pod) bool {
315 func HasWindowsHostProcessContainer(pod *v1.Pod) bool {
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/test/utils/
H A Dconditions.go33 func PodRunningReady(p *v1.Pod) (bool, error) {
47 func PodRunningReadyOrSucceeded(p *v1.Pod) (bool, error) {
59 func FailedContainers(pod *v1.Pod) map[string]ContainerFailures {
89 func TerminatedContainers(pod *v1.Pod) map[string]string {
104 func PodNotReady(p *v1.Pod) (bool, error) {
/dports/games/abstreet/abstreet-0.2.9-49-g74aca40c0/cargo-crates/bytemuck-1.2.0/src/
H A Dlib.rs214 pub fn cast<A: Pod, B: Pod>(a: A) -> B { in cast()
235 pub fn cast_mut<A: Pod, B: Pod>(a: &mut A) -> &mut B { in cast_mut()
256 pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B { in cast_ref()
277 pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B] { in cast_slice()
290 pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B] { in cast_slice_mut()
299 pub fn pod_align_to<T: Pod, U: Pod>(vals: &[T]) -> (&[T], &[U], &[T]) { in pod_align_to()
305 pub fn pod_align_to_mut<T: Pod, U: Pod>( in pod_align_to_mut()
317 pub fn try_cast<A: Pod, B: Pod>(a: A) -> Result<B, PodCastError> { in try_cast()
338 pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError> { in try_cast_ref()
387 pub fn try_cast_slice<A: Pod, B: Pod>(a: &[A]) -> Result<&[B], PodCastError> { in try_cast_slice()
[all …]
/dports/devel/gitui/gitui-0.10.1/cargo-crates/bytemuck-1.2.0/src/
H A Dlib.rs214 pub fn cast<A: Pod, B: Pod>(a: A) -> B { in cast()
235 pub fn cast_mut<A: Pod, B: Pod>(a: &mut A) -> &mut B { in cast_mut()
256 pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B { in cast_ref()
277 pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B] { in cast_slice()
290 pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B] { in cast_slice_mut()
299 pub fn pod_align_to<T: Pod, U: Pod>(vals: &[T]) -> (&[T], &[U], &[T]) { in pod_align_to()
305 pub fn pod_align_to_mut<T: Pod, U: Pod>( in pod_align_to_mut()
317 pub fn try_cast<A: Pod, B: Pod>(a: A) -> Result<B, PodCastError> { in try_cast()
338 pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError> { in try_cast_ref()
387 pub fn try_cast_slice<A: Pod, B: Pod>(a: &[A]) -> Result<&[B], PodCastError> { in try_cast_slice()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/bytemuck/src/
H A Dlib.rs214 pub fn cast<A: Pod, B: Pod>(a: A) -> B { in cast()
235 pub fn cast_mut<A: Pod, B: Pod>(a: &mut A) -> &mut B { in cast_mut()
256 pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B { in cast_ref()
277 pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B] { in cast_slice()
290 pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B] { in cast_slice_mut()
299 pub fn pod_align_to<T: Pod, U: Pod>(vals: &[T]) -> (&[T], &[U], &[T]) { in pod_align_to()
305 pub fn pod_align_to_mut<T: Pod, U: Pod>( in pod_align_to_mut()
317 pub fn try_cast<A: Pod, B: Pod>(a: A) -> Result<B, PodCastError> { in try_cast()
338 pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError> { in try_cast_ref()
387 pub fn try_cast_slice<A: Pod, B: Pod>(a: &[A]) -> Result<&[B], PodCastError> { in try_cast_slice()
[all …]
/dports/sysutils/kubectl/kubernetes-1.22.2/pkg/scheduler/util/
H A Dutils.go38 func GetPodFullName(pod *v1.Pod) string {
46 func GetPodStartTime(pod *v1.Pod) *metav1.Time {
84 func MoreImportantPod(pod1, pod2 *v1.Pod) bool {
95 func PatchPodStatus(cs kubernetes.Interface, old *v1.Pod, newStatus *v1.PodStatus) error {
123 func DeletePod(cs kubernetes.Interface, pod *v1.Pod) error {
129 func ClearNominatedNodeName(cs kubernetes.Interface, pods ...*v1.Pod) utilerrors.Aggregate {
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/unittests/Utility/
H A DReproducerTest.cpp30 DummyProvider(const FileSpec &directory) : Provider(directory) {}
32 static char ID;
35 class YamlMultiProvider
36 : public MultiProvider<YamlRecorder, YamlMultiProvider> {
38 struct Info {
39 static const char *name;
40 static const char *file;
43 YamlMultiProvider(const FileSpec &directory) : MultiProvider(directory) {}
45 static char ID; in Pod()
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/bytemuck-1.7.2/src/
H A Dlib.rs256 pub fn cast<A: Pod, B: Pod>(a: A) -> B { in cast()
270 pub fn cast_mut<A: Pod, B: Pod>(a: &mut A) -> &mut B { in cast_mut()
291 pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B { in cast_ref()
312 pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B] { in cast_slice()
325 pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B] { in cast_slice_mut()
334 pub fn pod_align_to<T: Pod, U: Pod>(vals: &[T]) -> (&[T], &[U], &[T]) { in pod_align_to()
340 pub fn pod_align_to_mut<T: Pod, U: Pod>( in pod_align_to_mut()
357 pub fn try_cast<A: Pod, B: Pod>(a: A) -> Result<B, PodCastError> { in try_cast()
372 pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError> { in try_cast_ref()
420 pub fn try_cast_slice<A: Pod, B: Pod>(a: &[A]) -> Result<&[B], PodCastError> { in try_cast_slice()
[all …]
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/bytemuck-1.7.2/src/
H A Dlib.rs256 pub fn cast<A: Pod, B: Pod>(a: A) -> B { in cast()
270 pub fn cast_mut<A: Pod, B: Pod>(a: &mut A) -> &mut B { in cast_mut()
291 pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B { in cast_ref()
312 pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B] { in cast_slice()
325 pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B] { in cast_slice_mut()
334 pub fn pod_align_to<T: Pod, U: Pod>(vals: &[T]) -> (&[T], &[U], &[T]) { in pod_align_to()
340 pub fn pod_align_to_mut<T: Pod, U: Pod>( in pod_align_to_mut()
357 pub fn try_cast<A: Pod, B: Pod>(a: A) -> Result<B, PodCastError> { in try_cast()
372 pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError> { in try_cast_ref()
420 pub fn try_cast_slice<A: Pod, B: Pod>(a: &[A]) -> Result<&[B], PodCastError> { in try_cast_slice()
[all …]
/dports/misc/broot/broot-1.7.0/cargo-crates/bytemuck-1.7.2/src/
H A Dlib.rs256 pub fn cast<A: Pod, B: Pod>(a: A) -> B { in cast()
270 pub fn cast_mut<A: Pod, B: Pod>(a: &mut A) -> &mut B { in cast_mut()
291 pub fn cast_ref<A: Pod, B: Pod>(a: &A) -> &B { in cast_ref()
312 pub fn cast_slice<A: Pod, B: Pod>(a: &[A]) -> &[B] { in cast_slice()
325 pub fn cast_slice_mut<A: Pod, B: Pod>(a: &mut [A]) -> &mut [B] { in cast_slice_mut()
334 pub fn pod_align_to<T: Pod, U: Pod>(vals: &[T]) -> (&[T], &[U], &[T]) { in pod_align_to()
340 pub fn pod_align_to_mut<T: Pod, U: Pod>( in pod_align_to_mut()
357 pub fn try_cast<A: Pod, B: Pod>(a: A) -> Result<B, PodCastError> { in try_cast()
372 pub fn try_cast_ref<A: Pod, B: Pod>(a: &A) -> Result<&B, PodCastError> { in try_cast_ref()
420 pub fn try_cast_slice<A: Pod, B: Pod>(a: &[A]) -> Result<&[B], PodCastError> { in try_cast_slice()
[all …]

12345678910>>...57