Documentation ¶
Index ¶
- Constants
- func Decode(raw []byte) (runtime.Object, error)
- func DeploymentRolloutComplete(deployment *v1beta1.Deployment) bool
- func GetReplicaSetForDeployment(client kubernetes.Interface, deployment *v1beta1.Deployment) (*v1beta1.ReplicaSet, error)
- func IsOwner(parent, child v1meta.ObjectMeta) bool
- func PodWarnings(pod *v1.Pod) error
- func WatchDeployments(ctx context.Context, client kubernetes.Interface, selector fields.Selector) chan *v1beta1.Deployment
- func WatchPods(ctx context.Context, client kubernetes.Interface, selector fields.Selector) chan *v1.Pod
- type ErrCrash
- type ErrImagePull
- type UnknownObject
Constants ¶
View Source
const ( ErrImagePullReason = "ErrImagePull" ErrorReason = "Error" )
Variables ¶
This section is empty.
Functions ¶
func DeploymentRolloutComplete ¶
func DeploymentRolloutComplete(deployment *v1beta1.Deployment) bool
func GetReplicaSetForDeployment ¶
func GetReplicaSetForDeployment(client kubernetes.Interface, deployment *v1beta1.Deployment) (*v1beta1.ReplicaSet, error)
func IsOwner ¶
func IsOwner(parent, child v1meta.ObjectMeta) bool
func PodWarnings ¶
func WatchDeployments ¶
func WatchDeployments(ctx context.Context, client kubernetes.Interface, selector fields.Selector) chan *v1beta1.Deployment
Types ¶
type ErrImagePull ¶
type ErrImagePull struct{}
func (ErrImagePull) Error ¶
func (err ErrImagePull) Error() string
type UnknownObject ¶
type UnknownObject struct { meta.TypeMeta `json:",inline"` meta.ObjectMeta `json:"metadata"` Raw map[string]interface{} }
func (*UnknownObject) DeepCopyObject ¶
func (o *UnknownObject) DeepCopyObject() runtime.Object
func (*UnknownObject) FromJSON ¶
func (o *UnknownObject) FromJSON(raw []byte) error
func (*UnknownObject) FromYAML ¶
func (o *UnknownObject) FromYAML(raw []byte) error
func (*UnknownObject) GetObjectKind ¶
func (o *UnknownObject) GetObjectKind() schema.ObjectKind
func (*UnknownObject) MarshalJSON ¶
func (o *UnknownObject) MarshalJSON() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.