Documentation ¶
Index ¶
- func FromObject(obj client.Object) ([]metav1.Condition, error)
- func FromPod(ctx context.Context, client client.Client, nn types.NamespacedName) ([]metav1.Condition, error)
- func FromResource(ctx context.Context, client client.Client, typeMeta metav1.TypeMeta, ...) ([]metav1.Condition, error)
- func New[K ~string, V ~string, Status statusTT](cType K, status Status, reason V, msg ...string) metav1.Condition
- func ParseFromResource(resource any, cTypePrefix string) ([]metav1.Condition, error)
- func Patch(dest []metav1.Condition, source []metav1.Condition) ([]metav1.Condition, bool, error)
- type Reason
- type StatusConditions
- type Type
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromResource ¶
func ParseFromResource ¶
Types ¶
type StatusConditions ¶
type Type ¶
type Type string
const ( HelmResourceExists Type = "HelmResourceExists" DeploymentExists Type = "DeploymentExists" ServiceExists Type = "ServiceExists" StsExists Type = "StsExists" GeneratedVars Type = "GeneratedVars" ReconcilerOutputExists Type = "ReconcilerOutputExists" ManagedSvcExists Type = "ManagedSvcExists" ManagedSvcOutputExists Type = "ManagedSvcOutputExists" HelmResourceReady Type = "HelmResourceReady" DeploymentReady Type = "DeploymentReady" StsReady Type = "StsReady" OutputReady Type = "OutputReady" ManagedSvcReady Type = "ManagedSvcReady" )
Click to show internal directories.
Click to hide internal directories.