kubernetes: github.com/igm/kubernetes/pkg/resources Index | Files

package resources

import "github.com/igm/kubernetes/pkg/resources"

package resources has constants and utilities for dealing with resources

Index

Package Files

doc.go resources.go

Constants

const (
    CPU    api.ResourceName = "cpu"
    Memory api.ResourceName = "memory"
)

func GetFloatResource Uses

func GetFloatResource(resources api.ResourceList, name api.ResourceName, def float64) float64

func GetIntegerResource Uses

func GetIntegerResource(resources api.ResourceList, name api.ResourceName, def int) int

func GetStringResource Uses

func GetStringResource(resources api.ResourceList, name api.ResourceName, def string) string

Package resources imports 4 packages (graph). Updated 2018-04-17. Refresh now. Tools for package owners.