SYMBOL INDEX (143 symbols across 21 files) FILE: cmd/root.go function Execute (line 193) | func Execute() { function init (line 200) | func init() { function initConfig (line 221) | func initConfig() { function initLogger (line 262) | func initLogger() { function setupImagePullSecretsProvider (line 282) | func setupImagePullSecretsProvider() secrets.ImagePullSecretsProvider { FILE: main.go function main (line 26) | func main() { FILE: pkg/config/config.go constant DefaultImageCopyDeadline (line 34) | DefaultImageCopyDeadline = 8 * time.Second type Config (line 36) | type Config struct type JMESPathFilter (line 54) | type JMESPathFilter struct type Source (line 58) | type Source struct type Registry (line 63) | type Registry struct method Domain (line 118) | func (r Registry) Domain() string { type AWS (line 69) | type AWS struct method EcrDomain (line 106) | func (a *AWS) EcrDomain() string { type GCP (line 77) | type GCP struct method GarDomain (line 114) | func (g *GCP) GarDomain() string { type ECROptions (line 83) | type ECROptions struct type Tag (line 92) | type Tag struct type ImageScanningConfiguration (line 97) | type ImageScanningConfiguration struct type EncryptionConfiguration (line 101) | type EncryptionConfiguration struct function CheckRegistryConfiguration (line 131) | func CheckRegistryConfiguration(r Registry) error { function SetViperDefaults (line 168) | func SetViperDefaults(v *viper.Viper) { FILE: pkg/config/config_test.go function TestConfigParses (line 13) | func TestConfigParses(t *testing.T) { function TestEcrDomain (line 235) | func TestEcrDomain(t *testing.T) { FILE: pkg/registry/client.go type Client (line 16) | type Client interface type DockerConfig (line 32) | type DockerConfig struct type AuthConfig (line 36) | type AuthConfig struct function NewClient (line 41) | func NewClient(r config.Registry) (Client, error) { function GenerateDockerConfig (line 61) | func GenerateDockerConfig(c Client) ([]byte, error) { FILE: pkg/registry/ecr.go type ECRClient (line 27) | type ECRClient struct method Credentials (line 96) | func (e *ECRClient) Credentials() string { method CreateRepository (line 100) | func (e *ECRClient) CreateRepository(ctx context.Context, name string)... method buildEcrTags (line 174) | func (e *ECRClient) buildEcrTags() []*ecr.Tag { method RepositoryExists (line 185) | func (e *ECRClient) RepositoryExists() bool { method CopyImage (line 189) | func (e *ECRClient) CopyImage(ctx context.Context, srcRef ctypes.Image... method PullImage (line 235) | func (e *ECRClient) PullImage() error { method PutImage (line 239) | func (e *ECRClient) PutImage() error { method ImageExists (line 243) | func (e *ECRClient) ImageExists(ctx context.Context, imageRef ctypes.I... method Endpoint (line 271) | func (e *ECRClient) Endpoint() string { method IsOrigin (line 276) | func (e *ECRClient) IsOrigin(imageRef ctypes.ImageReference) bool { method requestAuthToken (line 282) | func (e *ECRClient) requestAuthToken() ([]byte, time.Time, error) { method scheduleTokenRenewal (line 300) | func (e *ECRClient) scheduleTokenRenewal() error { function NewECRClient (line 37) | func NewECRClient(clientConfig config.AWS) (*ECRClient, error) { function NewDummyECRClient (line 318) | func NewDummyECRClient(region string, targetAccount string, role string,... function NewMockECRClient (line 327) | func NewMockECRClient(ecrClient ecriface.ECRAPI, region string, ecrDomai... FILE: pkg/registry/ecr_test.go function TestDockerConfig (line 13) | func TestDockerConfig(t *testing.T) { function TestECRIsOrigin (line 26) | func TestECRIsOrigin(t *testing.T) { FILE: pkg/registry/gar.go type GARAPI (line 25) | type GARAPI interface type GARClient (line 27) | type GARClient struct method CreateRepository (line 63) | func (e *GARClient) CreateRepository(ctx context.Context, name string)... method RepositoryExists (line 67) | func (e *GARClient) RepositoryExists() bool { method CopyImage (line 71) | func (e *GARClient) CopyImage(ctx context.Context, srcRef ctypes.Image... method PullImage (line 125) | func (e *GARClient) PullImage() error { method PutImage (line 129) | func (e *GARClient) PutImage() error { method ImageExists (line 133) | func (e *GARClient) ImageExists(ctx context.Context, imageRef ctypes.I... method Endpoint (line 161) | func (e *GARClient) Endpoint() string { method IsOrigin (line 166) | func (e *GARClient) IsOrigin(imageRef ctypes.ImageReference) bool { method requestAuthToken (line 171) | func (e *GARClient) requestAuthToken() ([]byte, time.Time, error) { method scheduleTokenRenewal (line 188) | func (e *GARClient) scheduleTokenRenewal() error { method Credentials (line 205) | func (e *GARClient) Credentials() string { method DockerConfig (line 209) | func (e *GARClient) DockerConfig() ([]byte, error) { function NewGARClient (line 35) | func NewGARClient(clientConfig config.GCP) (*GARClient, error) { function NewMockGARClient (line 226) | func NewMockGARClient(garClient GARAPI, garDomain string) (*GARClient, e... FILE: pkg/registry/gar_test.go function TestGARIsOrigin (line 11) | func TestGARIsOrigin(t *testing.T) { FILE: pkg/secrets/dummy.go type DummyImagePullSecretsProvider (line 11) | type DummyImagePullSecretsProvider struct method SetAuthenticatedRegistries (line 19) | func (p *DummyImagePullSecretsProvider) SetAuthenticatedRegistries(reg... method GetImagePullSecrets (line 23) | func (p *DummyImagePullSecretsProvider) GetImagePullSecrets(ctx contex... function NewDummyImagePullSecretsProvider (line 15) | func NewDummyImagePullSecretsProvider() ImagePullSecretsProvider { FILE: pkg/secrets/dummy_test.go function TestDummyImagePullSecretsProvider_GetImagePullSecrets (line 12) | func TestDummyImagePullSecretsProvider_GetImagePullSecrets(t *testing.T) { function TestNewDummyImagePullSecretsProvider (line 57) | func TestNewDummyImagePullSecretsProvider(t *testing.T) { FILE: pkg/secrets/kubernetes.go type KubernetesImagePullSecretsProvider (line 18) | type KubernetesImagePullSecretsProvider struct method SetAuthenticatedRegistries (line 81) | func (p *KubernetesImagePullSecretsProvider) SetAuthenticatedRegistrie... method GetImagePullSecrets (line 86) | func (p *KubernetesImagePullSecretsProvider) GetImagePullSecrets(ctx c... type ImagePullSecretsResult (line 24) | type ImagePullSecretsResult struct method Add (line 52) | func (r *ImagePullSecretsResult) Add(name string, data []byte) { method AuthFile (line 58) | func (r *ImagePullSecretsResult) AuthFile() (*os.File, error) { function NewImagePullSecretsResult (line 30) | func NewImagePullSecretsResult() *ImagePullSecretsResult { function NewImagePullSecretsResultWithDefaults (line 38) | func NewImagePullSecretsResultWithDefaults(defaultImagePullSecrets []reg... function NewKubernetesImagePullSecretsProvider (line 74) | func NewKubernetesImagePullSecretsProvider(clientset kubernetes.Interfac... FILE: pkg/secrets/kubernetes_test.go function TestKubernetesCredentialProvider_GetImagePullSecrets (line 47) | func TestKubernetesCredentialProvider_GetImagePullSecrets(t *testing.T) { function TestImagePullSecretsResult_WithDefault (line 106) | func TestImagePullSecretsResult_WithDefault(t *testing.T) { function TestImagePullSecretsResult_Add (line 134) | func TestImagePullSecretsResult_Add(t *testing.T) { FILE: pkg/secrets/provider.go type ImagePullSecretsProvider (line 10) | type ImagePullSecretsProvider interface FILE: pkg/types/types.go type Registry (line 5) | type Registry method String (line 13) | func (p Registry) String() string { constant RegistryUnknown (line 8) | RegistryUnknown = iota constant RegistryAWS (line 9) | RegistryAWS constant RegistryGCP (line 10) | RegistryGCP function ParseRegistry (line 17) | func ParseRegistry(p string) (Registry, error) { type ImageSwapPolicy (line 27) | type ImageSwapPolicy method String (line 34) | func (p ImageSwapPolicy) String() string { constant ImageSwapPolicyAlways (line 30) | ImageSwapPolicyAlways = iota constant ImageSwapPolicyExists (line 31) | ImageSwapPolicyExists function ParseImageSwapPolicy (line 38) | func ParseImageSwapPolicy(p string) (ImageSwapPolicy, error) { type ImageCopyPolicy (line 48) | type ImageCopyPolicy method String (line 57) | func (p ImageCopyPolicy) String() string { constant ImageCopyPolicyDelayed (line 51) | ImageCopyPolicyDelayed = iota constant ImageCopyPolicyImmediate (line 52) | ImageCopyPolicyImmediate constant ImageCopyPolicyForce (line 53) | ImageCopyPolicyForce constant ImageCopyPolicyNone (line 54) | ImageCopyPolicyNone function ParseImageCopyPolicy (line 61) | func ParseImageCopyPolicy(p string) (ImageCopyPolicy, error) { FILE: pkg/types/types_test.go function TestParseImageSwapPolicy (line 5) | func TestParseImageSwapPolicy(t *testing.T) { function TestParseImageCopyPolicy (line 46) | func TestParseImageCopyPolicy(t *testing.T) { FILE: pkg/webhook/image_copier.go type ImageCopier (line 15) | type ImageCopier struct method withDeadline (line 35) | func (ic *ImageCopier) withDeadline() *ImageCopier { method start (line 43) | func (ic *ImageCopier) start() { method run (line 81) | func (ic *ImageCopier) run(taskFunc func() error) error { method taskCheckImage (line 89) | func (ic *ImageCopier) taskCheckImage() error { method taskCreateRepository (line 103) | func (ic *ImageCopier) taskCreateRepository() error { method taskCopyImage (line 109) | func (ic *ImageCopier) taskCopyImage() error { type Task (line 27) | type Task struct FILE: pkg/webhook/image_copier_test.go function TestImageCopier_withDeadline (line 17) | func TestImageCopier_withDeadline(t *testing.T) { function TestImageCopier_tasksTimeout (line 50) | func TestImageCopier_tasksTimeout(t *testing.T) { FILE: pkg/webhook/image_swapper.go type Option (line 27) | type Option function ImagePullSecretsProvider (line 30) | func ImagePullSecretsProvider(provider secrets.ImagePullSecretsProvider)... function Filters (line 37) | func Filters(filters []config.JMESPathFilter) Option { function ImageSwapPolicy (line 44) | func ImageSwapPolicy(policy types.ImageSwapPolicy) Option { function ImageCopyPolicy (line 51) | func ImageCopyPolicy(policy types.ImageCopyPolicy) Option { function ImageCopyDeadline (line 58) | func ImageCopyDeadline(deadline time.Duration) Option { function Copier (line 65) | func Copier(pool *pond.WorkerPool) Option { type ImageSwapper (line 72) | type ImageSwapper struct method Mutate (line 168) | func (p *ImageSwapper) Mutate(ctx context.Context, ar *kwhmodel.Admiss... method targetRef (line 306) | func (p *ImageSwapper) targetRef(srcRef ctypes.ImageReference) ctypes.... function NewImageSwapper (line 89) | func NewImageSwapper(registryClient registry.Client, imagePullSecretProv... function NewImageSwapperWithOpts (line 102) | func NewImageSwapperWithOpts(registryClient registry.Client, opts ...Opt... function NewImageSwapperWebhookWithOpts (line 123) | func NewImageSwapperWebhookWithOpts(registryClient registry.Client, opts... function NewImageSwapperWebhook (line 135) | func NewImageSwapperWebhook(registryClient registry.Client, imagePullSec... function imageNamesWithDigestOrTag (line 150) | func imageNamesWithDigestOrTag(imageName string) (string, error) { function filterMatch (line 266) | func filterMatch(ctx FilterContext, filters []config.JMESPathFilter) bool { type FilterContext (line 318) | type FilterContext struct function NewFilterContext (line 326) | func NewFilterContext(request kwhmodel.AdmissionReview, obj metav1.Objec... FILE: pkg/webhook/image_swapper_test.go function TestFilterMatch (line 163) | func TestFilterMatch(t *testing.T) { type mockECRClient (line 195) | type mockECRClient struct method CreateRepositoryWithContext (line 200) | func (m *mockECRClient) CreateRepositoryWithContext(ctx context.Contex... function TestHelperProcess (line 209) | func TestHelperProcess(t *testing.T) { function readAdmissionReviewFromFile (line 216) | func readAdmissionReviewFromFile(filename string) (*admissionv1.Admissio... function TestImageSwapper_Mutate (line 230) | func TestImageSwapper_Mutate(t *testing.T) { function TestImageSwapper_MutateWithImagePullSecrets (line 304) | func TestImageSwapper_MutateWithImagePullSecrets(t *testing.T) { function TestImageSwapper_GAR_Mutate (line 396) | func TestImageSwapper_GAR_Mutate(t *testing.T) { FILE: test/e2e_test.go function TestHelmDeployment (line 63) | func TestHelmDeployment(t *testing.T) { type sensitiveLogger (line 199) | type sensitiveLogger struct method Logf (line 211) | func (l *sensitiveLogger) Logf(t terratesttesting.TestingT, format str... function newSensitiveLogger (line 204) | func newSensitiveLogger(logger *logger.Logger, patterns []*regexp.Regexp...