Documentation ¶
Index ¶
- Constants
- func GetDaemonSetStatus(ds *appsv1.DaemonSet) (ready bool, err error)
- func GetDeploymentCondition(status *appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) (condition *appsv1.DeploymentCondition)
- func GetDeploymentStatus(deployment *appsv1.Deployment) (done bool, err error)
- func IsAPIServiceAvailable(apiservice *apiregistrationv1.APIService) (status corev1.ConditionStatus, message string)
- func IsDeploymentFailedCreate(status *appsv1.DeploymentStatus) bool
- type Applier
- type Interface
Constants ¶
View Source
const (
TimedOutReason = "ProgressDeadlineExceeded"
)
Variables ¶
This section is empty.
Functions ¶
func GetDeploymentCondition ¶
func GetDeploymentCondition(status *appsv1.DeploymentStatus, condType appsv1.DeploymentConditionType) (condition *appsv1.DeploymentCondition)
func GetDeploymentStatus ¶
func GetDeploymentStatus(deployment *appsv1.Deployment) (done bool, err error)
func IsAPIServiceAvailable ¶
func IsAPIServiceAvailable(apiservice *apiregistrationv1.APIService) (status corev1.ConditionStatus, message string)
func IsDeploymentFailedCreate ¶
func IsDeploymentFailedCreate(status *appsv1.DeploymentStatus) bool
Types ¶
type Applier ¶
Applier gives an opportunity to the caller to initialize a deployment artifact before it is created or updated.
type Interface ¶
type Interface interface { Name() string IsAvailable() (available bool, err error) Get() (object runtime.Object, accessor metav1.Object, err error) Ensure(parent, child Applier) (object runtime.Object, accessor metav1.Object, err error) }
func NewDaemonSetInstall ¶
func NewDaemonSetInstall(lister listersappsv1.DaemonSetLister, oc operatorruntime.OperandContext, asset *asset.Asset, deployment *ensurer.DaemonSetEnsurer) Interface
func NewDeploymentInstall ¶
func NewDeploymentInstall(lister listersappsv1.DeploymentLister, oc operatorruntime.OperandContext, asset *asset.Asset, ensurer *resourceensurer.DeploymentEnsurer) Interface
Click to show internal directories.
Click to hide internal directories.