// GetConfigurationSchema returns the schema for the plugin
GetConfigurationSchema returns the schema for the plugin
// GetConfigurationSchema returns the schema for the plugin
func (p *Provider) GetConfigurationSchema(ctx context.Context, _ *empty.Empty) (*dockerregistryproxyv1.GetConfigurationSchemaResponse, error) {
	return &dockerregistryproxyv1.GetConfigurationSchemaResponse{
		Attributes: map[string]*dockerregistryproxyv1.ConfigurationAttribute{
			flagUsername: {
				AttributeType: dockerregistryproxyv1.ConfigType_CONFIG_TYPE_STRING,
				Description:   "the static username",
			},
			flagPassword: {
				AttributeType: dockerregistryproxyv1.ConfigType_CONFIG_TYPE_STRING,
				Description:   "the static password",
			},
		},
	}, nil
}
func ( p * Provider ) GetConfigurationSchema ( ctx context . Context , _ * empty . Empty ) ( * dockerregistryproxyv1 . GetConfigurationSchemaResponse , error ) { return & dockerregistryproxyv1 . GetConfigurationSchemaResponse { Attributes : map [ string ] * dockerregistryproxyv1 . ConfigurationAttribute { flagUsername : { AttributeType : dockerregistryproxyv1 . ConfigType_CONFIG_TYPE_STRING , Description : " " , } , flagPassword : { AttributeType : dockerregistryproxyv1 . ConfigType_CONFIG_TYPE_STRING , Description : " " , } , } , } , nil }
GetConfigurationSchema returns the schema for the plugin
GetConfigurationSchema returns the schema for the plugin