Skip to main content

MAX_CREDS_IDX

Constant MAX_CREDS_IDX 

Source
pub const MAX_CREDS_IDX: usize = 1;
Expand description

The highest per-repository credential-Secret index mover_creds_secret_refs can ever yield: the encryption-password Secret (idx 0) plus, only when it is differently named, the backend’s auth Secret (idx 1). Every consumer that derives per-index resource names (projected copies, server mirrors) bounds its reap walks with this.