Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NamespaceQuery ¶
type NamespaceQuery struct {
// contains filtered or unexported fields
}
func NewSameNamespaceQuery ¶
func NewSameNamespaceQuery(namespace string) *NamespaceQuery
func (*NamespaceQuery) Matches ¶
func (n *NamespaceQuery) Matches(namespace string) bool
func (*NamespaceQuery) ToRequestParam ¶
func (n *NamespaceQuery) ToRequestParam() string
type ObjectMeta ¶
type ObjectMeta struct { Name string `json:"name,omitempty"` Namespace string `json:"namespace,omitempty"` Labels map[string]string `json:"labels,omitempty"` Created unversioned.Time `json:"created,omitempty"` }
func NewObjectMeta ¶
func NewObjectMeta(k8SObjectMeta api.ObjectMeta) ObjectMeta
type PodListChannel ¶
func GetPodListChannelWithOptions ¶
func GetPodListChannelWithOptions(client k8s.IK8S, nsQuery *NamespaceQuery, options api.ListOptions, limit int) PodListChannel
type Spec ¶
type Spec struct { Replicas int32 `json:"replicas,omitempty"` Selector *unversioned.LabelSelector `json:"selector,omitempty"` Template api.PodTemplateSpec `json:"template"` Strategy extensions.DeploymentStrategy `json:"strategy,omitempty"` MinReadySeconds int32 `json:"minReadySeconds,omitempty"` RevisionHistoryLimit *int32 `json:"revisionHistoryLimit,omitempty"` Paused bool `json:"paused,omitempty"` RollbackTo *extensions.RollbackConfig `json:"rollbackTo,omitempty"` }
func NewSpec ¶
func NewSpec(k8sSpec extensions.DeploymentSpec) Spec
Click to show internal directories.
Click to hide internal directories.