util

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2016 License: Apache-2.0 Imports: 4 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToAPICondition

func ConvertToAPICondition(condition types.Condition) api.NodeCondition

ConvertToAPICondition converts the internal node condition to api.NodeCondition.

func ConvertToAPIConditionStatus

func ConvertToAPIConditionStatus(status bool) api.ConditionStatus

ConvertToAPIConditionStatus converts the internal node condition status to api.ConditionStatus.

func ConvertToAPIEventType

func ConvertToAPIEventType(severity types.Severity) string

ConvertToAPIEventType converts the internal severity to event type.

func ConvertToAPITimestamp

func ConvertToAPITimestamp(timestamp time.Time) unversioned.Time

ConvertToAPITimestamp converts the timestamp to unversioned.Time

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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